  @import url('https://fonts.cdnfonts.com/css/satoshi');

body {

    font-family:
        'Satoshi',
        sans-serif;
}
  
  
  
        /* RESET */
        * {
          box-sizing: border-box;
          min-width:0;
        }
        
        body {
          margin: 0;
          background: #f5f7fb;
          color: #1f2937;
        }
        
        /* LAYOUT */
       .layout {
  display: flex;
  min-height: 100vh;
}
        
        /* SIDEBAR */
        .sidebar {

  width: 228px;

  background: #0f172a;

  color: #e5e7eb;

  padding: 24px 18px;

  display: flex;

  flex-direction: column;

  position: sticky;

  top: 0;

  height: 100vh;

  overflow-y: auto;

  overflow-x: hidden;
}
        
        .sidebar h2 {
          font-size: 20px;
          margin-bottom: 30px;
          color: #fff;
        }
        
        .sidebar a {

  display:flex;
  align-items:center;
  gap:10px;

  padding: 10px 12px;

  margin-bottom: 4px;

  border-radius: 10px;

  color: #9ca3af;

  text-decoration: none;

  transition: 0.2s ease;

  font-size: 13px;

  font-weight: 500;

  line-height: 1.2;
}

.sidebar-nav {

    display:flex;
    flex-direction:column;

    gap:2px;
}

.sidebar-section-label {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(255,255,255,0.45);

    margin:

      18px 12px 8px;
}
        
        .sidebar a:hover {
          background: #1e293b;
          color: #fff;
        }
        
        .sidebar a.active {
          background: #4f46e5;
          color: #fff;
        }
        
        
        /* LOGOUT POSITION */
        .sidebar .logout {
          margin-top: auto;
          background: #1e293b;
        }
        
        .sidebar .logout:hover {
          background: #ef4444;
          color: #fff;
        }
        
        .sidebar{
    display:flex;
    flex-direction:column;
}

.sidebar-nav{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.sidebar-footer{
    margin-top:24px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,0.08);
    display:flex;
    flex-direction:column;
    gap:6px;
}

.wallet-card{
    padding:14px;
    margin-bottom:10px;
    border-radius:16px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
}

.wallet-card-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:6px;
}

.wallet-label{
    font-size:13px;
    opacity:.7;
}

.wallet-balance{
    font-size:22px;
    font-weight:700;
    line-height:1;
}

.wallet-subtext{
    font-size:12px;
    opacity:.65;
    margin-bottom:12px;
}

.wallet-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
    border-radius:12px;
    background:#305e15;
    color:#fff;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    transition:.2s ease;
}

.wallet-btn:hover{
    transform:translateY(-3px);
    opacity:.95;
}

@media(max-width:768px){

    .wallet-card{
        padding:12px;
    }

    .wallet-balance{
        font-size:20px;
    }

    .wallet-btn{
        padding:9px;
        font-size:12px;
    }
}
        
        
        .icon svg {
          position: relative;
          top: 1px;
        }
        
        
        /* MAIN */
.main {

  flex:1;

  display:flex;

  flex-direction:column;

  min-width:0;

  min-height:100vh;
}
        
        /* TOPBAR */
        .topbar {
          background: #ffffff;
          padding: 16px 24px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          border-bottom: 1px solid #e5e7eb;
        }
        
        .topbar input {
          width: 280px;
          padding: 10px 12px;
          border-radius: 8px;
          border: 1px solid #e5e7eb;
          background: #f9fafb;
        }
        
        .user {
          font-weight: 500;
          color: #374151;
        }
        
        /* CONTENT */
.content {

  flex:1;

  padding:20px;

  overflow-x:hidden;

  padding-bottom:60px;
}
        
        /* GRID */
        .grid-4 {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 20px;
        }
        
        .grid-2 {
          display: grid;
          grid-template-columns: 1.5fr 1fr;
          gap: 20px;
          margin-top: 20px;
        }
        
        /* CARDS */
        .card {
          background: #ffffff;
          padding: 22px;
          border-radius: 14px;
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
          transition: 0.2s;
        }
        
        .card:hover {
          transform: translateY(-3px);
        }
        
        /* KPI TEXT */
        .card h4 {
          font-size: 14px;
          color: #6b7280;
          margin-bottom: 8px;
        }
        
        .card h2 {
          font-size: 26px;
          margin: 0;
        }
        
        /* POSTS */
        .post-item {
          padding: 12px 0;
          border-bottom: 1px solid #f1f5f9;
        }
        
        .post-item p {
          margin: 0 0 6px;
        }
        
        .post-item small {
          color: #6b7280;
        }
        
        /* BUTTONS */
        .btn {
          display: block;
          margin-top: 12px;
          padding: 12px;
          background: #4f46e5;
          color: white;
          text-align: center;
          border-radius: 10px;
          text-decoration: none;
          font-weight: 500;
          transition: 0.2s;
        }
        
        .btn:hover {
          background: #4338ca;
        }
        
        /* SCROLLBAR (premium touch) */
        ::-webkit-scrollbar {
          width: 6px;
        }
        
        ::-webkit-scrollbar-thumb {
          background: #d1d5db;
          border-radius: 10px;
        }
        
        
        
        
        
        
        
        /******* GRIDS**** not USED YET *******/
        .grid-3 {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 20px;
        }
        
        .feature-card {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          min-height: 180px;
        }
        
        .feature-card p {
          color: #6b7280;
          margin: 10px 0 20px;
        }
        /***********CLOSE GRIDS **********/
        
        
        .brand-card {
          transition: 0.2s;
        }
        
        .brand-card:hover {
          transform: translateY(-4px);
        }
        
        .brand-actions {
          margin-top: 15px;
        }
        
        .brand-actions a {
          display: inline-block;
          margin-right: 10px;
          font-size: 14px;
        }
        
        .add-brand {
          display:flex;
          align-items:center;
          justify-content:center;
          font-size:18px;
          color:#6b7280;
          border:2px dashed #e5e7eb;
        }
        
        .add-brand:hover {
          border-color:#4f46e5;
          color:#4f46e5;
        }
        /* ===== FORM STYLING ===== */
        
        form {
          margin-top: 20px;
        }
        
        
        /* GLOBAL FORMS */
        form input,
        form textarea,
        form select {
          width: 100%;
          padding: 12px 14px;
          margin-bottom: 14px;
          border: 1px solid #e5e7eb;
          border-radius: 10px;
          background: #f9fafb;
          font-size: 14px;
          transition: 0.2s;
        }
        
        /* GENERATOR PANEL OVERRIDE */
        .control-panel input,
        .control-panel textarea,
        .control-panel select {
          background: white;
        }
        
        /* FOCUS STATE */
        input:focus,
        textarea:focus,
        select:focus {
          outline: none;
          border-color: #4f46e5;
          background: #fff;
          box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
        }
        
        /* TEXTAREA HEIGHT */
        textarea {
          min-height: 100px;
          resize: vertical;
        }
        
        
        /* FORM BUTTON */
        form .btn {
          width: 100%;
          margin-top: 10px;
        }
        
        .error-box {
          background:#fee2e2;
          color:#991b1b;
          padding:10px;
          border-radius:8px;
          margin-bottom:15px;
          border:1px solid #fecaca;
        }
        
        .success-box{
    background:#dcfce7;
    color:#166534;
    padding:12px 16px;
    border-radius:10px;
    margin-bottom:20px;
    border:1px solid #bbf7d0;
}
        
        /* checkbox spacing */
        label {
          display:block;
          margin-bottom:8px;
          font-size:13px;
          color:#6b7280;
        }
        
        .tag {
          display:inline-block;
          background:#eef2ff;
          padding:5px 8px;
          border-radius:6px;
          margin-right:5px;
          font-size:12px;
        }
        
        
        /* MAIN GRID */
        .grid-main {
          display:grid;
          grid-template-columns: 320px 1fr;
          gap:20px;
          align-items:start;
        }
        
        /* GLASS CARD */
        .glass-card {
          position: relative;
          border-radius:16px;
          padding:20px;
          overflow:hidden;
          margin-bottom:20px;
        
          /* BASE GLASS */
          background: linear-gradient(
            135deg,
            rgba(255,255,255,0.75),
            rgba(255,255,255,0.45)
          );
        
          backdrop-filter: blur(14px);
          box-shadow:0 8px 30px rgba(0,0,0,0.08);
        }
        
        /* ðŸŒŠ WATER-LIKE COLOR LAYER */
        .glass-card::before {
      content:'';
      position:absolute;
      inset:0;
      z-index:0;
      pointer-events:none;
    
      background: linear-gradient(
        120deg,
        rgba(59,130,246,0.18),   /* blue */
        rgba(16,185,129,0.15),   /* green */
        rgba(245,158,11,0.15),   /* orange */
        rgba(147,51,234,0.15),   /* purple */
        rgba(236,72,153,0.12)    /* pink */
      );
    
      background-size: 300% 300%;
      animation: colorFlow 18s ease-in-out infinite;
    }
    
    @keyframes colorFlow {
      0%   { background-position: 0% 50%; }
      25%  { background-position: 50% 100%; }
      50%  { background-position: 100% 50%; }
      75%  { background-position: 50% 0%; }
      100% { background-position: 0% 50%; }
    }
        
        /* CONTENT ABOVE */
        .glass-card > * {
          position: relative;
          z-index: 1;
        }
        
        /* ðŸŒŠ SMOOTH COLOR MORPH */
        @keyframes waterFlow {
          0% {
            background-position: 0% 50%;
            filter: hue-rotate(0deg);
          }
          50% {
            background-position: 100% 50%;
            filter: hue-rotate(20deg);
          }
          100% {
            background-position: 0% 50%;
            filter: hue-rotate(0deg);
          }
        }
        
        .glass-card::after {
          content:'';
          position:absolute;
          inset:0;
          z-index:0;
          pointer-events:none;
        
          background: radial-gradient(
            circle at 30% 30%,
            rgba(255,255,255,0.2),
            transparent 60%
          );
        
          animation: softPulse 8s ease-in-out infinite;
        }
        
        @keyframes softPulse {
          0%,100% { opacity:0.4; }
          50% { opacity:0.8; }
        }
        
        
    
        
        .plan-badge {
          font-size:12px;
          color:#6b7280;
        }
        
        /* BUTTON GLOW */
        .btn-glow {
          background: linear-gradient(135deg, #4f46e5, #9333ea);
          color:white;
          border:none;
          padding:12px;
          border-radius:10px;
          cursor:pointer;
          transition:0.3s;
        }
        
        .btn-glow:hover {
          transform:scale(1.05);
          box-shadow:0 0 15px rgba(79,70,229,0.5);
        }
        
        /* CALENDAR */
        .calendar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
        @media (max-width: 1024px) {
  .calendar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .calendar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .calendar {
    grid-template-columns: 1fr;
  }
}
        
        .day {
          background:white;
          border-radius:12px;
          padding:12px;
          min-height:120px;
          transition:0.25s;
          border:1px solid #f1f5f9;
        }
        
        .day p {
  display: -webkit-box;
  -webkit-line-clamp: 6; /* number of lines visible */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  max-height: calc(1.4em * 6);
}
       
       .day p {
  position: relative;
}

.day p::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, transparent, white);
}

        .day:hover {
          transform:translateY(-4px);
          box-shadow:0 8px 20px rgba(0,0,0,0.08);
        }
        
        .tags span {
          font-size:11px;
          background:#eef2ff;
          padding:3px 6px;
          border-radius:6px;
          margin-right:4px;
        }
        
        .tags {
  display: flex;
  flex-wrap: wrap;   /* 🔥 THIS fixes it */
  gap: 6px;
  margin-top: 8px;
}
        
        /* FORM */
        .control-panel input,
        .control-panel select,
        .control-panel textarea {
          width:100%;
          padding:10px;
          margin-bottom:10px;
          border-radius:8px;
          border:1px solid #e5e7eb;
        }
        
        /* FORM ROW */
        .form-row {
          display:flex;
          gap:10px;
        }
        
.header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  flex-wrap: wrap; /* ✅ allows stacking */

  padding: 30px 24px;
  margin-bottom: 30px;

  border-radius: 16px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.7),
    rgba(255,255,255,0.4)
  );

  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.4);

  position: relative;
  overflow: hidden;
}

.header-left {
  flex: 1;
  min-width: 240px;
}

.header-right {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {

  .header-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    width: 100%;
  }

  .plan-pill {
    width: fit-content;
  }

}



/* KEEP CONTENT ABOVE */
.header-card > * {
  position: relative;
  z-index: 1;
}       

.header-left h2 {
  margin:0;
  font-size:20px;
}

.header-left p {
  margin:5px 0 0;
  font-size:13px;
  color:#6b7280;
}



/* Pills */
.plan-pill,
.user-pill {
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(6px);
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(0,0,0,0.05);
}
.content {
  padding: 20px;
}
.post-brand {
  display:block;
  font-size:11px;
  color:#6b7280;
  margin:4px 0 8px;
  opacity:0.8;
}

#modalCaption {
  width:100%;
  border:none;
  resize:none;
  font-family: inherit;
  font-size:14px;
  background:transparent;
}
#modalCaption {
  width: 100%;
  min-height: 120px;
  max-height: 250px;

  overflow-y: auto;
  resize: none;

  line-height: 1.5;
}

#modalCaption:focus {
  outline:none;
  background:#f9fafb;
  padding:8px;
  border-radius:8px;
}
#modalCaption[readonly] {
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  cursor: default;
  color: #1f2937;
}


/* MOBILE SIDEBAR */
@media (max-width: 768px) {


}

    .checkbox-row {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}

.checkbox-row input {
  width:auto;
  margin:0;
}

.checkbox-row label {
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-size:14px;
}

.checkbox-row input {
  accent-color:#4f46e5;
  transform: scale(1.1);
}
.modal {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.5);
  z-index:999;
  justify-content:center;
  align-items:center;
}

.modal-content {
  background:white;
  padding:20px;
  border-radius:12px;
  width:400px;
  max-width:90%;
  position:relative;
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.7)
  );
  backdrop-filter: blur(12px);
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.modal-content {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.modal-actions {
  margin-top:15px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.modal-actions button {
  padding:8px 10px;
  border:none;
  border-radius:8px;
  background:#f3f4f6;
  cursor:pointer;
}

.modal-body {
  overflow-y: auto;
  max-height: 60vh;
  flex: 1;  
  padding-right: 5px; /* prevents scrollbar overlap */
}


.close {
  position:absolute;
  top:10px;
  right:12px;
  cursor:pointer;
}




.search-wrapper {
  position:relative;
  width:260px;
}

.search-wrapper input {
  width:100%;
  padding:12px 14px 12px 38px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.08);
  background:rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  font-size:14px;
  transition:0.25s;
}

.search-wrapper input:focus {
  outline:none;
  border-color:#4f46e5;
  box-shadow:0 0 0 3px rgba(79,70,229,0.12);
  background:white;
}

.search-icon {
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  opacity:0.6;
}

.search-card {
  margin-bottom:20px;
}

.search-header h4 {
  margin:0;
}

.search-header p {
  margin:4px 0 12px;
  font-size:13px;
  color:#6b7280;
}

.search-full {
  position:relative;
}

.search-full span {
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  opacity:0.5;
}

.search-full input {
  width:100%;
  padding:14px 14px 14px 38px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  font-size:14px;
}

.clickable {
  cursor:pointer;
  position:relative;
}

.clickable:hover {
  transform:translateY(-5px) scale(1.01);
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* subtle hover indicator */
.clickable::after {
  content:"View";
  position:absolute;
  top:10px;
  right:10px;
  font-size:11px;
  background:#4f46e5;
  color:white;
  padding:3px 6px;
  border-radius:6px;
  opacity:0;
  transition:0.2s;
}

.clickable:hover::after {
  opacity:1;
}
#datePicker {
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:#fff;
  cursor:pointer;
}

.form-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

@media (max-width: 768px) {

  .grid-main {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }



  .search-wrapper,
  .search-full {
    width:100%;
  }


}
.loading-spinner {
  width:14px;
  height:14px;
  border:2px solid #ccc;
  border-top:2px solid #4f46e5;
  border-radius:50%;
  animation: spin 0.6s linear infinite;
  display:inline-block;
  margin-right:6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: 0.2s ease;
}

.social-btn i {
    font-size: 16px;
}

/* Facebook */
.social-btn.facebook {
    background: #1877f2;
}

.social-btn.facebook:hover {
    background: #0f5dcf;
}

/* Instagram */
.social-btn.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-btn.instagram:hover {
    opacity: 0.9;
}




@media (max-width: 768px) {

 .sidebar {

    position: fixed;

    left: -228px;

    top: 0;

    bottom: 0;

    width: 228px;

    z-index: 1000;

    transition: 0.3s ease;

    background: rgba(15, 23, 42, 0.96);

    backdrop-filter: blur(10px);

    overflow-y: auto;

    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior: contain;
}

  .sidebar.active {
    left: 0;
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    z-index: 999;
    display: none;
  }

  .sidebar-overlay.active {
    display: block;
  }
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-logo {

    height:38px;

    width:auto;

    display:block;

    filter:

      drop-shadow(0 8px 18px rgba(0,0,0,0.14));
      margin-bottom:30px;
}
 
.close-sidebar {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .close-sidebar {
    display: block;
  }
} 

@media (max-width: 768px) {

  body {
    font-size: 14px;
  }

  h4 {
    font-size: 15px;
  }

  input, select, textarea {
    font-size: 16px;
    padding: 10px;
  }

  .btn-glow {
    padding: 10px;
    font-size: 13px;
  }

}
.toggle-form-btn {
  display: none;
}

@media (max-width: 768px) {

   .toggle-form-btn {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;

    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: white;
    border: none;

    font-weight: 500;
    letter-spacing: 0.2px;

    cursor: pointer;
    transition: 0.2s;
  }


  .form-wrapper {
    display: none;
  }

  .form-wrapper.active {
    display: block;
  }
 
}

.toggle-form-btn {
  cursor: pointer;
}

.toggle-form-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.image-indicator {
  position:absolute;
  top:10px;
  right:10px;
  background:#4f46e5;
  color:white;
  padding:6px;
  border-radius:8px;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
input, textarea {
  zoom: 1; /* stabilizes rendering */
}


/* VISUAL STUDIO FORM FIX */
.vs-form input,
.vs-form textarea,
.vs-form select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  font-size: 14px;
  transition: 0.2s;
}

.vs-form textarea {
  min-height: 110px;
  resize: vertical;
}

.vs-form input:focus,
.vs-form textarea:focus,
.vs-form select:focus {
  outline: none;
  border-color: #4f46e5;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(79,70,229,0.1);
}

.image-loader {
  display: none;
  text-align: center;
  padding: 20px;
}

.grid-loader {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}

.grid-loader span {
  width: 12px;
  height: 12px;
  background: #4f46e5;
  animation: flip 1.2s infinite;
}

.grid-loader span:nth-child(2) { animation-delay: 0.1s; }
.grid-loader span:nth-child(3) { animation-delay: 0.2s; }
.grid-loader span:nth-child(4) { animation-delay: 0.3s; }
.grid-loader span:nth-child(5) { animation-delay: 0.4s; }
.grid-loader span:nth-child(6) { animation-delay: 0.5s; }

@keyframes flip {
  0%, 80%, 100% { transform: scale(1); opacity: 0.3; }
  40% { transform: scale(1.4); opacity: 1; }
}

.vs-form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.vs-form .checkbox-row label {
  font-size: 14px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.vs-form .checkbox-row input {
  width: 16px;
  height: 16px;
  margin-top:10px;
}
/* MAIN SCROLL AREA */
.modal-body {
  max-height: 70vh;
  overflow-y: scroll;   /* always visible scroll */
  padding: 10px;
}

/* Always show scrollbar (important UX) */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
}

/* IMAGE */
#modalImageWrapper {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

#modalImage {
  max-width: 100%;
  max-height: 40vh;   /* 🔑 KEY LINE — controls size */
  width: auto;
  height: auto;
  object-fit: contain; /* ensures no cropping */
  border-radius: 10px;
}

/* TEXT */
.modal-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* TEXTAREA */
#modalCaption {
  width: 100%;
  min-height: 120px;
  resize: none;
}

.mini-cost-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #4f46e5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}

/* ============================= */
/* PREMIUM MOBILE TOPBAR */
/* ============================= */

.mobile-topbar {

  display: none;

}

@media (max-width: 768px) {

  .mobile-topbar {

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 12px;

    z-index: 998;

    margin: 12px;
    padding: 14px 16px;

    border-radius: 28px;

    /* GLASS */
    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.78),
        rgba(255,255,255,0.48)
      );

    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);

    border:
      1px solid rgba(255,255,255,0.55);

    box-shadow:
      0 10px 30px rgba(0,0,0,0.08),
      inset 0 1px 0 rgba(255,255,255,0.6);

    overflow: hidden;
  }

  /* COLOR FLOW */
  .mobile-topbar::before {

    content:'';

    position:absolute;
    inset:0;

    background:
      radial-gradient(
        circle at top left,
        rgba(79,70,229,0.12),
        transparent 30%
      ),

      radial-gradient(
        circle at bottom right,
        rgba(236,72,153,0.10),
        transparent 35%
      ),

      radial-gradient(
        circle at center,
        rgba(59,130,246,0.08),
        transparent 40%
      );

    pointer-events:none;

    z-index:0;
  }

  .mobile-topbar > * {
    position: relative;
    z-index: 2;
  }

  /* HAMBURGER BUTTON */
  .hamburger {

    display:flex;
    align-items:center;
    justify-content:center;

    width:48px;
    height:48px;

    border:none;
    cursor:pointer;

    border-radius:18px;

    font-size:22px;
    font-weight:600;

    color:#111827;

    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.92),
        rgba(255,255,255,0.55)
      );

    backdrop-filter: blur(12px);

    border:
      1px solid rgba(255,255,255,0.6);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.8),
      0 6px 18px rgba(0,0,0,0.08);

    transition: .22s ease;
  }

  .hamburger:hover {
    transform: translateY(-2px) scale(1.03);
  }

  .hamburger:active {
    transform: scale(0.96);
  }

  /* APP TITLE PILL */
  .app-title {

    display:flex;
    align-items:center;
    justify-content:center;

    min-width: 120px;

    padding: 12px 18px;

    border-radius: 20px;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;

    color:#111827;

    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.92),
        rgba(255,255,255,0.58)
      );

    border:
      1px solid rgba(255,255,255,0.65);

    backdrop-filter: blur(12px);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.8),
      0 8px 20px rgba(0,0,0,0.06);
  }

}

/* ===================================== */
/* UNIVERSAL STUDIO HERO */
/* ===================================== */

.studio-hero {

  position: relative;

  overflow: hidden;

  border-radius: 30px;

  padding: 30px;

  margin-bottom: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.72),
      rgba(255,255,255,0.42)
    );

  backdrop-filter: blur(18px);

  border:
    1px solid rgba(255,255,255,0.5);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

/* animated ambient color */
.studio-hero::before {

  content:'';

  position:absolute;
  inset:0;

  background:

    radial-gradient(
      circle at top left,
      rgba(79,70,229,0.18),
      transparent 30%
    ),

    radial-gradient(
      circle at bottom right,
      rgba(236,72,153,0.12),
      transparent 35%
    ),

    radial-gradient(
      circle at center,
      rgba(59,130,246,0.10),
      transparent 40%
    );

  background-size: 200% 200%;

  animation:
    studioHeroMove 14s ease-in-out infinite,
    studioHeroHue 22s linear infinite;

  pointer-events:none;
}

.studio-hero > * {
  position:relative;
  z-index:2;
}

.studio-hero-top {

  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
}

.studio-title-wrap {
  flex:1;
  max-width:700px;
}

.studio-title-wrap h2 {

  margin:0;

  font-size:22px;
  line-height:1.2;

  letter-spacing:-0.02em;

  font-weight:700;

  color:#111827;
}

.studio-title-wrap p {

  margin-top:8px;

  font-size:13px;

  line-height:1.6;

  color:#6b7280;
}

/* right side pill */
.studio-pill {

  display:flex;
  align-items:center;
  gap:10px;

  padding:10px 14px;

  border-radius:22px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.55)
    );

  border:
    1px solid rgba(255,255,255,0.7);

  backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 8px 20px rgba(0,0,0,0.05);
}

.studio-pill-icon {

  width:42px;
  height:42px;

  border-radius:18px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:20px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.95),
      rgba(255,255,255,0.55)
    );

  border:
    1px solid rgba(255,255,255,0.7);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 6px 16px rgba(0,0,0,0.05);
}

.studio-pill-text {

  display:flex;
  flex-direction:column;
}

.studio-pill-label {

  font-size:11px;
  font-weight:700;
  color:#111827;
}

.studio-pill-sub {

  font-size:11px;
  color:#6b7280;
}

/* animations */

@keyframes studioHeroMove {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes studioHeroHue {

  0% {
    filter:hue-rotate(0deg);
  }

  100% {
    filter:hue-rotate(360deg);
  }
}

/* mobile */

@media (max-width: 768px) {

  .studio-hero {

    padding: 28px 22px;

    border-radius: 34px;

    overflow: hidden;
  }

  .studio-hero-top {

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;

    flex-wrap: nowrap; /* IMPORTANT */
  }

  .studio-title-wrap {

    flex: 1;

    min-width: 0;
  }

  .studio-title-wrap h2 {

    font-size: 30px;

    line-height: 0.92;

    letter-spacing: -0.06em;

    font-weight: 800;

    margin-bottom: 14px;
  }

  .studio-title-wrap p {

    font-size: 13px;

    line-height: 1.55;

    max-width: 95%;

    color: #6b7280;
  }

  .studio-pill {

    flex-shrink: 0;

    padding: 14px 16px;

    border-radius: 28px;

    min-width: 132px;

    margin-top: 8px;
  }

  .studio-pill-icon {

    width: 44px;
    height: 44px;

    border-radius: 18px;

    font-size: 20px;
  }

  .studio-pill-label {

    font-size: 11px;
  }

  .studio-pill-sub {

    font-size: 10px;
  }
}



/* ========================= */
/* DS HEADER Styles*/
/* ========================= */

.ds-hero {

    position: relative;

    overflow: hidden;

    border-radius: 32px;

    padding: 34px;

    margin-bottom: 26px;

    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.72),
        rgba(255,255,255,0.42)
      );

    backdrop-filter: blur(18px);

    border:
      1px solid rgba(255,255,255,0.5);

    box-shadow:
      0 10px 40px rgba(0,0,0,0.08);
}

.ds-hero::before {

    content:'';

    position:absolute;
    inset:0;

    background:
      radial-gradient(circle at top left,
      rgba(79,70,229,0.18),
      transparent 35%),

      radial-gradient(circle at bottom right,
      rgba(236,72,153,0.14),
      transparent 35%);

    pointer-events:none;
}

.ds-hero > * {
    position: relative;
    z-index: 2;
}

.ds-top-row {

    display:flex;
    align-items:flex-start;
   justify-content:space-between;
    
 /*    gap:20px; 
    flex-wrap:wrap;*/
}

.ds-title-wrap h1 {

    margin:0;

    font-size:22px;
    line-height:1.2;

    letter-spacing:-0.02em;

    font-weight:700;
}

.ds-title-wrap p {

    margin-top:6px;

    color:#6b7280;

    max-width:620px;

    line-height:1.5;

    font-size:13px;
}

.ds-badge {

    display:flex;
    align-items:center;
    gap:10px;

    padding:10px 14px;

    border-radius:22px;

    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.92),
        rgba(255,255,255,0.55)
      );

    border:
      1px solid rgba(255,255,255,0.7);

    backdrop-filter: blur(10px);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.7),
      0 10px 25px rgba(0,0,0,0.05);
}

.ds-badge-icon {

    width:42px;
    height:42px;

    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;

    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.9),
        rgba(255,255,255,0.5)
      );
}
/* ========================= */
/* MOBILE */
/* ========================= */


@media (max-width: 768px) {

    .ds-hero {
        padding:24px;
        border-radius:26px;
    }

    .ds-title-wrap h1 {
        font-size:30px;
    }

    .design-card {
        border-radius:26px;
    }

}
.quick-icon,
.hero-pill-icon,
.brand-empty-icon,
.recent-icon {

    box-shadow:
      0 12px 28px rgba(0,0,0,0.10),
      0 4px 10px rgba(79,70,229,0.10),
      inset 0 1px 0 rgba(255,255,255,0.95);
}
.mobile-topbar-logo {

    height:56px;

    width:auto;

    display:block;

    margin-left:10px;

    filter:
      drop-shadow(0 6px 16px rgba(0,0,0,0.08));
}

html,
body {

  height: 100%;

  overflow-x: hidden;

  overscroll-behavior-y: none;
}
.coming-soon-pill {

    margin-left: auto;

    padding: 2px 8px;

    border-radius: 999px;

    background: rgba(239,68,68,0.15);

    border: 1px solid rgba(239,68,68,0.25);

    color: #f87171;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .02em;

    text-transform: uppercase;

    line-height: 1.4;
}
