/* HarmonyOS Sans Font Family */
@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Thin_Italic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Light_Italic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Regular_Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Medium_Italic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Bold_Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('../fonts/HarmonyOS_Sans_Black_Italic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');
body {
   font-family: "HarmonyOS Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
   margin: 0;
}
:root {
  /* ====== Base Colors ====== */
  --color-bg: #f9fafb;         /* Very light gray background */
  --color-surface: #ffffff;    /* Card or panel background */
  --color-border: #e3e6ea;     /* Light neutral border */
  --color-text: #1e1e1e;       /* Off-black text */
  --color-text-muted: #555;    /* Subtle muted text */

  /* ====== Pastel Blues ====== */
  --color-blue-light: #e3f2fd;  /* Background or highlight */
  --color-blue: #90caf9;        /* Main pastel blue */
  --color-blue-accent: rgb(44 158 251); /* Accent or active state */

  /* ====== Pastel Reds ====== */
  --color-red-light: #fdeaea;   /* Light red background */
  --color-red: #f8b4b4;         /* Pastel red */
  --color-red-accent: #f87171;  /* Brighter red for alerts or errors */

  /* ====== Supporting Shades ====== */
  --color-gray-light: #f2f2f2;
  --color-gray-dark: #333;

  /* ====== Shadows & Transitions ====== */
  --shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.05);
  --transition-fast: all 0.2s ease;
}
h1, h2, h3 {
  font-weight:400;

}
input,
textarea,
select,
button {
    font-family: inherit;
}
svg {
    width: 20px;
    height: 20px;
    fill: white;
}
        /* Navigation */
        nav {
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            padding: 1rem 0;
        }

        .nav-container {
            width: 100%;
            margin: 0 auto;
            box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
            display: flex;
            z-index: 999;
            align-items: stretch;
            justify-content: space-between;
            position: relative;
        }
        .nav-container-inner {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}
        .logo-section {
            padding: 1.5rem 2rem;
            display: flex;
            z-index: -10;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--color-white);
            text-decoration: none;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            background: var(--color-white);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .nav-content {
            align-items: center;
            padding: 0 3rem;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
            align-items: center;
        }

        .nav-links a {
            color: var(--color-white);
            text-decoration: none;
            font-size: 1.25rem;
            transition: opacity 0.3s;
        }

        .nav-links a:hover {
            opacity: 0.7;
        }

        .nav-cta {
            background: #ebff53;
            color: var(--color-dark);
            padding: 0.75rem 1.75rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(180, 212, 186, 0.3);
        }
    .form-group {
        margin-bottom: 15px;
    }
    label {
        display: block;
        margin-bottom: 5px;
    }
    input[type="text"], input[type="password"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
    }
   svg {
    color: var(--color-text) !important;
}
h3 {
    color: var(--color-text);
}
a {
    color: #1e1e1e;
    text-decoration: none;
}

.section {
  margin: 3rem 0rem;
}


.button {
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  display: flex;
  gap: 0.5rem;
}
/* Global Button Styles - Minimal & Clean */
.button.one {
  font-family: inherit;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.button.two {
  background: rgb(44 158 251);
  color: #ffffff;
  border: 1px solid #d1d5db;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
button.two:hover {
  background: #4491f5;
}
.button.three {
  background: #1d1d1d;
  color: #ffffff;
  border: 1px solid #d1d5db;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}







    .success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }
    .error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    .chat-list {
        margin-top: 20px;
    }
.scrollbox {
width: 30%;
    height: -webkit-fill-available;
  overflow-y: scroll;
  background-color: #f6f6f6;
  
  &::-webkit-scrollbar {
    background-color: transparent;
    width: 0px;
  }
}
.scrollbox:hover {
  &::-webkit-scrollbar {
    width: 8px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2)
  }
}
@media (hover: none) {
  .scrollbox {
    &::-webkit-scrollbar {
      width: 8px;
    }
    &::-webkit-scrollbar-thumb {
      background-color: rgba(0,0,0,.2)
    }
  }
}


.login {
    display: flex
;
    flex-direction: column;
    width: 50%;
    max-width: 800px;
    justify-content: center;
    align-items: center;
}



.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0;
}

.actions {
    display: flex;
    gap: 0.75rem;
}

.container {
    width: -webkit-fill-available;
}

.container-inner {
    padding: 2rem;
    max-width: 85rem;
    margin: 0 auto;
}


/* Menu Navigation */
.menu {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: #1e1e1e;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.menu-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0 10px;
}

.menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.menu-link svg {
    stroke: #9ca3af;
    transition: stroke 0.2s ease;
}

.menu-link span {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.menu-link:hover svg {
    stroke: #ffffff;
}

.menu-link.active {
    background: rgba(59, 130, 246, 0.15);
    color: rgb(44 158 251);
}

.menu-link.active svg {
    stroke: rgb(44 158 251);
    
}

.menu-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: rgb(44 158 251);
    border-radius: 0 2px 2px 0;
}

/* User Menu */
.menu-user {
    width: 100%;
    padding: 0 10px;
    position: relative;
}

.user-menu-toggle {
    font-size: 1rem;
    color: white !important;
    margin-right: 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu-toggle svg:first-child {
    stroke: #030303;
    transition: stroke 0.2s ease;
}

.user-menu-toggle .chevron {
    stroke: #9ca3af;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.user-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.user-menu-toggle:hover svg {
    stroke: #ffffff;
}

.user-dropdown {
    position: absolute;
    bottom: 100%;
    left: 90px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    padding: 8px;
    display: none;
    z-index: 1001;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #1e1e1e;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease;
    font-size: 14px;
}

.user-dropdown-item:hover {
    background: #f3f4f6;
}

.user-dropdown-item.logout {
    color: #ef4444;
}

.user-dropdown-item.logout:hover {
    background: #fef2f2;
}

.user-dropdown-item svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.user-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

/* Main Content Area */
.main-content {
    min-height: 100vh;
    background: #f9fafb;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        width: 60px;
        padding: 15px 0;
    }

    .menu-logo {
        width: 36px;
        height: 36px;
        margin-bottom: 20px;
    }

    .menu-link span {
        font-size: 10px;
    }

    .main-content {
        margin-left: 60px;
    }

    .user-dropdown {
        left: 70px;
    }
}

/* Animation for dropdown */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown.show {
    animation: slideUp 0.2s ease;
}.header {
 background: var(--color-text);
}
.header-inner {
    display: flex;
   margin:0 auto;
    padding: 1rem;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}




/* System Control Dropdown */
.system-status-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.system-status-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  color: white;
}

.system-status-button:hover {
  color: #66bfff;
}

.system-status-button:hover .status-dot {
  opacity: 0.8;
}

.system-status-button:hover .chevron {
  stroke: #66bfff;
}

.system-status-button .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  animation: pulse 2s infinite;
}

.system-status-button.running .status-dot {
  background: #10b981;
}

.system-status-button.stopped .status-dot {
  background: #ef4444;
}

.system-status-button.partial .status-dot {
  background: #f59e0b;
}

.system-status-button .chevron {
  transition: transform 0.2s, stroke 0.3s ease;
  stroke: white;
}

.system-status-dropdown.open .system-status-button .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  padding: 0.5rem;
  display: none;
  z-index: 1000;
}

.system-status-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: background 0.15s;
  text-align: left;
}

.dropdown-item:hover:not(:disabled) {
  background: var(--color-bg);
}

.dropdown-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dropdown-item svg {
  flex-shrink: 0;
}

.logout-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  margin-left: auto;
}

.logout-link:hover {
  color: #66bfff;
}

.logout-link svg {
  stroke: white;
  transition: stroke 0.3s ease;
}

.logout-link:hover svg {
  stroke: #66bfff;
}

svg.user {
    width: 32px;
    height: 39px;
}

/* User Avatar Styles */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.user-avatar:hover {
    opacity: 0.8;
}

.user-avatar-icon {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.user-avatar-icon:hover {
    opacity: 0.8;
}

/* Settings Page Styles */
.settings-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.settings-header {
    margin-bottom: 40px;
}

.settings-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0 0 8px 0;
}

.settings-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.settings-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.settings-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3e6ea;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-label strong {
    color: #1e1e1e;
    font-weight: 500;
}

.settings-label span {
    color: #666;
    font-size: 14px;
}

.settings-value {
    color: #1e1e1e;
    font-weight: 500;
}

.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.subscription-badge.active {
    background: #d4edda;
    color: #155724;
}

.subscription-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.subscription-badge.trial {
    background: #fff3cd;
    color: #856404;
}

.plan-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-badge.free {
    background: #e3e6ea;
    color: #555;
}

.plan-badge.pro {
    background: #667eea;
    color: white;
}

.plan-badge.enterprise {
    background: #1e1e1e;
    color: white;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-brand {
    font-weight: 500;
    text-transform: capitalize;
}

.card-last4 {
    color: #666;
}

.settings-actions {
    display: flex;
    gap: 12px;
}

.account-info-grid {
    display: grid;
    gap: 16px;
}

.info-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.info-value {
    color: #1e1e1e;
    font-weight: 500;
    font-size: 15px;
}

.days-remaining {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #e3f2fd;
    color: #0d47a1;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.days-remaining.warning {
    background: #fff3cd;
    color: #856404;
}

.days-remaining.expired {
    background: #f8d7da;
    color: #721c24;
}

/* Empty State Icon Styles */
.empty-state-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}