:root {
    --primary-color: #280771;
    --primary-accent-color: #4d11a7;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #ffffff;
    --bg-light: #f9fafb;
    --bg-light-accent: #f3f4f6;
    --border-color: #f3f4f6;
    --border-input-color: #d6d6d6;
    --purple-highlight: #ebcffc;
  }
  :root {
    --primary-purple: #4d11a7;
    --dark-purple: #280771;
    --text-dark: #1f2937;
    --text-gray: #4b5563;
    --text-light-gray: #606060;
    --bg-light-gray: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #f3f4f6;
    --border-input: #d6d6d6;
     --status-bg: rgba(165, 255, 150, 0.28);
    --status-text-color: #1e9609;
  }
  
  
  body {
    margin: 0;
    padding: 0px;
    font-family: 'Public Sans', sans-serif;
    color: var(--text-primary);
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Custom font, assuming it's loaded via @font-face */
  @font-face {
    font-family: 'Robots Reborn';
    src: url('/path/to/robots-reborn.woff2') format('woff2'),
         url('/path/to/robots-reborn.woff') format('woff');
    font-weight: 400;
    font-style: normal;
  }
  /* CSS for section section:agencies-dashboard */
  .dashboard-container {
      display: flex;
      margin: auto;
      background-color: var(--text-light);
      overflow: hidden;
      position: relative;
      height: 100vh;
    }
  
    .background-decor {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 0;
      opacity: 0.2;
      pointer-events: none;
    }
  
    .background-decor img, .background-decor div {
      position: absolute;
      filter: blur(100px);
    }
  
    .deco-1 { top: -100px; right: -150px; transform: rotate(5deg); opacity: 0.83; }
    .deco-2 { top: -200px; left: 150px; transform: rotate(5deg); opacity: 0.66; }
    .deco-3 { top: -50px; right: 100px; width: 431px; height: 563px; background: linear-gradient(139deg, rgba(216, 27, 96, 0.39) 0%, rgba(132, 255, 255, 0.39) 84.77%, rgba(49, 27, 146, 0.39) 142.84%); transform: rotate(74deg); }
    .deco-4 { bottom: -100px; left: 200px; transform: rotate(125deg); opacity: 0.61; }
    .deco-5 { bottom: -200px; right: -200px; transform: rotate(130deg); }
  
    .sidebar {
      flex: 0 0 270px;
      background-color: var(--bg-light);
      border-right: 1px solid var(--border-color);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      z-index: 2;
    }
  
    .sidebar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 9.5px 0;
    }
  
    .logo-text {
      font-family: 'Robots Reborn', sans-serif;
      font-size: 70px;
      color: var(--primary-color);
      line-height: 1;
    }
  
    .icon-button-sidebar {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 13px;
    }
  
    .admin-profile {
      background-color: var(--bg-light-accent);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 16px;
    }
  
    .avatar {
      width: 42px;
      height: 42px;
      border-radius: 100px;
      background-color: #e5e7eb;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-primary);
      flex-shrink: 0;
    }
  
    .admin-info {
      display: flex;
      flex-direction: column;
    }
  
    .admin-name {
      font-size: 16px;
      font-weight: 500;
      margin: 0;
      color: var(--text-primary);
    }
  
    .admin-role {
      font-size: 14px;
      color: var(--text-secondary);
      margin: 0;
    }
  
    .sidebar-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
  
    .sidebar-nav a {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 12px 16px;
      text-decoration: none;
      color: var(--text-secondary);
      font-size: 14px;
      border-radius: 40px 0 0 40px;
      transition: all 0.2s ease-in-out;
    }
    
    .sidebar-nav a .arrow {
        margin-left: auto;
    }
  
    .sidebar-nav a:hover {
      background-color: var(--primary-accent-color);
      color: var(--text-light);
    }
  
    .sidebar-nav a.active {
      background-color: var(--primary-accent-color);
      color: var(--text-light);
      border-radius: 50px 0px 0px 50px;
    }
    
    .sidebar-nav a.active img, .sidebar-nav a:hover img {
        filter: brightness(0) invert(1);
    }
  
    .main-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 1;
    }
  
    .main-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 28px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
      border-bottom: 1px solid rgba(252, 252, 253, 0.5);
      backdrop-filter: blur(4px);
    }
  
    .main-title {
      font-size: 24px;
      font-weight: 600;
      margin: 0;
    }
  
    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
  
    .icon-button {
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 11px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .notification-wrapper {
      position: relative;
    }
  
    .notification-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background-color: var(--primary-color);
      color: var(--text-light);
      border-radius: 30px;
      font-size: 10px;
      line-height: 1;
      padding: 2px 4px;
      border: 1px solid white;
    }
  
    .content-card {
      margin: 24px;
      padding: 24px;
      background-color: var(--text-light);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      box-shadow: 2px 4px 24px 0px rgba(0, 0, 0, 0.05);
      flex: 1;
      display: flex;
      flex-direction: column;
    }
  

  
    @media (max-width: 1200px) {
      .card-header {
        flex-direction: column;
        align-items: flex-start;
      }
      .card-actions {
        width: 100%;
        justify-content: space-between;
      }
    }
  
    @media (max-width: 992px) {
      .dashboard-container {
        flex-direction: column;
        height: auto;
      }
      .sidebar {
        flex: 0 0 auto;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
      }
      .sidebar-nav ul {
        flex-direction: row;
        gap: 10px;
      }
      .sidebar-nav a {
        padding: 8px 12px;
      }
      .sidebar-nav a .arrow, .sidebar-nav a span {
          display: none;
      }
      .admin-profile {
        display: none;
      }
      .main-content {
        border-top: 1px solid var(--border-color);
      }
      .content-card {
          margin: 16px;
      }
    }
    
    @media (max-width: 768px) {
      .card-actions {
          flex-direction: column;
          align-items: stretch;
      }
      .filter-inputs, .action-buttons {
          flex-direction: column;
          width: 100%;
      }
      .filter-inputs input {
          width: 100%;
      }
      .sidebar-nav {
          display: none; /* Or use JS to toggle a hamburger menu */
      }
    }
  
  
    .content-area {
      flex: 1;
      padding: 24px;
      padding-top: 98px; /* 74px header + 24px padding */
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }
  
    .form-wrapper {
  width: 100%;
      max-width: 624px;
      margin: 0 auto;
    }
  
    .add-agency-form {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    .form-title {
      font-size: 24px;
      font-weight: 600;
      color: var(--text-dark);
      margin: 0 0 33px 0;
    }
  
    .input-group {
      width: 100%;
    }
  
    .form-input {
      width: 100%;
      height: 70px;
      padding: 17px;
      border: 1px solid var(--border-input);
      border-radius: 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: var(--text-light-gray);
    }
  
    .form-actions {
      display: flex;
      gap: 20px;
      margin-top: 20px;
      width: 100%;
    }
  
    .btn {
      flex: 1;
      border-radius: 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 15px;
    }
  
    .btn-cancel {
      background-color: transparent;
      border: 1px solid var(--primary-purple);
      color: var(--primary-purple);
    }
  
    .btn-save {
      background-color: var(--primary-purple);
      border: none;
      color: var(--bg-white);
    }
  
    @media (max-width: 1200px) {
      .sidebar {
        width: 220px;
      }
      .form-wrapper {
        padding: 40px;
      }
    }
  
    @media (max-width: 992px) {
  
      .form-wrapper {
        padding: 20px;
      }
      .form-actions {
        flex-direction: column;
        gap: 10px;
      }
      .btn {
        height: 50px;
      }
    }
  
  
   .login-header {
      position: relative;
      z-index: 1;
    }
  
    .logo {
      position: relative;
      width: 302px;
      height: 97px;
    }
  
    .logo-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      filter: blur(100px);
    }
  
    .logo-text {
      position: absolute;
      top: 16px;
      left: 20px;
      color: #280771;
      font-family: 'Robots Reborn', sans-serif;
      font-weight: 400;
      font-size: 70px;
      line-height: 32px;
    }
  
    .login-form-wrapper {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-grow: 1;
      margin-top: -100px; /* Adjust to vertically center the form */
    }
  
    .title {
      color: #000000;
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 48px;
      line-height: 56px;
      text-align: center;
      margin: 0;
    }
  
    .subtitle {
      color: #000000;
      font-family: 'DM Sans', sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
      text-align: center;
      margin-top: 8px;
      margin-bottom: 45px;
    }
  
    .login-form {
      width: 100%;
      max-width: 450px;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
  
    .input-group {
      position: relative;
      width: 100%;
      height: 70px;
    }
  
    .form-input {
      width: 100%;
      height: 100%;
      background-color: #ffffff;
      border: 1px solid #d6d6d6;
      border-radius: 12px;
      padding: 17px;
      font-family: 'DM Sans', sans-serif;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      color: #606060;
    }
  
    .form-input::placeholder {
      color: #606060;
    }
  
    .login-button {
      width: 100%;
      height: 70px;
      background-color: #4d11a7;
      border-radius: 12px;
      border: none;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      color: #ffffff;
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 18px;
      line-height: 26px;
      transition: background-color 0.3s ease;
    }
  
    .login-button:hover {
      background-color: #3e0d8a;
    }
  
    @media (max-width: 768px) {
      .login-container {
        height: auto;
        padding: 20px;
      }
      .login-form-wrapper {
        margin-top: 40px;
      }
      .title {
        font-size: 36px;
        line-height: 44px;
      }
      .subtitle {
        margin-bottom: 30px;
      }
      .login-form {
        max-width: 100%;
      }
    }
    .subscription-title {
      color: #1f2937;
      font-family: 'Public Sans', sans-serif;
      font-weight: 600;
      font-size: 24px;
      line-height: 32px;
      text-align: left;
      margin: 0 0 29px 0;
    }
  
    .plans-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 27px;
      justify-content: flex-start;
    }
  
    .plan-card {
      height: 200px;
      flex-shrink: 0;
    }
  
    .free-plan {
      background-color: #4d11a7;
      border-radius: 30px;
      padding: 40px 30px;
      width: 340px;
      color: #ffffff;
    }
  
    .other-plan {
      background-color: #fbf6fe;
      border: 1px solid #ebcffc;
      border-radius: 25px;
      width: 338px;
      padding: 40px 30px;
    }
  
    .plan-content {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }
  
    .plan-header {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  
    .plan-line {
      width: 40px;
      height: 5px;
      border-radius: 2.5px; /* To make it a pill shape */
    }
  
    .line-free {
      background-color: #b270ec;
    }
  
    .line-trial {
      background-color: #6418c3;
    }
  
    .line-paid {
      background-color: #b270ec;
    }
  
    .plan-name-large {
      font-family: 'Public Sans', sans-serif;
      font-weight: 700;
      font-size: 24px;
      line-height: 32px;
      margin: 0;
    }
  
    .plan-subtitle {
      font-family: 'Public Sans', sans-serif;
      font-weight: 600;
      font-size: 20px;
      line-height: 23.5px;
      margin: 0;
    }
  
    .plan-name {
      color: #000000;
      font-family: 'Public Sans', sans-serif;
      font-weight: 700;
      font-size: 24px;
      line-height: 32px;
      margin: 0;
    }
  
    .upgrade-button {
      background-color: #280771;
      color: #ffffff;
      font-family: 'Public Sans', sans-serif;
      font-weight: 500;
      font-size: 16px;
      line-height: 22px;
      border: none;
      border-radius: 12px;
      padding: 11px 22px;
      cursor: pointer;
      width: 120px;
      text-align: center;
    }
  
    @media (max-width: 1080px) {
      .plans-grid {
        justify-content: center;
      }
    }
  
    @media (max-width: 768px) {
      .plans-grid {
        flex-direction: column;
        align-items: center;
      }
      .plan-card {
        width: 100%;
        max-width: 340px;
      }
    }
  
      .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      background-color: var(--status-bg);
      border-radius: 28px;
      color: var(--status-text-color);
      font-size: 14px;
      line-height: 14px;
      font-family: 'SF Pro Text', sans-serif;
    }
  
    .status-dot {
      width: 8px;
      height: 8px;
    }
  
    .action-icon {
      width: 24px;
      height: 24px;
      display: block;
    }


    /* Error message box */
    .error-box {
      background-color: #ffe5e5;
      border: 1px solid #ff4d4d;
      color: #b30000;
      padding: 12px 16px;
      margin-bottom: 16px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      text-align: center;
    }

    /* Inline error text */
    .error-text {
      display: inline-block;
    }

  
  