/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #0D0D0D;
    color: #E5E5E5;
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
}

.above-space {
    margin-top: 20px;
}

#logo {
    position: relative;
    margin: 16px 0px 0;
    background: url(https://wing-media-uploads.s3.us-west-1.amazonaws.com/b90.png);
    width: 50px;
    height: 50px;
    background-size: cover;
    display: inline-block;
    margin-left: -3px;
}

#logoWord {
    position: relative;
    display: inline-block;
    margin: 35px 0 20px 6px;
    font-size: 23px;
    letter-spacing: -1px;
    vertical-align: top;
}

.bold {
    font-weight: 600;
}

div#menu-subheading {
    margin-left: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #989898;
    margin-bottom: 10px;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #0D0D0D;
    position: relative;
    overflow-x: hidden;
}

.sidebar {
    width: 240px;
    min-width: 240px;
    background: #1A1A1A;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 100;
}

.logo-container {
    padding: 0 16px;
    display: flex;
    align-items: center;
    height: 64px;
}

.search-container {
    margin: 0 10px;
    padding-top: 8px;
}

.search-bar {
    margin-top: 0;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 8px 12px;
}

.search-bar svg {
    color: #6b7280;
    margin-right: 8px;
}

.search-input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.shortcut {
    color: #6b7280;
    font-size: 12px;
    padding: 2px 6px;
    background: #f3f4f6;
    border-radius: 4px;
    width: 81px;
}

/* Menu Styles */
.nav-menu {
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    color: #E5E5E5;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    background: transparent;
}

.menu-item:hover {
    background: var(--surface-2);
}

.menu-item svg:not(.chevron) {
    margin-right: 12px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.menu-toggle {
    justify-content: space-between;
    width: 100%;
    text-decoration: none !important;
}

.menu-toggle .chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.menu-group {
    border-radius: 6px;
    padding: 4px;
}

.menu-group.active {
    background: #f3f4f6;
    margin-bottom: 5px;
}

.menu-group.active .chevron {
    transform: rotate(180deg);
}

.menu-group:not(.active) .submenu {
    display: none;
}

.active a.menu-item.menu-toggle {
    background: #efefef;
    font-weight: bold;
}

.submenu {
    margin-left: 44px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.submenu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #374151;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: -8px;
}

.submenu-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    font-size: 13px;
}

.submenu-item:hover .submenu-link {
    color: #289efd;
}

.badge {
    background: rgba(40, 158, 253, 0.1);
    color: #289efd;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 15px;
}

.bottom-menu {
    margin-top: auto;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: 240px;
    padding: 2rem;
    background: #0D0D0D;
    min-height: 100vh;
    overflow-y: auto;
    height: auto;
    transition: margin-left 0.3s ease;
}

.transaction-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Right Sidebar Styles */
.right-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    bottom: 0;
    width: 400px;
    background: var(--bg-secondary);
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-light);
}

.right-sidebar.active {
    right: 0;
}

.chat-widget {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-action-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-action-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.chat-action-btn svg {
    width: 16px;
    height: 16px;
}

.assistant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, #289efd, #1a8ae9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.assistant-avatar svg {
    width: 18px;
    height: 18px;
    color: white;
}

.assistant-info {
    flex: 1;
    min-width: 0;
}

.assistant-name {
    font-size: 15px;
    font-weight: 600;
    color: #E5E5E5;
}

.assistant-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.chat-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9fafb;
}

.message {
    display: flex;
    gap: 8px;
    max-width: 85%;
}

.message.assistant {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message .assistant-avatar {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    margin-top: 2px;
}

.message .assistant-avatar svg {
    width: 16px;
    height: 16px;
}

.message-bubble {
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.message.assistant .message-bubble {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}

.message.user .message-bubble {
    background: #289efd;
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
    text-align: right;
}

.chat-input {
    padding: 12px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 20px;
    padding: 6px 8px 6px 12px;
}

.message-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    line-height: 1.5;
    padding: 4px 0;
    resize: none;
    outline: none;
    color: #374151;
    min-height: 20px;
    max-height: 120px;
}

.message-input::placeholder {
    color: #9ca3af;
}

.send-button {
    width: 28px;
    height: 28px;
    padding: 0;
    background: #289efd;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.send-button:hover {
    background: #1a8ae9;
}

.send-button svg {
    width: 16px;
    height: 16px;
}

.shortcut-hint {
    display: none;
}

.primary-button {
    width: 100%;
    padding: 12px;
    background: #289efd;
    color: white;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.primary-button:hover {
    background: #1a8ae9;
}

.secondary-button {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.secondary-button:hover {
    background: #f9fafb;
}

.virtual-cards {
    margin-top: 30px;
}

.card-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.balance {
    color: #666;
    font-size: 14px;
}

/* Typography */
h1 {
    font-size: 32px;
    font-weight: 600;
    color: #E5E5E5;
    margin-bottom: 8px;
}

h2 {
    font-size: 20px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 24px;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    color: #E5E5E5;
    margin-bottom: 16px;
}

.promo-box {
    background: linear-gradient(182deg, #289efd, #00deff);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    animation: glowPulse 3s infinite;
    margin: -20px;
    margin-top: 20px;
    border-radius: 0 0 10px 10px;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 158, 253, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 158, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 158, 253, 0);
    }
}

.promo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.promo-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.promo-text {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.9;
}

.promo-button {
    background: white;
    color: #289efd;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
}

.promo-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* View Toggle Component Styles */
.header-left {
    display: flex;
    align-items: left;
    gap: 24px;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: white;
    padding: 4px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.view-option {
    padding: 6px 12px;
    border-radius: 4px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-option.active {
    background: #f3f4f6;
    color: #111827;
}

/* Common header styles */
.kanban-header,
.list-header,
.planner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

/* Zone Selector Styles */
#zone-selector {
    display: flex;
    gap: 8px;
    padding: 16px;
    margin: 0 16px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.zone-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background: white;
    color: #374151;
}

.zone-item:hover {
    background: #e5e7eb;
}

.zone-item.active {
    border-color: #289efd;
    color: #289efd;
    background: rgba(40, 158, 253, 0.1);
}

/* Add tooltip styles */
.zone-item-tooltip {
    position: relative;
}

.zone-item-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #374151;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

.zone-item-tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #374151 transparent;
    z-index: 1000;
}

/* Add these styles for the zone selector */
.zone-selector {
    display: flex;
    gap: 0;
    margin-top: 15px;
    justify-content: left;
    margin-bottom: 20px;
    border: 1px solid #e6e7eb;
    border-radius: 6px;
}

.zone-box {
    position: relative;
    cursor: pointer;
}

.zone-box input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.zone-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56.7px;
    height: 36px;
    background: white;
    /* border: 2px solid #e5e7eb; */
    /* border-radius: 6px; */
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s ease;
}
.zone-label.first {
    border-radius: 6px 0px 0px 6px;
}
.zone-label.last {
    border-radius: 0px 6px 6px 0px;
}
.zone-box input[type="radio"]:checked + .zone-label {
    border-color: #289efd;
    color: #289efd;
    background: rgba(40, 158, 253, 0.1);
}

.zone-box:hover .zone-label {
    border-color: #289efd;
    color: #289efd;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    max-height: calc(100vh - 120px); /* Account for header */
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding-bottom: 0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Email Section */
.inbox-section {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.email-account {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
}

.email-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 400px;
    margin-right: -8px;
    padding-right: 8px;
}

.email-list::-webkit-scrollbar {
    width: 6px;
}

.email-list::-webkit-scrollbar-track {
    background: transparent;
}

.email-list::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 3px;
}

.email-item {
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.email-item:hover {
    background: #f9fafb;
}

.email-item.expanded {
    background: #f3f4f6;
}

.email-preview-panel {
    display: none;
    padding: 16px;
    background: white;
    border-radius: 8px;
    margin-top: 12px;
    border: 1px solid #e5e7eb;
}

.email-item.expanded .email-preview-panel {
    display: block;
}

.preview-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.preview-subject {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.preview-content {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.email-sender {
    font-weight: 500;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
}

.email-subject {
    font-size: 14px;
    color: #374151;
    margin-bottom: 4px;
}

.email-preview {
    font-size: 14px;
    color: #6b7280;
}

.email-time {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

/* Todo Section */
.todo-section {
    grid-column: 2;
    grid-row: 1;
}

.list-tabs {
    display: flex;
    gap: 8px;
}

.tab {
    padding: 6px 12px;
    border: none;
    background: none;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    border-radius: 6px;
}

.tab.active {
    background: #f3f4f6;
    color: #111827;
    font-weight: 500;
}

.todo-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.todo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.todo-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
}

/* Reminders Section */
.reminders-section {
    grid-column: 1;
    grid-row: 2;
}

.reminders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reminder-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-date {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.reminder-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.reminder-time {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    min-width: 70px;
}

.reminder-text {
    font-size: 14px;
    color: #374151;
}

/* Calendar Section */
.calendar-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 480px;
}

.calendar-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-title h3 {
    margin-bottom: 0;
}

.calendar-month {
    font-size: 14px;
    color: #6b7280;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-account {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    background: white;
}

.calendar-account img {
    width: 16px;
    height: 16px;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn {
    padding: 4px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #374151;
    cursor: pointer;
}

.calendar-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.weekday {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    padding: 4px 0;
}

.calendar-time-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 16px;
    position: relative;
    overflow-y: auto;
    height: 240px;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.calendar-time-grid::-webkit-scrollbar {
    width: 6px;
}

.calendar-time-grid::-webkit-scrollbar-track {
    background: transparent;
}

.calendar-time-grid::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 3px;
}

.time-slots {
    display: grid;
    grid-template-rows: repeat(24, 60px);
}

.time-slot {
    font-size: 12px;
    color: #6b7280;
    padding-right: 8px;
    text-align: right;
    height: 60px;
    line-height: 0;
    position: relative;
    top: -6px;
}

.events-grid {
    display: grid;
    grid-template-rows: repeat(24, 60px);
    position: relative;
    border-left: 1px solid #e5e7eb;
    padding-left: 16px;
    margin-right: 8px;
}

.current-time-indicator {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #289efd;
    z-index: 2;
}

.current-time-indicator::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -4px;
    width: 8px;
    height: 8px;
    background: #289efd;
    border-radius: 50%;
}

.event {
    position: absolute;
    left: 16px;
    right: 4px;
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 50px;
    border-left: 3px solid #289efd;
    margin-bottom: 2px;
}

.event:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-time {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.event-title {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    line-height: 1.4;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #E5E5E5;
}

.modal-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.modal-description {
    font-size: 14px;
    color: #E5E5E5;
    line-height: 1.6;
}

.modal-attendees {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

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

.attendee-avatar {
    width: 24px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #374151;
}

.attendee-name {
    font-size: 14px;
    color: #E5E5E5;
}

/* Chat Widget */
.chat-widget {
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.new-chat-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    border: none;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
}

.chat-list {
    display: flex;
    flex-direction: column;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}

.chat-item:hover {
    background: #f9fafb;
}

.chat-item.active {
    background: #f3f4f6;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.chat-content {
    flex: 1;
    min-width: 0;
}

.chat-name {
    font-size: 14px;
    font-weight: 500;
    color: #E5E5E5;
    margin-bottom: 4px;
}

.chat-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Light Theme Overrides */
.main-content {
    background: #0D0D0D;
    padding: 2rem;
    width: 100%;
}

.right-sidebar {
    background: #1A1A1A;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.preview-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-btn:hover {
    background: #f9fafb;
}

.preview-btn.primary {
    background: #289efd;
    color: white;
    border: none;
}

.preview-btn.primary:hover {
    background: #1a8ae9;
}

.create-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 160px;
}

.create-dropdown.active .dropdown-content {
    display: block;
}

.dropdown-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #E5E5E5;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.reply-box {
    display: none;
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.reply-box.active {
    display: block;
}

.reply-header {
    padding: 12px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reply-title {
    font-size: 14px;
    font-weight: 500;
    color: #E5E5E5;
}

.reply-actions {
    display: flex;
    gap: 8px;
}

.reply-editor {
    padding: 12px;
    min-height: 120px;
    background: white;
}

.reply-footer {
    padding: 12px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compose-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 8px 16px;
    background: #289efd;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(40, 158, 253, 0.2);
}

.compose-btn:hover {
    background: #1a8ae9;
}

/* Compose View Styles */
.compose-view {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 12px;
    z-index: 5;
}

.compose-view.active {
    display: flex;
    flex-direction: column;
}

.compose-header {
    padding: 12px 16px;
    background: #f3f4f6;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-button {
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover {
    color: #374151;
}

.compose-title {
    font-size: 14px;
    font-weight: 500;
    color: #E5E5E5;
}

.compose-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.compose-field {
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.compose-field input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    font-size: 14px;
    outline: none;
    color: #E5E5E5;
}

.compose-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.compose-field.to::after {
    content: 'Cc Bcc';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.compose-editor {
    flex: 1;
    padding: 16px;
    outline: none;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    overflow-y: auto;
}

.compose-footer {
    padding: 12px 16px;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compose-footer .preview-btn {
    padding: 8px 24px;
}

/* Remove modal overlay styles */
.modal-overlay,
.compose-modal {
    display: none !important;
}

.modal-close {
    padding: 4px 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 1;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.date {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #374151;
    border-radius: 50%;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date:hover {
    background: #f3f4f6;
}

.date.selected {
    background: #e5e7eb;
    font-weight: 500;
}

.date.today {
    color: #289efd;
    font-weight: 500;
}

.date.today::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #289efd;
    border-radius: 50%;
}

.event-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border: 1px solid #e5e7eb;
}

.event-modal.active {
    display: block;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

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

/* Global Scrollbar Styling */
:root {
    /* Add scrollbar colors to existing variables */
    --scrollbar-bg: var(--surface-0);
    --scrollbar-thumb: var(--surface-2);
    --scrollbar-thumb-hover: var(--surface-3);
}

/* Webkit Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Firefox Scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

/* Main content scrolling containers */
.content-section,
.chat-messages,
.status-section,
.sidebar,
.dashboard-container,
.main-layout,
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

/* Prevent body scrolling when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Container setup */
.dashboard-container {
    height: 100vh;
    overflow: hidden;
}

/* Ensure proper scrolling for main content */
.main-layout {
    overflow-y: auto;
    height: 100vh;
}

/* Chat messages container */
.chat-messages {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

/* Global Page Header Styling */
.page-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--surface-0);
}

.header-left {
    flex: 1;
}

.header-left h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(to right, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.header-left .subtitle {
    color: var(--text-secondary);
    margin: 0.5rem 0 0;
    font-size: 1rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Button Styling */
.header-actions button {
    height: 40px;
    padding: 0 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.media-button {
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.media-button:hover {
    background: var(--surface-2);
    transform: translateY(-1px);
}

.create-button {
    background: var(--primary);
    border: none;
    color: white;
}

.create-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface-1);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: var(--surface-2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 1rem;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .header-actions button {
        width: 100%;
        justify-content: center;
    }

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

/* Core styles */
:root {
    --bg-primary: #0D0D0D;
    --bg-secondary: #1A1A1A;
    --primary: #289efd;
    --primary-light: rgba(40, 158, 253, 0.1);
    --primary-hover: #1a7fd1;
    --surface-0: transparent;
    --surface-1: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.06);
    --surface-3: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.1);
    --text-primary: #E5E5E5;
    --text-secondary: rgba(255, 255, 255, 0.6);
}

/* Update setup container */
.setup-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
}

/* Make header sticky */
.setup-header {
    position: sticky;
    top: 0;
    background: #0D0D0D;
    padding: 1rem 0;
    z-index: 10;
}

/* Update progress steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(40, 158, 253, 0.1), rgba(40, 158, 253, 0.2));
    border: 2px solid rgba(40, 158, 253, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: linear-gradient(135deg, #289efd, #1a7fd1);
    border-color: #289efd;
    color: white;
    box-shadow: 0 0 20px rgba(40, 158, 253, 0.3);
}

.step-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.step.active .step-label {
    color: #289efd;
}

/* Update setup card with gradient */
.setup-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.setup-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(40, 158, 253, 0.3);
}

/* Update header styling */
.setup-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #289efd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 1rem;
}

.setup-header p {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Update input styling */
.input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E5E5E5;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input:focus {
    border-color: #289efd;
    background: rgba(40, 158, 253, 0.05);
    box-shadow: 0 0 0 3px rgba(40, 158, 253, 0.1);
}

/* Update button styling */
.btn-primary {
    background: linear-gradient(135deg, #289efd, #1a7fd1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 158, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 158, 253, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #E5E5E5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(40, 158, 253, 0.3);
}

/* Add card title styling */
.setup-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #E5E5E5;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.setup-card h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, #289efd, #1a7fd1);
    border-radius: 2px;
}

/* Add description text styling */
.setup-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Add form group styling */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1rem;
}

/* Adjust main content when sidebar is collapsed */
.sidebar.collapsed + .main-content {
    margin-left: 64px;
}

/* Add toggle button */
.sidebar-toggle {
    position: fixed;
    left: 240px;
    top: 20px;
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E5E5E5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 101;
}

.sidebar.collapsed .sidebar-toggle {
    left: 64px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 64px;
        min-width: 64px;
    }

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

    .sidebar-toggle {
        left: 64px;
    }

    .setup-container {
        padding: 1rem;
    }
}

.sim-step {
    display: flex;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.step-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.step-preview {
    color: #E5E5E5;
    font-size: 0.875rem;
    line-height: 1.5;
    padding-left: 1rem;
}

/* Update greeting input styling */
.greeting-input {
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 1.25rem;
    min-height: 160px;
    resize: vertical;
    width: 100%; /* Make it full width */
    max-width: 100%; /* Ensure it doesn't overflow */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #E5E5E5;
    margin: 0.5rem 0;
}

/* Add hover state */
.greeting-input:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(40, 158, 253, 0.2);
}

/* Enhance focus state */
.greeting-input:focus {
    border-color: #289efd;
    background: rgba(40, 158, 253, 0.05);
    box-shadow: 0 0 0 3px rgba(40, 158, 253, 0.1);
    outline: none;
}

/* Update the form group for greeting specifically */
.form-group.greeting-group {
    margin: 2rem 0;
}

/* Make the greeting label more prominent */
.form-group.greeting-group label {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #E5E5E5;
    font-weight: 500;
}

/* Question Management Styles */
.question-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.question-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #E5E5E5;
    font-size: 0.875rem;
    padding: 0.5rem;
}

.question-input:focus {
    outline: none;
}

.add-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(40, 158, 253, 0.1);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #289efd;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.add-btn:hover {
    background: rgba(40, 158, 253, 0.2);
    transform: translateY(-1px);
}

.add-btn:active {
    transform: translateY(0);
}

/* Question List Styles */
.question-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.question-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.question-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(40, 158, 253, 0.2);
}

.question-text {
    color: #E5E5E5;
    font-size: 0.875rem;
}

.remove-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* Update call item styles */
.call-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.call-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(40, 158, 253, 0.2);
    transform: translateX(4px);
}

.call-item:active {
    transform: translateX(2px);
}

/* Ensure proper cursor */
.call-item * {
    cursor: pointer;
}

/* Keep existing call item styles but update for link behavior */
.call-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.call-details h3 {
    color: #E5E5E5;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.call-details p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.875rem;
}

/* Add focus state for accessibility */
.call-item:focus {
    outline: none;
    border-color: #289efd;
    box-shadow: 0 0 0 3px rgba(40, 158, 253, 0.1);
}