body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #fdfdfd;
  
  /* deep purple-to-black base + purple & teal glow */
  background-image:
    /* soft purple glow top-left */
    radial-gradient(
      circle at 15% 15%,
      rgba(155, 89, 182, 0.4),
      transparent 60%
    ),
    /* subtle teal glow bottom-right */
    radial-gradient(
      circle at 85% 85%,
      rgba(64, 224, 208, 0.2),
      transparent 60%
    ),
    /* dark core gradient */
    linear-gradient(
      135deg,
      #1f0228 0%,
      #000000 100%
    );
  
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== FORM CONTAINER FIXES ===== */
.login-container, 
.register-container {
  /* Preserve all your existing styles */
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6), 0px 0px 5px rgba(255, 255, 255, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
  
  /* New positioning fixes */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .login-container,
  .register-container {
    width: 90%;
    padding: 1.5rem;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 2rem auto;
  }
}

.login-container h1, .register-container h1 {
    font-size: 1.5rem;
    color: #9b59b6; /* Purple color */
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.login-container .form-control, .register-container .form-control {
    background: #1e1e1e;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
}

.login-container .form-control::placeholder, 
.register-container .form-control::placeholder {
    color: #fff; /* Placeholder text color set to white */
    opacity: 0.7; /* Slightly faded for better contrast */
}

.login-container .form-control:focus, .register-container .form-control:focus {
    box-shadow: none;
    border-color: #9b59b6; /* Purple border */
}

.login-container button, .register-container button {
    background: #9b59b6; /* Purple color */
    border: none;
    color: #fff; /* Changed color to white for better contrast */
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%; /* Center and stretch button to the container width */
    margin: 0 auto; /* Center the button */
}

.login-container button:hover, .register-container button:hover {
    background: #8e44ad; /* Slightly darker purple for hover */
}

.login-container a, .register-container a {
    color: #9b59b6; /* Purple color */
    font-size: 0.9rem;
    text-decoration: none;
}

.login-container a:hover, .register-container a:hover {
    text-decoration: underline;
}

.login-container .checkbox, .register-container .checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: start;
}

/* Spinner Animation */
.spinner {
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid #9b59b6; /* Purple color */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: none; /* Hidden by default */
}

button.loading .spinner {
    display: inline-block; /* Show spinner when button is loading */
}

button.loading span {
    display: none; /* Hide button text when loading */
}

/* Spinner Keyframes */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.topmenu {
  position: sticky;
  top: 0;

  /* leave 2rem of space on all sides */
  margin: 2rem auto;
  /* fill the viewport minus those 2rem gutters */
  width: calc(100% - 4rem);

  z-index: 10000;

  /* your two radial gradients + glass overlay */
  background-image:
    radial-gradient(circle at top left,    #9b59b6, #241b2f, transparent),
    radial-gradient(circle at bottom right, #9b59b6, #241b2f, transparent),
    rgba(255, 255, 255, 0.05);
  background-blend-mode: overlay;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* soft purple outline */
  border: 1px solid rgba(155, 89, 182, 0.6);

  /* nice rounded corners */
  border-radius: 0.75rem;

  background-attachment: fixed;
}

.topmenu::after {
  content: "";
  display: table;
  clear: both;
}

.footermenu {
  position: fixed;

  /* 2rem gutters on left, right, and bottom */
  left: 2rem;
  right: 2rem;
  bottom: 2rem;

  z-index: 10000;

  /* your two radial gradients + glass overlay */
  background-image:
    radial-gradient(circle at top left,    #9b59b6, #241b2f, transparent),
    radial-gradient(circle at bottom right, #9b59b6, #241b2f, transparent),
    rgba(255, 255, 255, 0.05);
  background-blend-mode: overlay;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* soft purple outline & rounding */
  border: 1px solid rgba(155, 89, 182, 0.6);
  border-radius: 0.75rem;

  /* internal padding */
  padding: 1rem 2rem;
}

.campaignmenu {
  position: fixed;

  /* 2rem gutters on left, right, and bottom */
  left: 2rem;
  right: 2rem;
  bottom: 2rem;

  z-index: 10000;

  /* your two radial gradients + glass overlay */
  background-image:
    radial-gradient(circle at top left,    #9b59b6, #241b2f, transparent),
    radial-gradient(circle at bottom right, #9b59b6, #241b2f, transparent),
    rgba(255, 255, 255, 0.05);
  background-blend-mode: overlay;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* soft purple outline & rounding */
  border: 1px solid rgba(155, 89, 182, 0.6);
  border-radius: 0.75rem;

  /* internal padding */
  padding: 1rem 2rem;
}

@media (max-width: 1049px) {
  .mainmenu {
    display: none !important;
  }
}

@media (min-width: 1049px) {
  .mobile-mainmenu {
    display: none !important;
  }
}

/* Shared Navigation Button Styles */
.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none; /* For the <a> tag */
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu Start */

#dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

/* User Avatar in Dropdown Button */
#dropdown .nav-button img {
    border-radius: 50%;
    height: 25px;
    width: 25px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Dropdown Menu */
#dropdownMenu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    display: none;
    min-width: 220px;
    padding: 8px 0;
    margin-top: 5px;
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    list-style: none;
}

/* User ID Display */
#chatuser {
    display: block;
    padding: 8px 16px;
    color: #aaa;
    font-size: 13px;
    cursor: default;
    border-bottom: 1px solid #444;
    pointer-events: none;
}

/* Menu Items */
#dropdownMenu li a {
    display: block;
    padding: 10px 16px;
    color: #eee;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

/* Menu Item Hover Effects */
#dropdownMenu li a:not(#chatuser):hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 20px;
}

/* Logout Button Special Styling */
.logoutbutton {
    color: #ff6b6b !important;
}

.logoutbutton:hover {
    background-color: rgba(255, 107, 107, 0.1) !important;
}

/* Show dropdown when active */
#dropdown.show #dropdownMenu {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

/* Dropdown Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dropdown Menu End */

/* Dropdown Download Menu Start */

.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.dropdownMenu {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    display: none;
    min-width: 220px;
    padding: 8px 0;
    margin-top: 5px;
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    list-style: none;
}

/* Menu Items */
.dropdownMenu li a {
    display: block;
    padding: 10px 16px;
    color: #eee;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

/* Menu Item Hover Effects */
.dropdownMenu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 20px;
}

/* Show dropdown when active */
.dropdown.show .dropdownMenu {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

/* Dropdown Download Menu End */

@media (min-width: 1200px) {
  .block-responsive {
    width: 75%;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 1200px) {
  .block-responsive {
    width: 75%;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 767px) {
  .block-responsive {
    width: 75% !important;
    background-size: cover !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 480px) {
  .block-responsive {
    width: 95% !important;
    background-size: cover !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 767px) {
  .row-responsive {
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (min-width: 768px) {
  .column-responsive {
    display: table-cell;
  }
}

@media (max-width: 768px) {
  .column-responsive {
    display: block;
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .cell-responsive {
    width: 100% !important;
  }
}

#dashcontent {
    background-image: linear-gradient(rgba(39, 47, 69, 0.95), rgba(25, 31, 45, 0.80));
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.font-Poppins-Black {
  font-family: 'Poppins';
  font-weight: 800;
}

.font-Poppins-Bold {
  font-family: 'Poppins';
  font-weight: 700;
  -webkit-font-weight: 800;
}

.font-Poppins-Regular {
  font-family: 'Poppins';
  font-weight: 400;
}

.font-Montserrat-Black {
  font-family: 'Poppins';
  font-weight: 800;
}

.font-Montserrat-Bold {
  font-family: 'Montserrat';
  font-weight: 700;
  -webkit-font-weight: 800;
}

.font-Montserrat-Regular {
  font-family: 'Montserrat';
  font-weight: 400;
}

.font-Roboto-Bold {
  font-family: 'Roboto';
  font-weight: 700;
  -webkit-font-weight: 800;
}

.font-Roboto-Regular {
  font-family: 'Roboto';
  font-weight: 400;
}

.font-Oswald-Bold {
  font-family: 'Oswald';
  font-weight: 700;
  -webkit-font-weight: 800;
}

.font-Oswald-Regular {
  font-family: 'Oswald';
  font-weight: 400;
}

.font-OpenSans-Bold {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  -webkit-font-weight: 800;
}

.font-OpenSans-Regular {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.font-FjallaOne-Bold {
  font-family: 'Fjalla One', sans-serif;
  font-weight: 700;
  -webkit-font-weight: 800;
}

.font-FjallaOne-Regular {
  font-family: 'Fjalla One', sans-serif;
  font-weight: 400;
}

.font-BubbleGumSans-Bold {
  font-family: 'BubbleGum Sans', sans-serif;
  font-weight: 700;
  -webkit-font-weight: 800;
}

.font-BubbleGumSans-Regular {
  font-family: 'BubbleGum Sans', sans-serif;
  font-weight: 400;
}

/* BASE FONT SYSTEM */
:root {
  --font-base: 16px; /* Base size for rem calculations */
}

/* FONT SIZE CLASSES (4px to 100px in 4px increments) */
.fontsize-4 { font-size: 0.25rem; }  /* 4px */
.fontsize-8 { font-size: 0.5rem; }   /* 8px */
.fontsize-12 { font-size: 0.75rem; } /* 12px */
.fontsize-16 { font-size: 1rem; }    /* 16px */
.fontsize-20 { font-size: 1.25rem; } /* 20px */
.fontsize-24 { font-size: 1.5rem; }  /* 24px */
.fontsize-28 { font-size: 1.75rem; } /* 28px */
.fontsize-32 { font-size: 2rem; }    /* 32px */
.fontsize-36 { font-size: 2.25rem; } /* 36px */
.fontsize-40 { font-size: 2.5rem; }  /* 40px */
.fontsize-44 { font-size: 2.75rem; } /* 44px */
.fontsize-48 { font-size: 3rem; }    /* 48px */
.fontsize-52 { font-size: 3.25rem; } /* 52px */
.fontsize-56 { font-size: 3.5rem; } /* 56px */
.fontsize-60 { font-size: 3.75rem; } /* 60px */
.fontsize-64 { font-size: 4rem; }    /* 64px */
.fontsize-68 { font-size: 4.25rem; } /* 68px */
.fontsize-72 { font-size: 4.5rem; }  /* 72px */
.fontsize-76 { font-size: 4.75rem; } /* 76px */
.fontsize-80 { font-size: 5rem; }    /* 80px */
.fontsize-84 { font-size: 5.25rem; } /* 84px */
.fontsize-88 { font-size: 5.5rem; }  /* 88px */
.fontsize-92 { font-size: 5.75rem; } /* 92px */
.fontsize-96 { font-size: 6rem; }    /* 96px */
.fontsize-100 { font-size: 6.25rem; } /* 100px */

/* FLUID TYPOGRAPHY FOR LARGE SCREENS */
@media (min-width: 1200px) {
  :root {
    --fluid-ratio: 0.5vw;
  }
  
  .fontsize-20 { font-size: calc(1.25rem + var(--fluid-ratio)); }
  .fontsize-24 { font-size: calc(1.5rem + var(--fluid-ratio)); }
  /* Add fluid scaling to other sizes as needed */
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 767px) {
  :root {
    --font-base: 14px; /* Smaller base size for mobile */
  }
  
  /* Optional: Override specific sizes for mobile */
  .fontsize-80 { font-size: 4rem; }
  .fontsize-100 { font-size: 5rem; }
}

/* LINE HEIGHT SYSTEM (improved) */
.lineheight-tight { line-height: 1.2; }
.lineheight-normal { line-height: 1.5; }
.lineheight-loose { line-height: 1.8; }
.lineheight-1 { line-height: 1; }
.lineheight-11 { line-height: 1.1; }
.lineheight-12 { line-height: 1.2; }
/* Continue with other specific values as needed */

.title {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.buttoncss {
  display: table;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
}

.buttoncss:hover {
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 767px) {
  .button-responsive {
    width: 100% !important;
  }
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  color: inherit; /* Inherits parent color */
}

.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Hero section styles */
.hero-wrapper {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image:
    radial-gradient(circle at top left,    #9b59b6, #241b2f, transparent),
    radial-gradient(circle at bottom right, #9b59b6, #241b2f, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
    text-align: left;
  }
  .hero-text {
    text-align: center;
    align-items: center;
  }
}

.hero-text {
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center subtitle & buttons */
  text-align: center;  /* Ensure text centered */
}

.hero-text .title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-text .subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center; /* Center buttons */
}

.hero-btn {
  font-family: 'Poppins', sans-serif;
  background-color: #9b59b6;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #8a48b8;
}

.hero-video {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
/* Steps section */
.steps-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

/* Section title */
.steps-title {
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

/* The little icon inside the title */
.steps-title .icon {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: #9b59b6;
}

/* Grid of cards: 1col mobile, 3col md+ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* The card itself */
.step-card {
  /* glassy blur + your two-tone gradients */
  background-color: rgba(255, 255, 255, 0.1);
  background-image:
    radial-gradient(circle at top left,    rgba(155, 89, 182, 0.3), rgba(36, 27, 47, 0.3)),
    radial-gradient(circle at bottom right, rgba(155, 89, 182, 0.3), rgba(36, 27, 47, 0.3));
  background-blend-mode: overlay;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  color: #fff;
}

/* Card header row (icon + check) */
.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Icon + title grouping */
.step-info {
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

.step-icon {
  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: #fff;
}

.step-title {
  margin-left: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

/* Description text */
.step-desc {
  margin-top: 1rem;
  color: #ccc;
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

/* The main button */
.step-btn {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background-color: #9b59b6;
  color: #fff;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s ease;
}

.step-btn:hover {
  background-color: #8a48b8;
}

/* Icon inside that button (if you’re using the outlined set) */
.step-btn .material-icons-outlined {
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* The green checkmark */
.step-complete {
  font-size: 1.5rem;
  color: #2ecc71;
}

/* Modal Start */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(6px);
}

/* Modal Container */
.modal-dialog {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
}

/* Modal Content - Rounded and Clean */
.modal-content {
    border-radius: 20px; /* Increased rounded corners */
    border: none; /* No border */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background: #2d2d2d;
    color: #ffffff;
}

/* Modal Header - No border and rounded top */
.modal-header {
    border-bottom: none !important; /* Remove bottom line */
    padding: 20px 24px 5px 24px; /* Adjusted padding */
    display: flex;
    justify-content: flex-end;
    background-color: #2d2d2d;
    border-top-left-radius: 20px; /* Match modal-content */
    border-top-right-radius: 20px;
}

/* Close Button */
.modal-header .close {
    font-size: 28px;
    font-weight: 300;
    color: #aaaaaa;
    opacity: 1;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.modal-header .close:hover {
    color: #ffffff;
}

/* Modal Body */
.modal-body {
    padding: 15px 24px 24px 24px; /* Adjusted padding */
    max-height: 70vh;
    overflow-y: auto;
    background-color: #2d2d2d;
    color: #ffffff;
}

/* Form Elements */
.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body .form-control {
    background-color: #3d3d3d;
    color: #ffffff; /* Text color when typing */
    border-radius: 8px;
    padding: 12px 15px;
}

/* Placeholder text color */
.modal-body .form-control::placeholder {
    color: #ffffff; /* White placeholder */
    opacity: 1; /* Ensure full visibility */
}

/* Text color when input is focused */
.modal-body .form-control:focus {
    color: #000000; /* Black text when selected */
    background-color: #ffffff; /* Optional: change background when focused */
    box-shadow: none;
    border-color: #9b59b6;
}

/* Ensure placeholder disappears when focused */
.modal-body .form-control:focus::placeholder {
    color: transparent;
}

.modal-body label {
    display: block;
    margin-bottom: 8px;
    color: #dddddd;
}

/* Create Button */
.btn-primary {
    color: #ffffff;
    background-color: #9b59b6;
    border: none;
    border-radius: 10px; /* Rounded button */
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #8e44ad;
    transform: translateY(-1px);
}

/* Modal Footer - No border and rounded bottom */
.modal-footer {
    border-top: none !important; /* Remove top line */
    padding: 10px 24px 20px 24px; /* Adjusted padding */
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: #2d2d2d !important;
    border-bottom-left-radius: 20px; /* Match modal-content */
    border-bottom-right-radius: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        width: 95%;
        margin: 10px auto;
    }
    
    .modal-body {
        padding: 15px;
    }
}

/* Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease-out;
}
/* Modal End */

.active-menu-item {
    background-color: rgba(255, 255, 255, 0.30) !important;
}

#loading {
  position: fixed; 
  top: 0;         /* Start at the top */
  left: 0;        /* Start at the left */
  height: 100%;   
  width: 100%;    
  z-index: 10001; /* Higher than the menu */
  background-color: rgba(0,0,0,0.10);
}

#loadingimg {
  z-index: 10002; /* Even higher, if needed */
  position: absolute; /* Position within the #loading container */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cardeditorhome {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background-color: rgba(255,255,255,0.1);
  background-image:
    radial-gradient(circle at top left,    rgba(155,89,182,0.3), rgba(36,27,47,0.3)),
    radial-gradient(circle at bottom right, rgba(155,89,182,0.3), rgba(36,27,47,0.3));
  background-blend-mode: overlay;
  
  /* Modified backdrop-filter - reduced blur and added isolation */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  box-shadow: 0 5px 11px rgba(0,0,0,0.75);
  transition: transform .3s ease, box-shadow .3s ease;
  
  /* New properties for text selection */
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  
  /* Create new stacking context */
  isolation: isolate;
  z-index: 1;
}

.cardheight .checkbox,
.usercardheight .checkbox {
  position: relative;  /* ensure it can stack */
  z-index: 2;          /* lift it above the card */
}

.campaigncard {
  position: relative;
  z-index: 1;
}

.campaigncard.elevated {
  z-index: 9999 !important;
}

/* animated gradient border */
.cardeditorhome::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    45deg,
    #9b59b6,
    #e91e63,
    #3498db,
    #9b59b6
  );
  background-size: 300%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: hueShift 6s infinite linear;
  
  /* Critical fix - won't block mouse events */
  pointer-events: none;
  z-index: -1; /* Send behind content */
}

@keyframes hueShift {
  to { background-position: 300% 0; }
}

/* lift & glow on hover */
.cardeditorhome:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

@media (min-width: 992px) {
  .cardheight {
    height: 350px;
  }
}

@media (max-width: 991px) {
  .cardheight {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .cardheight {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* Col Start */

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}

.col-xs-1 {
  width: 8.33333333%;
}

.col-xs-2 {
  width: 16.66666667%;
}

.col-xs-3 {
  width: 25%;
}

.col-xs-4 {
  width: 33.33333333%;
}

.col-xs-5 {
  width: 41.66666667%;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-7 {
  width: 58.33333333%;
}

.col-xs-8 {
  width: 66.66666667%;
}

.col-xs-9 {
  width: 75%;
}

.col-xs-10 {
  width: 83.33333333%;
}

.col-xs-11 {
  width: 91.66666667%;
}

.col-xs-12 {
  width: 100%;
}

.col-xs-pull-0 {
  right: auto;
}

.col-xs-pull-1 {
  right: 8.33333333%;
}

.col-xs-pull-2 {
  right: 16.66666667%;
}

.col-xs-pull-3 {
  right: 25%;
}

.col-xs-pull-4 {
  right: 33.33333333%;
}

.col-xs-pull-5 {
  right: 41.66666667%;
}

.col-xs-pull-6 {
  right: 50%;
}

.col-xs-pull-7 {
  right: 58.33333333%;
}

.col-xs-pull-8 {
  right: 66.66666667%;
}

.col-xs-pull-9 {
  right: 75%;
}

.col-xs-pull-10 {
  right: 83.33333333%;
}

.col-xs-pull-11 {
  right: 91.66666667%;
}

.col-xs-pull-12 {
  right: 100%;
}

.col-xs-push-0 {
  left: auto;
}

.col-xs-push-1 {
  left: 8.33333333%;
}

.col-xs-push-2 {
  left: 16.66666667%;
}

.col-xs-push-3 {
  left: 25%;
}

.col-xs-push-4 {
  left: 33.33333333%;
}

.col-xs-push-5 {
  left: 41.66666667%;
}

.col-xs-push-6 {
  left: 50%;
}

.col-xs-push-7 {
  left: 58.33333333%;
}

.col-xs-push-8 {
  left: 66.66666667%;
}

.col-xs-push-9 {
  left: 75%;
}

.col-xs-push-10 {
  left: 83.33333333%;
}

.col-xs-push-11 {
  left: 91.66666667%;
}

.col-xs-push-12 {
  left: 100%;
}

.col-xs-offset-0 {
  margin-left: 0%;
}

.col-xs-offset-1 {
  margin-left: 8.33333333%;
}

.col-xs-offset-2 {
  margin-left: 16.66666667%;
}

.col-xs-offset-3 {
  margin-left: 25%;
}

.col-xs-offset-4 {
  margin-left: 33.33333333%;
}

.col-xs-offset-5 {
  margin-left: 41.66666667%;
}

.col-xs-offset-6 {
  margin-left: 50%;
}

.col-xs-offset-7 {
  margin-left: 58.33333333%;
}

.col-xs-offset-8 {
  margin-left: 66.66666667%;
}

.col-xs-offset-9 {
  margin-left: 75%;
}

.col-xs-offset-10 {
  margin-left: 83.33333333%;
}

.col-xs-offset-11 {
  margin-left: 91.66666667%;
}

.col-xs-offset-12 {
  margin-left: 100%;
}

@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-pull-0 {
    right: auto;
  }
  .col-sm-pull-1 {
    right: 8.33333333%;
  }
  .col-sm-pull-2 {
    right: 16.66666667%;
  }
  .col-sm-pull-3 {
    right: 25%;
  }
  .col-sm-pull-4 {
    right: 33.33333333%;
  }
  .col-sm-pull-5 {
    right: 41.66666667%;
  }
  .col-sm-pull-6 {
    right: 50%;
  }
  .col-sm-pull-7 {
    right: 58.33333333%;
  }
  .col-sm-pull-8 {
    right: 66.66666667%;
  }
  .col-sm-pull-9 {
    right: 75%;
  }
  .col-sm-pull-10 {
    right: 83.33333333%;
  }
  .col-sm-pull-11 {
    right: 91.66666667%;
  }
  .col-sm-pull-12 {
    right: 100%;
  }
  .col-sm-push-0 {
    left: auto;
  }
  .col-sm-push-1 {
    left: 8.33333333%;
  }
  .col-sm-push-2 {
    left: 16.66666667%;
  }
  .col-sm-push-3 {
    left: 25%;
  }
  .col-sm-push-4 {
    left: 33.33333333%;
  }
  .col-sm-push-5 {
    left: 41.66666667%;
  }
  .col-sm-push-6 {
    left: 50%;
  }
  .col-sm-push-7 {
    left: 58.33333333%;
  }
  .col-sm-push-8 {
    left: 66.66666667%;
  }
  .col-sm-push-9 {
    left: 75%;
  }
  .col-sm-push-10 {
    left: 83.33333333%;
  }
  .col-sm-push-11 {
    left: 91.66666667%;
  }
  .col-sm-push-12 {
    left: 100%;
  }
  .col-sm-offset-0 {
    margin-left: 0%;
  }
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-sm-offset-3 {
    margin-left: 25%;
  }
  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-sm-offset-6 {
    margin-left: 50%;
  }
  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-sm-offset-9 {
    margin-left: 75%;
  }
  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-sm-offset-12 {
    margin-left: 100%;
  }
}

@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-pull-0 {
    right: auto;
  }
  .col-md-pull-1 {
    right: 8.33333333%;
  }
  .col-md-pull-2 {
    right: 16.66666667%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-4 {
    right: 33.33333333%;
  }
  .col-md-pull-5 {
    right: 41.66666667%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-7 {
    right: 58.33333333%;
  }
  .col-md-pull-8 {
    right: 66.66666667%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-10 {
    right: 83.33333333%;
  }
  .col-md-pull-11 {
    right: 91.66666667%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-push-0 {
    left: auto;
  }
  .col-md-push-1 {
    left: 8.33333333%;
  }
  .col-md-push-2 {
    left: 16.66666667%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-4 {
    left: 33.33333333%;
  }
  .col-md-push-5 {
    left: 41.66666667%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-7 {
    left: 58.33333333%;
  }
  .col-md-push-8 {
    left: 66.66666667%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-10 {
    left: 83.33333333%;
  }
  .col-md-push-11 {
    left: 91.66666667%;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-offset-0 {
    margin-left: 0%;
  }
  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-md-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-md-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
}

@media (min-width: 1200px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    float: left;
  }
  .col-lg-1 {
    width: 8.33333333%;
  }
  .col-lg-2 {
    width: 16.66666667%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-4 {
    width: 33.33333333%;
  }
  .col-lg-5 {
    width: 41.66666667%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-7 {
    width: 58.33333333%;
  }
  .col-lg-8 {
    width: 66.66666667%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-10 {
    width: 83.33333333%;
  }
  .col-lg-11 {
    width: 91.66666667%;
  }
  .col-lg-12 {
    width: 100%;
  }
  .col-lg-pull-0 {
    right: auto;
  }
  .col-lg-pull-1 {
    right: 8.33333333%;
  }
  .col-lg-pull-2 {
    right: 16.66666667%;
  }
  .col-lg-pull-3 {
    right: 25%;
  }
  .col-lg-pull-4 {
    right: 33.33333333%;
  }
  .col-lg-pull-5 {
    right: 41.66666667%;
  }
  .col-lg-pull-6 {
    right: 50%;
  }
  .col-lg-pull-7 {
    right: 58.33333333%;
  }
  .col-lg-pull-8 {
    right: 66.66666667%;
  }
  .col-lg-pull-9 {
    right: 75%;
  }
  .col-lg-pull-10 {
    right: 83.33333333%;
  }
  .col-lg-pull-11 {
    right: 91.66666667%;
  }
  .col-lg-pull-12 {
    right: 100%;
  }
  .col-lg-push-0 {
    left: auto;
  }
  .col-lg-push-1 {
    left: 8.33333333%;
  }
  .col-lg-push-2 {
    left: 16.66666667%;
  }
  .col-lg-push-3 {
    left: 25%;
  }
  .col-lg-push-4 {
    left: 33.33333333%;
  }
  .col-lg-push-5 {
    left: 41.66666667%;
  }
  .col-lg-push-6 {
    left: 50%;
  }
  .col-lg-push-7 {
    left: 58.33333333%;
  }
  .col-lg-push-8 {
    left: 66.66666667%;
  }
  .col-lg-push-9 {
    left: 75%;
  }
  .col-lg-push-10 {
    left: 83.33333333%;
  }
  .col-lg-push-11 {
    left: 91.66666667%;
  }
  .col-lg-push-12 {
    left: 100%;
  }
  .col-lg-offset-0 {
    margin-left: 0%;
  }
  .col-lg-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-lg-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-lg-offset-3 {
    margin-left: 25%;
  }
  .col-lg-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-lg-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-lg-offset-6 {
    margin-left: 50%;
  }
  .col-lg-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-lg-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-lg-offset-9 {
    margin-left: 75%;
  }
  .col-lg-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-lg-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-lg-offset-12 {
    margin-left: 100%;
  }
}

/* Col End */

@media (max-width: 768px) {
    #small-bar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        right: 0;
        transform: translateY(0);
        border-radius: 0;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    }

    #large-bar {
        width: 100%;
        height: 50vh;
        top: auto;
        bottom: 0;
    }
}

#large-bar {
    position: fixed;
    top: 30%; /* Leave some space from the top */
    right: -300px; /* Initially hidden */
    width: 300px;
    height: auto; /* Let the height adjust dynamically */
    max-height: 40%; /* Ensure it doesn't exceed 80% of the viewport */
    background-color: #2c2c2c;
    color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto; /* Allow scrolling if content exceeds the height */
    border-radius: 8px 0 0 8px; /* Optional: Rounded corners */
}

.mic-icon {
    position: absolute;
    top: 35px;
    right: 15px;
    cursor: pointer;
}

.url-icon {
    position: absolute;
    top: 35px;
    right: 40px;
    cursor: pointer;
}

.voice-item {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.voice-item.selected {
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.voice-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.play-stop-btn:hover {
    background: #3e8e41 !important;
}

input[type="radio"]:checked + div img {
    border-color: #FF5722 !important;
}

.campaignmenu {
  position: fixed;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  z-index: 10000;
  
  /* Glassmorphism effect */
  background-image:
    radial-gradient(circle at top left, #9b59b6, #241b2f, transparent),
    radial-gradient(circle at bottom right, #9b59b6, #241b2f, transparent),
    rgba(255, 255, 255, 0.05);
  background-blend-mode: overlay;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Styling */
  border: 1px solid rgba(155, 89, 182, 0.6);
  border-radius: 0.75rem;
  padding: 1.25rem 2rem;
  
  /* Flex layout for centering */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem; /* This creates consistent spacing between all flex children */
}

/* If you need different spacing for different screen sizes */
@media (max-width: 768px) {
  .campaignmenu {
    gap: 1rem; /* Smaller gap on mobile */
  }
}

.btn {
  font-size: 1.125rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap; /* Prevents text wrapping */
}

.btn-success {
  background-color: #2ecc71;
  border-color: #27ae60;
}

.btn-danger {
  background-color: #e74c3c;
  border-color: #c0392b;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.cardeditorhome {
    -webkit-user-select: text !important;
}

.publish-destination, .download-post-copies, .download-video, .download-audio {
    transition: opacity 0.3s ease;
}

/* Initially hidden */
.publish-destination[data-loaded="false"], 
.download-post-copies[data-loaded="false"], 
.download-video[data-loaded="false"], 
.download-audio[data-loaded="false"] {
    opacity: 0;
    pointer-events: none;
}

/* When loaded */
.publish-destination[data-loaded="true"], 
.download-post-copies[data-loaded="true"], 
.download-video[data-loaded="true"], 
.download-audio[data-loaded="true"] {
    opacity: 1;
    pointer-events: auto;
}
