.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "header header header"
        "summary summary summary"
        "actions actions actions"
        "performance performance skills"
        "deadlines goals goals";
    grid-gap: 20px;
    padding: 20px;
}

.dashboard-header {
    grid-area: header;
}

.summary-tiles {
    grid-area: summary;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tile {
    background-color: var(--background-color-widget);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
}

.quick-actions, .performance-over-time, .recent-activities, .skills-assessment, .upcoming-deadlines, .this-weeks-goals {
    background-color: var(--background-color-widget);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
}

.actions-container {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.recent-activities {
    overflow: hidden;
    position: relative;
    height: 200px; /* Adjust as needed */
}

#recentActivitiesList {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    height: 100%;
}

#recentActivitiesList li {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 10px;
    border-bottom: 1px solid var(--border-color-light);
}

#recentActivitiesList li.active {
    opacity: 1;
}

.performance-over-time {
    grid-area: performance;
}
.skills-assessment {
    grid-area: skills;
    max-width: 350px;
    width: 100%;
}
.upcoming-deadlines {
    grid-area: deadlines;
}
.this-weeks-goals {
    grid-area: goals;
}

/* Mobile Quick Actions */
.mobile-quick-actions {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 10px;
    flex-wrap: wrap;
}

.btn-mobile {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    min-width: auto !important;
    border-radius: 6px !important;
    background: var(--button-primary-bg) !important;
    color: var(--button-primary-text) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    white-space: nowrap !important;
    flex: 1;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-mobile:hover {
    background: var(--accent-color) !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--box-shadow-strong) !important;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "mobile-actions"
            "summary"
            "performance"
            "skills"
            "deadlines"
            "goals";
    }

    .mobile-quick-actions {
        display: flex;
        grid-area: mobile-actions;
    }

    .quick-actions {
        display: none;
    }

    .summary-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .actions-container {
        grid-template-columns: 1fr;
    }

    .skills-assessment {
        max-width: 100%;
    }

    /* Responsive dashboard tiles */
    /* First 4 info tiles and the next 2 action tiles in a 2-column grid */
    .dashboard-grid > *:nth-child(n+2):nth-child(-n+7) {
        grid-column: span 6 / span 6 !important;
    }

    /* All other tiles should stack vertically */
    .dashboard-grid > *:nth-child(n+8) {
        grid-column: span 12 / span 12 !important;
    }
}

.skills-assessment ul {
    list-style: none;
    padding: 0;
}

.skills-assessment li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-right: 10px; /* Add padding to prevent overlap with scrollbar */
}

/* Custom Scrollbar for Skills Assessment */
.skills-assessment .overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}

.skills-assessment .overflow-y-auto::-webkit-scrollbar-track {
    background: var(--background-color-widget);
    border-radius: 10px;
}

.skills-assessment .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
    border: 2px solid var(--background-color-widget);
}

.skills-assessment .overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

.skills-assessment p {
    flex-grow: 1;
}

.progress-bar {
    width: 100px;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin: 0 10px;
}

.progress-bar div {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.performance-container {
    width: 100%;
    margin: 0;
    padding: 20px;
    background-color: var(--background-color-widget);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.performance-table th, .performance-table td {
    border: 1px solid var(--border-color-light);
    padding: 12px;
    text-align: left;
}

.performance-table th {
    background-color: var(--primary-color);
    color: var(--button-primary-text);
    font-weight: 600;
}

.performance-table tbody tr:nth-child(even) {
    background-color: var(--background-color-main);
}

.performance-container {
    transition: all 0.3s ease;
    background: linear-gradient(145deg, var(--background-color-widget), #2a2a2a);
    border: 1px solid var(--border-color-light);
}

.performance-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.15);
}

.performance-table th {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.performance-table td {
    transition: background-color 0.3s ease;
}

.performance-table tbody tr:hover td {
    background-color: rgba(0, 191, 255, 0.1);
}

.performance-header {
    text-align: center;
    margin-bottom: 20px;
}

.performance-header h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.performance-header p {
    font-size: 1.1em;
    color: var(--text-color-dark);
    opacity: 0.8;
}

.performance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#skillsMatrixContainer, #performanceDataContainer {
    max-height: 500px;
    overflow-y: auto;
}

#performanceLogContainer .performance-table {
    max-height: 400px;
    overflow-y: auto;
    display: block;
}

:root {
    /* Dark Mode Palette (Default) */
    --primary-color: #00BFFF;       /* Deep Sky Blue */
    --secondary-color: #87CEEB;     /* Sky Blue */
    --accent-color: #00E0C8;        /* Electric Teal/Cyan */
    --text-color-dark: #E0E0E0;     /* Light Grey for text */
    --text-color-light: #121212;    /* Very Dark Grey for text on light backgrounds */
    --background-color-main: #121212; /* Very Dark Grey/Almost Black */
    --background-color-widget: #1E1E1E; /* Dark Grey for widgets */
    --border-color-light: #2a2a2a;  /* Dark border color */
    --border-color-dark: #1a1a1a;   /* Even darker border color */
    --button-primary-bg: var(--primary-color);
    --button-primary-text: #121212;
    --box-shadow-light: 0 2px 8px rgba(0, 191, 255, 0.1);
    --box-shadow-strong: 0 4px 15px rgba(0, 191, 255, 0.15);
    --glow-effect: 0 0 15px rgba(0, 224, 200, 0.6);
    --border-radius: 12px; /* Slightly more rounded corners */
    --transition-speed: 0.3s;
    --animation-duration: 0.5s;

    /* Legacy variables for home.html compatibility */
    --text-color: #E0E0E0;
    --light-text-color: #121212;
    --bg-color: #121212;
    --light-gray-bg: #1E1E1E;
}

body.light-mode {
    /* Light Mode Palette */
    --primary-color: #00A9E0;       /* Electric Blue */
    --secondary-color: #70C8E0;     /* Lighter Electric Blue */
    --accent-color: #00E0C8;        /* Electric Teal/Cyan for accents */
    --text-color-dark: #222222;     /* Dark Grey */
    --text-color-light: #F0F0F0;    /* Light Grey/Off-White for dark backgrounds */
    --background-color-main: #F4F7F9; /* Very Light Cool Grey */
    --background-color-widget: #FFFFFF; /* White for widgets */
    --border-color-light: #fff;  /* White for all borders */
    --border-color-dark: #fff;   /* White for all borders */
    --button-primary-bg: var(--primary-color);
    --button-primary-text: #FFFFFF;
    --box-shadow-light: 0 2px 8px rgba(0, 169, 224, 0.1);
    --box-shadow-strong: 0 4px 15px rgba(0, 169, 224, 0.15);
    --glow-effect: 0 0 15px rgba(0, 224, 200, 0.5);

    /* Legacy variables for home.html compatibility */
    --text-color: #333;
    --light-text-color: #fff;
    --bg-color: #fff;
    --light-gray-bg: #f4f8fb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif; /* Default font for the app */
    color: var(--text-color-dark);
    background-color: var(--background-color-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* From style2.css body, for pages that use its styling (e.g. home.html) */
    overflow-x: hidden;
}

html { /* From style2.css */
    scroll-behavior: smooth;
    font-size: 16px; /* Set a base font size */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* overflow: hidden; removed to allow scrolling */
}

/* Header (Matches your example for ai-chat.html, login.html) */
.app-header.sticky {
    width: 100%;
    background-color: transparent; /* Make header transparent */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px; /* Adjust padding */
    box-shadow: none; /* Remove shadow for a flatter look */
    position: sticky;
    top: 0;
    z-index: 10;
    height: 70px; /* Adjust height */
    flex-shrink: 0;
    /* border-bottom: 1px solid #fff; White border removed */
}

.app-header #logo-img {
    height: 40px; /* Standardized logo height */
    vertical-align: middle; /* Ensure proper alignment */
}

.header-logo {
    margin-left: auto;
}

/* Brand lockup: head icon + MedMock wordmark */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.brand-logo img { display: inline-block; }
.brand-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: var(--text-color-dark);
}
body.light-mode .brand-text { color: var(--text-color-dark); }

.header-placeholder {
    width: 40px; /* Same as logo height to balance the header */
}

.app-header .top-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.app-header .top-nav a {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-color-dark);
    position: relative; /* Needed for the ::after pseudo-element */
    padding-bottom: 8px; /* Match home.html nav a for consistent baseline */
    transition: color 0.3s ease; /* Added transition for color */
}

.app-header .top-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width var(--transition-speed) ease, background-color var(--transition-speed) ease;
    opacity: 0;
}

.app-header .top-nav a:hover,
.app-header .top-nav a.active {
    color: var(--primary-color);
}

.app-header .top-nav a:hover::after,
.app-header .top-nav a.active::after {
    width: 100%;
    opacity: 1;
}

/* Main Content Area (for ai-chat.html, login.html) */
.main-content {
    display: flex;
    flex-grow: 1;
    /* overflow: hidden; removed to allow scrolling */
    margin-top: 0;
    transition: margin 0.3s, width 0.3s;
}

/* Collapsible Sidebar for ai-chat.html */
.sidebar-collapsible {
    width: 16rem;
    min-width: 12rem;
    max-width: 18rem;
    background: var(--background-color-widget);
    border-right: 1px solid #fff;
    box-shadow: 2px 0 8px rgba(0, 169, 224, 0.04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center; /* Vertically center children */
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1), min-width 0.4s cubic-bezier(0.4,0,0.2,1), max-width 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.4s cubic-bezier(0.4,0,0.2,1), margin 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    z-index: 10;
    font-size: 1rem;
    gap: 0.5rem;
    border-top-right-radius: 12px; /* Rounded top right edge */
}

.sidebar-collapsible.collapsed {
    width: 0;
    min-width: 0;
    max-width: 0;
    overflow-x: hidden;
    padding-left: 0;
    padding-right: 0;
    border-right: none;
}

.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color-dark);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

body.light-mode .theme-toggle-btn:hover {
    background-color: rgba(0,0,0,0.1);
}

.theme-toggle-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

#logo-img {
    filter: invert(1);
}

body.light-mode #logo-img {
    filter: none;
}

.sidebar-toggle {
    background: none;
    border: none;
    /* Padding is already white space, so no change needed for padding */
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
    width: 10%;
    max-width: 58px;
    min-width: 36px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1), max-width 0.4s cubic-bezier(0.4,0,0.2,1), min-width 0.4s cubic-bezier(0.4,0,0.2,1), height 0.4s cubic-bezier(0.4,0,0.2,1), margin 0.4s cubic-bezier(0.4,0,0.2,1);
    outline: none;
    position: relative;
}

/* Vertically center sidebar toggle on desktop */
@media (min-width: 769px) {
    .sidebar-collapsible {
        position: relative;
    }
    .sidebar-toggle {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        margin-left: 0;
        margin-right: 0;
        z-index: 20;
    }
    .sidebar-logo {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 10;
    }
}
.sidebar-toggle:focus {
    outline: none;
}
.sidebar-toggle:hover {
    background: none;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-color-dark);
    margin: 4px 0;
    border-radius: 2px;
    transition: background 0.2s;
}

.sidebar-collapsible.collapsed .sidebar-toggle {
    align-items: center;
    justify-content: flex-start;
    margin: 12px auto 18px auto;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
}

.sidebar-collapsible:not(.collapsed) .sidebar-toggle {
    align-items: flex-end;
    justify-content: flex-start;
    margin: 12px 0 18px 0;
    position: static;
    top: auto;
    left: auto;
    transform: none;
}

.tab-navigation-vertical {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 10px 10px 10px;
}

.sidebar-collapsible.collapsed .tab-btn {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    font-size: 0;
    min-width: 40px;
    min-height: 40px;
    transition: background 0.2s, color 0.2s, font-size 0.3s, padding 0.3s, min-width 0.3s;
}
.sidebar-collapsible.collapsed .tab-btn::before {
    font-size: 1.2em;
    display: inline-block;
}
.sidebar-collapsible .tab-btn {
    text-align: left;
    justify-content: flex-start;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    min-width: 100px;
    min-height: 36px;
    transition: background 0.2s, color 0.2s, font-size 0.3s, padding 0.3s, min-width 0.3s;
    margin-bottom: 0.5em;
    outline: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
}
.sidebar-collapsible .tab-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    z-index: 2;
}
.sidebar-collapsible .tab-btn.active,
.sidebar-collapsible .tab-btn:active,
.sidebar-collapsible .tab-btn:hover,
.sidebar-collapsible .tab-btn:focus {
    background: var(--accent-color);
    color: var(--button-primary-text);
    font-weight: 700;
    transform: translateY(-4px) translateZ(10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 178, 255, 0.5);
}

.sidebar-heading {
    padding: 10px 16px 0;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .05em;
}

.station-tab {
    margin-left: 15px;
    width: calc(100% - 15px);
}

/* Hide text in collapsed state, show only icons if desired (optional) */
.sidebar-collapsible.collapsed .tab-btn span {
    display: none;
}
.sidebar-collapsible.collapsed .sidebar-nav-links span {
    display: none;
}
.sidebar-collapsible .sidebar-logout-btn {
    background: none;
    color: #e74c3c !important;
    border-radius: 0.5em;
    font-weight: 300;
    padding: 0;
    margin-top: 0;
    text-align: left;
    box-shadow: none;
    border: none;
    transition: color 0.2s;
    letter-spacing: 0;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5em;
    min-height: 2.75em;
    cursor: pointer;
    outline: none;
}
.sidebar-collapsible .sidebar-logout-btn:focus-visible {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
    z-index: 2;
}
.sidebar-collapsible .sidebar-logout-btn svg {
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    vertical-align: middle;
    width: 1.4em;
    height: 1.4em;
    pointer-events: none;
}
.sidebar-collapsible.collapsed .sidebar-logout-btn {
    justify-content: center;
}
.sidebar-collapsible.collapsed .sidebar-logout-btn svg {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
/* Hide all bottom nav icons except logout when collapsed */
.sidebar-collapsible.collapsed .sidebar-nav-links > a:not(.sidebar-logout-btn) {
    display: none !important;
}
.sidebar-collapsible .sidebar-logout-btn:hover,
.sidebar-collapsible .sidebar-logout-btn:focus {
    color: #b03a2e !important;
    background: none;
    text-decoration: underline;
    box-shadow: none;
}

.sidebar-nav-links a {
    font-weight: 300;
    color: var(--text-color-dark);
    opacity: 0.8;
}

.sidebar-nav-links a.active,
.sidebar-nav-links a:hover {
    opacity: 1;
    font-weight: 500;
}
.sidebar-collapsible.collapsed .sidebar-logout-btn span {
    display: inline !important;
}

/* History Tab Styles */
#history-container {
    display: block;
    height: 100%;
    padding: 20px;
}

#transcript-list-container {
    margin-bottom: 20px;
}

#transcript-dropdown {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#transcript-view-container {
    overflow-y: auto;
}

#transcript-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background-color: var(--background-color-widget);
    border-radius: 8px;
}

.conversation-view, .feedback-view {
    padding: 15px;
    background: var(--background-color-widget);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
}

.user-message {
    background-color: var(--primary-color);
    color: var(--button-primary-text);
}

body:not(.light-mode) .user-message {
    color: #fff;
}

.assistant-message {
    background-color: var(--background-color-main);
}

.feedback-view h3, .conversation-view h3 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.feedback-view ul {
    padding-left: 20px;
}

body.light-mode #transcript-content {
    background-color: #f9f9f9;
}

body.light-mode .conversation-view, body.light-mode .feedback-view {
    background: #fff;
    border-color: #444;
    color: var(--text-color-dark);
}

body.light-mode .user-message {
    background-color: #e1f5fe;
}

body.light-mode .assistant-message {
    background-color: #f1f8e9;
}

body.light-mode #transcript-dropdown {
    background-color: #fff;
    color: #333;
    border-color: #555;
}

@media (max-width: 768px) {
    #history-container {
        padding: 10px;
    }

    #transcript-content {
        grid-template-columns: 1fr;
    }

    .conversation-view, .feedback-view {
        max-height: none;
    }
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    font-weight: 300;
    color: var(--text-color-dark);
    opacity: 0.8;
}

.sidebar-collapsible.collapsed .theme-switch-wrapper {
    display: none;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Main content area next to sidebar */
.chat-interface-container {
    flex-grow: 1;
    padding: 20px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
    transition: margin-left 0.3s, padding 0.3s, width 0.3s;
}

@media (max-width: 900px) {
    .sidebar-collapsible {
        width: 3.5em;
        min-width: 3.5em;
        max-width: 3.5em;
    }
    .sidebar-collapsible:not(.collapsed) {
        width: 12em;
        min-width: 8em;
        max-width: 14em;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    .sidebar-collapsible,
    .sidebar-collapsible.collapsed {
        position: fixed;
        top: 0;
        left: 0;
        height: 100dvh;
        min-height: 100vh;
        width: 80vw;
        max-width: 90vw;
        z-index: 2000;
        border-right: 1px solid var(--border-color-light);
        border-bottom: none;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 2px 0 8px rgba(0, 169, 224, 0.12);
        background: var(--background-color-widget);
        transition: width 0.3s, left 0.3s;
        font-size: 1.1em;
        overflow-y: auto;
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }
    .sidebar-collapsible.collapsed {
        left: -100vw;
        width: 0;
        min-width: 0;
        max-width: 0;
        box-shadow: none;
        border-right: none;
        padding-top: 0;
        padding-bottom: 0;
    }
    .tab-navigation-vertical {
        flex-direction: column;
        gap: 0.5em;
        padding: 0 0.5em 0.5em 0.5em;
        width: 100%;
    }
    .sidebar-toggle {
        margin: 0.75em 0 1.1em 0.75em;
        border-radius: 0.5em;
    }
    .sidebar-collapsible .tab-btn,
    .sidebar-collapsible.collapsed .tab-btn {
        width: 100%;
        min-width: 100%;
        font-size: 1em;
        padding: 1em 1.25em;
        margin-bottom: 0.5em;
        justify-content: flex-start;
        text-align: left;
        border-radius: 0.5em;
        transition: background 0.2s, color 0.2s, font-size 0.3s, padding 0.3s, min-width 0.3s;
        min-height: 44px;
    }
    .sidebar-collapsible.collapsed .tab-btn span {
        display: inline;
    }
    .sidebar-collapsible .sidebar-logout-btn {
        min-height: 44px;
        padding-left: 0;
    }
    .chat-interface-container {
        padding: 0;
        margin-left: 0 !important;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        box-shadow: none;
    }
    .chat-box {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
}

/* Chat Interface Container (Main area next to sidebar for ai-chat.html) */
.chat-interface-container {
    flex-grow: 1;
    padding: 20px 15px 0; /* Add padding to the top and sides */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-y: auto; /* Allow vertical scrolling */
}

/* Tab Navigation (for ai-chat.html) */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 1;
}

.tab-btn {
    background: #e1f5fe; /* Lighter, less saturated blue for inactive tabs */
    border: 1px solid transparent;
    color: var(--text-color-dark);
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: none;
}
.tab-btn:hover {
    background: var(--secondary-color); /* Use secondary color for hover */
    color: var(--text-color-dark);
}
.tab-btn.active {
    background: var(--background-color-widget);
    color: var(--primary-color);
    border-color: var(--border-color-light);
    font-weight: 600;
    box-shadow: none;
    z-index: 2;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--background-color-widget); /* Cover the bottom border */
}

/* Tab Content (for ai-chat.html) */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
    padding-top: 10px;
}
.tab-content.active-tab {
    display: flex; /* Changed from block */
    flex-direction: column; /* Added */
    flex-grow: 1; /* Added */
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab Overview Styles */
.tab-overview {
    background-color: var(--background-color-widget);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    border: 1px solid #fff;
    box-shadow: var(--box-shadow-light);
}

.tab-overview h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.tab-overview p {
    color: var(--text-color-dark);
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.tab-overview ul {
    list-style: none; /* Changed from disc to none for custom styling */
    padding-left: 0; /* Remove default padding */
    margin-bottom: 15px;
}

.tab-overview ul li {
    color: var(--text-color-dark);
    font-size: 0.95em;
    margin-bottom: 10px;
    padding-left: 25px; /* Space for custom bullet */
    position: relative;
}

.tab-overview ul li::before {
    content: '➔'; /* Custom bullet */
    color: var(--accent-color); /* Use accent color for bullet */
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -1px; /* Adjust vertical alignment */
    font-weight: bold;
}

.tab-overview ul li strong {
    font-weight: 600;
    color: var(--primary-color);
}


/* Condition Selector (Inside tabs - for ai-chat.html) */
.condition-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

#feedback-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

#transcriptDropdown {
    width: 300px;
}
.dropdown {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    width: auto;
    min-width: 220px;
    padding: 10px 12px;
    border: 1px solid #fff;
    border-radius: 6px;
    background-color: var(--background-color-widget);
    color: var(--text-color-dark);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    appearance: none;
}

/* Show chevron only for real select elements */
select.dropdown {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300A9E0' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* Ensure inputs styled as dropdowns have no arrow */
input.dropdown,
textarea.dropdown {
    background-image: none !important;
    padding-right: 12px;
}
.dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 169, 224, 0.2);
}

#metric-filter-dropdown {
    background-color: var(--background-color-widget);
    color: var(--text-color-dark);
    border: 1px solid var(--border-color-light);
}

.light-mode #metric-filter-dropdown {
    background-color: var(--background-color-widget);
    color: var(--text-color-dark);
    border-color: var(--border-color-light);
}

.time-filter-btn {
    background-color: transparent;
    color: var(--text-color-dark);
    border: none;
}

.time-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--button-primary-text);
}

.dropdown.condition-blurred-disabled {
    filter: blur(7px);
    color: transparent !important;
    text-shadow: 0 0 0 rgba(0,0,0,0);
    box-shadow: 0 0 15px 4px var(--accent-color);
    opacity: 0.75;
    pointer-events: none;
    user-select: none;
    background-image: none !important;
}
.condition-selector label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--text-color-dark);
}
.condition-selector input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

/* Persona Selection Container */
.persona-selection-container {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .persona-selection-container {
        padding: 10px;
    }
}

.persona-selection-container.show {
    opacity: 1;
}

.persona-selection-header {
    text-align: center;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    background: var(--background-color);
    z-index: 10;
    padding: 15px 0;
    margin: -15px -15px 20px -15px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 768px) {
    .persona-selection-header {
        margin-bottom: 15px;
        padding: 10px 0;
        margin: -10px -10px 15px -10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.persona-selection-header-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
}

.persona-selection-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 10px;
}

@media (max-width: 768px) {
    .persona-selection-title-row {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 0.5rem;
    }
}

.persona-selection-header h2 {
    color: var(--text-color-dark);
    margin: 0;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .persona-selection-header h2 {
        font-size: 1.25rem;
        text-align: center;
    }
}

.persona-selection-header p {
    color: var(--text-color-light);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .persona-selection-header p {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
}

.persona-condition-filter {
    margin-bottom: 20px;
    text-align: center;
}

.persona-condition-filter label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color-dark);
    font-weight: 500;
}

/* New Filter Interface Styles */
.persona-filters {
    margin-bottom: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .persona-filters {
        margin-bottom: 10px;
    }
}

.filter-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .filter-buttons {
        gap: 6px;
        flex-direction: column;
        align-items: center;
    }
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    background: var(--background-color-widget);
    color: var(--text-color-dark);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 160px;
    justify-content: center;
}

@media (max-width: 768px) {
    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 140px;
        gap: 4px;
    }
}

.filter-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--button-primary-text);
}

.filter-btn.clear-btn {
    border-color: var(--error-color);
    color: var(--error-color);
}

.filter-btn.clear-btn:hover {
    background: var(--error-color);
    color: white;
}

.filter-icon {
    font-size: 16px;
}

.filter-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Filter Modal Styles */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.filter-modal-content {
    background: var(--background-color-widget);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
}

.filter-modal-header h3 {
    margin: 0;
    color: var(--text-color-dark);
    font-size: 20px;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background: var(--border-color);
    color: var(--text-color-dark);
}

.filter-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.filter-search-container {
    margin-bottom: 20px;
}

.filter-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--background-color);
    color: var(--text-color-dark);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-bubbles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-bubble {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--background-color);
    color: var(--text-color-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
    position: relative;
}

.filter-bubble:hover {
    border-color: var(--primary-color);
    background: var(--primary-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-bubble.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--button-primary-text);
}

.filter-bubble-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Station Selection Styles */
.station-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .station-selection-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
        padding: 0 15px;
    }
    
    .station-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .station-icon {
        font-size: 2rem;
    }
    
    .station-name {
        font-size: 1.1rem;
    }
    
    .station-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .station-selection-grid {
        padding: 0 10px;
        gap: 12px;
    }
    
    .station-card {
        padding: 16px;
        margin: 0 5px;
    }
    
    .station-icon {
        font-size: 1.8rem;
    }
    
    .station-name {
        font-size: 1rem;
    }
    
    .station-description {
        font-size: 0.8rem;
    }
}

.station-card {
    background: var(--background-color-widget);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.station-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-light);
}

.station-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.station-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.station-description {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.4;
}

.selection-actions {
    text-align: center;
    margin-top: 30px;
    padding: 0 20px;
}

/* Station Selection Header Text Visibility */
#selection-mode-screen .selection-header h2 {
    color: #ffffff !important;
    text-align: center;
}

#selection-mode-screen .selection-header p {
    color: #cccccc !important;
    text-align: center;
}

/* Chat with Tips Layout */
.chat-with-tips-container {
    display: flex;
    gap: 20px;
    height: 100%;
    width: 100%;
}

.chat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allows flex item to shrink */
}

/* Tips Panel */
.tips-panel {
    width: 280px;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: 400px;
    transition: all 0.3s ease;
}

.tips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: none;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.tips-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-switch-container {
    display: flex;
    align-items: center;
}

.tips-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    cursor: pointer;
}

.tips-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tips-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tips-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 1px;
    bottom: 1px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tips-switch input:checked + .tips-slider {
    background-color: rgba(59, 130, 246, 0.6);
    border-color: rgba(59, 130, 246, 0.8);
}

.tips-switch input:checked + .tips-slider:before {
    transform: translateX(14px);
}

.tips-switch:hover .tips-slider {
    background-color: rgba(255, 255, 255, 0.3);
}

.tips-switch input:checked:hover + .tips-slider {
    background-color: rgba(59, 130, 246, 0.8);
}

/* Disabled state for tips panel */
.tips-panel.disabled .tips-header {
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.6;
}

.tips-panel.disabled .tips-header h3 {
    color: #888888;
}

.tips-panel.disabled .tips-content {
    opacity: 0.4;
}

.tips-panel.disabled .tip-item {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.tips-header h3 {
    margin: 0;
    color: #cccccc;
    font-size: 0.85rem;
    font-weight: 500;
}

.tips-toggle {
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    padding: 2px;
    border-radius: 3px;
    transition: all 0.2s;
    opacity: 0.7;
}

.tips-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tips-content {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.tip-item {
    margin-bottom: 0;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 6px;
    border-left: 2px solid rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.tip-item p {
    margin: 0;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 400;
}

.tip-item.active {
    background: var(--secondary-color);
    border-left-color: var(--accent-color);
}

.tip-item.generated-tip {
    background: rgba(59, 130, 246, 0.15);
    border-left-color: rgba(59, 130, 246, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
    animation: tipHighlight 0.3s ease-in-out;
}

.tip-item.generated-tip p {
    color: #ffffff;
    font-weight: 500;
}

@keyframes tipHighlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Mobile responsive tips */
@media (max-width: 768px) {
    .chat-with-tips-container {
        flex-direction: column;
        gap: 0;
    }
    
    .tips-panel {
        width: 100%;
        order: -1; /* Show tips above chat on mobile */
        margin-bottom: 6px;
        /* Start collapsed on mobile */
        max-height: 35px;
        opacity: 0.6;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }
    
    .tips-panel.expanded {
        max-height: 150px;
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }
    
    .tips-panel:not(.expanded) .tips-content {
        display: none;
    }
    
    .tips-panel.has-tip {
        animation: tipGlow 2s ease-in-out infinite;
        opacity: 0.9;
    }
    
    .tips-toggle {
        display: block;
        transition: all 0.3s ease;
    }
    
    .tips-header {
        padding: 8px 12px;
        background: transparent;
        cursor: pointer;
        margin-bottom: 0;
    }
    
    .tips-header h3 {
        font-size: 0.8rem;
        opacity: 0.8;
        color: #aaaaaa;
    }
    
    .tips-controls {
        gap: 6px;
    }
    
    .tips-switch {
        width: 28px;
        height: 16px;
    }
    
    .tips-slider:before {
        height: 12px;
        width: 12px;
    }
    
    .tips-switch input:checked + .tips-slider:before {
        transform: translateX(12px);
    }
}

@keyframes tipGlow {
    0%, 100% { 
        box-shadow: 0 0 0 rgba(59, 130, 246, 0.4);
        border-color: var(--border-color);
    }
    50% { 
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
        border-color: rgba(59, 130, 246, 0.8);
    }
}

@media (min-width: 769px) {
    .tips-toggle {
        display: none; /* Hide toggle on desktop */
    }
}

/* Mobile responsive for selection header and actions */
@media (max-width: 768px) {
    .selection-header {
        padding: 0 15px;
    }
    
    .selection-header h2 {
        font-size: 1.5rem;
    }
    
    .selection-header p {
        font-size: 0.9rem;
    }
    
    .selection-actions {
        margin-top: 20px;
        padding: 0 15px;
    }
    
    .selection-actions .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .selection-header {
        padding: 0 10px;
    }
    
    .selection-header h2 {
        font-size: 1.3rem;
    }
    
    .selection-header p {
        font-size: 0.85rem;
    }
    
    .selection-actions {
        margin-top: 15px;
        padding: 0 10px;
    }
}

.persona-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
    .persona-selection-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 15px;
    }
}

.persona-selection-grid.loaded {
    opacity: 1;
}

.persona-selection-grid.loading {
    opacity: 0.5;
    pointer-events: none;
}

.persona-card {
    background: var(--background-color-widget);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.95);
    animation: personaCardSlideIn 0.4s ease forwards;
}

@media (max-width: 768px) {
    .persona-card {
        padding: 12px;
        border-radius: 10px;
    }
}

.persona-card:nth-child(1) { animation-delay: 0.1s; }
.persona-card:nth-child(2) { animation-delay: 0.15s; }
.persona-card:nth-child(3) { animation-delay: 0.2s; }
.persona-card:nth-child(4) { animation-delay: 0.25s; }
.persona-card:nth-child(5) { animation-delay: 0.3s; }
.persona-card:nth-child(6) { animation-delay: 0.35s; }
.persona-card:nth-child(7) { animation-delay: 0.4s; }
.persona-card:nth-child(8) { animation-delay: 0.45s; }
.persona-card:nth-child(9) { animation-delay: 0.5s; }
.persona-card:nth-child(10) { animation-delay: 0.55s; }
.persona-card:nth-child(11) { animation-delay: 0.6s; }
.persona-card:nth-child(12) { animation-delay: 0.65s; }

@keyframes personaCardSlideIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading Animation */
.persona-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .persona-loading {
        padding: 20px;
    }
}

.persona-loading.show {
    opacity: 1;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .loading-spinner {
        width: 25px;
        height: 25px;
        border: 2px solid var(--border-color);
        border-top: 2px solid var(--primary-color);
        margin-right: 10px;
    }
}

.loading-text {
    color: var(--text-color-light);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .loading-text {
        font-size: 13px;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ECG Viewing Styles */
.vignette-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

@media (max-width: 768px) {
    .vignette-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }
}

.ecg-view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ecg-view-btn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Vignette View Button (for Data Interpretation station in chat) */
#viewVignetteBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
    flex-shrink: 0;
}

#viewVignetteBtn:hover {
    background: var(--secondary-color-dark, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#viewVignetteBtn .vignette-icon {
    font-size: 16px;
}

#viewVignetteBtn .vignette-text {
    font-size: 14px;
}

/* Proceed to Examiners Button (for History Taking station in chat) */
#proceedToExaminersBtn {
    min-width: 200px;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .ecg-view-btn {
        padding: 8px 12px;
        font-size: 13px;
        gap: 6px;
        align-self: flex-end;
    }
    
    #viewVignetteBtn {
        padding: 8px 12px;
        font-size: 13px;
        gap: 6px;
        min-width: 120px;
        flex-shrink: 0;
        flex-grow: 0 !important;
    }
    
    #viewVignetteBtn .vignette-text {
        font-size: 13px;
    }
    
    #proceedToExaminersBtn {
        min-width: 160px;
        flex-shrink: 0;
        flex-grow: 0 !important;
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* Fix timer container on tablet to prevent flexing */
    .timer-container {
        min-width: 75px !important;
        flex-shrink: 0 !important;
        padding: 7px 18px !important;
    }
}

@media (max-width: 480px) {
    #viewVignetteBtn {
        min-width: 100px;
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
    }
    
    #viewVignetteBtn .vignette-text {
        font-size: 12px;
    }
    
    #proceedToExaminersBtn {
        min-width: 140px;
        font-size: 12px;
        padding: 6px 10px;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
    }
    
    /* Fix timer container on mobile to prevent flexing */
    .timer-container {
        min-width: 70px !important;
        flex-shrink: 0 !important;
        padding: 6px 16px !important;
    }
    
    /* Ultra-compact mobile top bar for small screens */
    .top-bar {
        gap: 4px !important;
        padding: 6px 0 !important;
    }
    
    .top-bar .mood-display {
        font-size: 11px !important;
        padding: 3px 6px !important;
    }
    
    .top-bar .timer-container {
        min-width: 55px !important;
        padding: 3px 10px !important;
        font-size: 11px !important;
    }
    
    .top-bar-center {
        gap: 4px !important;
    }
    
    .top-bar #viewVignetteBtn {
        min-width: 80px !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
    
    .top-bar #proceedToExaminersBtn {
        min-width: 120px !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
    
    /* Compact end conversation button */
    .top-bar #endconversationbtn {
        width: 24px !important;
        height: 24px !important;
        padding: 0 !important;
    }
    
    .top-bar #endconversationbtn svg {
        width: 20px !important;
        height: 20px !important;
    }
}

.ecg-icon {
    font-size: 16px;
}

.ecg-text {
    font-weight: 600;
}

/* ECG Modal Styles */
.ecg-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.ecg-modal-content {
    background: var(--background-color-widget);
    border-radius: 16px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.ecg-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
}

.ecg-modal-header h3 {
    margin: 0;
    color: var(--text-color-dark);
    font-size: 20px;
}

.ecg-modal-body {
    padding: 0;
    max-height: calc(90vh - 80px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .ecg-modal-body {
        padding: 0;
    }
}

.ecg-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .ecg-image-container {
        padding: 5px;
        border-radius: 8px;
    }
}

.ecg-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .ecg-image {
        max-height: 75vh;
    }
}


.persona-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

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

@media (max-width: 768px) {
    .persona-card-header {
        margin-bottom: 10px;
    }
}

.persona-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .persona-name {
        font-size: 1rem;
    }
}

.persona-age-sex {
    font-size: 0.8rem;
    color: var(--text-color-dark);
    background: var(--primary-color);
    color: white;
    padding: 3px 6px;
    border-radius: 5px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .persona-age-sex {
        font-size: 0.75rem;
        padding: 2px 5px;
    }
}

.persona-condition {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .persona-condition {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
}

.persona-details {
    font-size: 0.85rem;
    color: var(--text-color-light);
    line-height: 1.4;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .persona-details {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
}

.persona-stations {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .persona-stations {
        gap: 4px;
        margin-bottom: 10px;
    }
}

.station-tag {
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .station-tag {
        padding: 2px 6px;
        font-size: 0.7rem;
        border-radius: 8px;
    }
}

.select-persona-btn {
    width: 100%;
    padding: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .select-persona-btn {
        padding: 6px;
        font-size: 0.8rem;
        border-radius: 6px;
    }
}

.select-persona-btn:hover {
    background: var(--primary-color-dark);
}

/* Shared Controls (Voice buttons, Visualizer, Chat Box for ai-chat.html) */
.shared-controls {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    flex-grow: 1;
    position: relative;
    z-index: 100; /* Ensure it's on top */
}

.chat-mode-selection {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 20;
}

.mode-select-btn {
    background: transparent;
    border: none;
    color: var(--text-color-dark);
    font-size: 1.5rem;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.mode-select-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.mode-select-btn .btn-icon {
    display: none; /* Hide the icon */
}

.chat-controls-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    transition: filter 0.3s ease-in-out;
}

.chat-controls-main.blurred {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    margin-bottom: 15px;
    min-height: 50px; /* Ensure consistent height */
}

.top-bar-center {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

/* Patient Mood Indicator Styles */
.mood-display {
    display: inline-flex;
    align-items: center;
    background-color: var(--background-color-widget);
    border: 1px solid #fff;
    border-radius: 28px;
    box-shadow: var(--box-shadow-light);
    padding: 8px 20px;
    font-size: 16px;
    color: var(--text-color-dark);
    font-family: 'Poppins', sans-serif;
    margin-right: 10px;
    min-width: 120px; /* Minimum width for consistency */
    width: auto; /* Auto-expand to fit content */
    flex-shrink: 1; /* Allow shrinking when needed */
    white-space: nowrap; /* Keep text on single line */
}
.mood-label {
    font-weight: 600;
    margin-right: 0.4em;
}
.mood-value {
    font-weight: 400;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Desktop-specific mood display improvements */
@media (min-width: 769px) {
    .mood-display {
        min-width: 140px !important; /* Minimum space on desktop */
        /* No max-width - let it expand as needed */
    }
}

.chat-actions {
    display: flex;
    gap: 10px;
}

.btn-icon-only {
    font-size: 1.2rem;
    padding: 8px 12px;
    min-width: auto;
}

.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}
/* General .btn styles for app pages (ai-chat, login) */
.btn {
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    font-family: 'Poppins', sans-serif;
    font-size: 14px; /* Slightly smaller font */
    font-weight: 500;
    border: none;
    padding: 10px 16px; /* Adjust padding */
    border-radius: 8px; /* Consistent rounded corners */
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: none; /* Remove shadow for a flatter look */
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}
.btn:hover {
    background: var(--accent-color); /* Changed to accent color for hover */
    box-shadow: var(--box-shadow-strong);
    transform: translateY(-2px) scale(1.02);
}
.btn:active {
    transform: translateY(0px) scale(1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Graphic & Circle (Visualizer for ai-chat.html) */
.graphic-container {
    display: none; /* Hide the old visualizer */
}
.circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--background-color-widget);
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 169, 224, 0.3), var(--glow-effect);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: box-shadow 0.4s ease-in-out, transform 0.3s ease-in-out, border-color 0.3s ease;
}
.circle:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow-strong);
}
.equalizer {
    display: flex;
    gap: 5px;
    position: absolute;
    z-index: 1;
    align-items: flex-end;
    height: 40px;
}
.bar {
    width: 6px; /* Thinner bars */
    height: 8px;
    background: var(--primary-color); /* Use primary color */
    border-radius: 3px;
    animation: idle 1.5s infinite ease-in-out;
}
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(1) { animation-delay: 0.4s; }


@keyframes idle {
    0%, 100% { height: 10px; opacity: 0.7; }
    50% { height: 30px; opacity: 1; }
}
.loader {
    position: absolute;
    width: 110px;
    height: 110px;
    border: 5px solid transparent;
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    z-index: 10;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.circle.listening {
    border-color: #39FF14;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.7), 0 0 15px rgba(57, 255, 20, 0.5);
}
.circle.speaking {
    border-color: #FF4500;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.7), 0 0 15px rgba(255, 69, 0, 0.5);
}
.circle.thinking {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 224, 200, 0.7), var(--glow-effect);
}
.circle.listening .bar {
    background: #39FF14;
    animation: equalizer 0.4s infinite alternate ease-in-out;
}
.circle.speaking .bar {
    background: #FF4500;
    animation: equalizer 0.25s infinite alternate ease-in-out;
}
.circle.thinking .loader { display: block !important; }
.circle.thinking .equalizer { display: none !important; }

@keyframes equalizer {
    0% { height: 8px; opacity: 0.5; }
    100% { height: 35px; opacity: 1; }
}

/* Pulsating Animation Keyframes */
@keyframes pulse-listening {
    0% { box-shadow: 0 0 5px rgba(57, 255, 20, 0.4); }
    50% { box-shadow: 0 0 20px rgba(57, 255, 20, 0.9); }
    100% { box-shadow: 0 0 5px rgba(57, 255, 20, 0.4); }
}
@keyframes pulse-speaking {
    0% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.9); }
    100% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.4); }
}
@keyframes pulse-thinking {
    0% { box-shadow: 0 0 5px rgba(0, 224, 200, 0.4); }
    50% { box-shadow: 0 0 20px rgba(0, 224, 200, 0.9); }
    100% { box-shadow: 0 0 5px rgba(0, 224, 200, 0.4); }
}

/* Chat Box (for ai-chat.html) */
.chat-box {
    width: 100%;
    max-width: 900px; /* Ensure it doesn't get too wide */
    background: transparent;
    display: flex;
    flex-direction: column;
    border: none;
    flex-grow: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: none;
    height: 70vh; /* ADDED: Set a fixed height for the chat area */
}
.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background: transparent;
    color: var(--text-color-dark);
    word-wrap: break-word;
    display: flex;
    flex-direction: column-reverse; /* This is the correct approach for top-down messages */
}
.chat-messages .user-message,
.chat-messages .bot-message {
    padding: 12px 18px;
    border-radius: 18px; /* More rounded bubbles */
    margin-bottom: 12px;
    max-width: 85%;
    line-height: 1.5;
    font-size: 1rem; /* Larger font size */
    box-shadow: none; /* Remove shadow */
    border: none; /* Remove border */
}
.chat-messages .user-message {
    background-color: var(--primary-color);
    color: var(--button-primary-text);
    margin-left: auto;
    border-bottom-right-radius: 3px;
}
.chat-messages .bot-message {
    background-color: var(--background-color-widget);
    color: var(--text-color-dark);
    margin-right: auto;
    border: 1px solid #fff;
    border-bottom-left-radius: 4px; /* Asymmetrical rounding */
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background-color: var(--background-color-widget);
    border: 1px solid #fff;
    border-radius: 28px;
    margin: 10px auto;
    width: 100%;
    max-width: 720px;
    box-shadow: var(--box-shadow-light);
    position: relative;
    transition: border-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* New Visualizer Styles for Chat Input */
.chat-input.listening {
    border-color: #39FF14;
    animation: pulse-listening 1.5s infinite;
}
.chat-input.speaking {
    border-color: #FF4500;
    animation: pulse-speaking 1.5s infinite;
}
.chat-input.thinking {
    border-color: var(--accent-color);
    animation: pulse-thinking 1.5s infinite;
}

#chatInput {
    flex-grow: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: var(--text-color-dark);
    padding: 10px 10px 10px 20px;
    min-width: 0;
    line-height: 1.5;
}
#chatInput:focus {
    box-shadow: none;
}
#sendTextMessageButton {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    transition: transform 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}
#sendTextMessageButton:hover {
    transform: scale(1.1);
}
#sendTextMessageButton svg {
    width: 100%;
    height: 100%;
    min-width: 20px;
    min-height: 20px;
    fill: var(--primary-color);
    display: block;
}

#voiceModeButton {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    transition: transform 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#voiceModeButton:hover {
    transform: scale(1.1);
}

#voiceModeButton svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    transition: stroke 0.3s ease;
}

#voiceModeButton.active {
    border-color: var(--primary-color);
}

#voiceModeButton.active svg {
    stroke: #39FF14; /* Green color for active mic */
}

/* Footer (for ai-chat.html, login.html) */
.app-footer {
    background-color: var(--background-color-widget);
    color: var(--text-color-dark);
    text-align: center;
    padding: 15px 40px;
    font-size: 13px;
    border-top: 1px solid #fff;
    margin-top: auto;
    flex-shrink: 0;
    height: 50px;
}

/* Hide original elements that are replaced by new UI (for ai-chat.html) */
#sphereVisualizerCanvas, #toggleButton, #status,
#mode,
.controls-area .dropdown-controls,
.controls-area .voice-controls
 {
    display: none !important;
}

/* Loading Overlay Styles (for ai-chat.html) */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    padding: 30px;
    background-color: transparent;
    border-radius: 12px;
}

.loading-animation {
    border: 7px solid rgba(243, 243, 243, 0.3);
    border-top: 7px solid var(--text-color-light);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px auto;
}

.loading-text-style {
    color: var(--text-color-light);
    font-size: 1.3em;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}


/* --- Mobile Responsiveness for App Pages (ai-chat, login) --- */
@media (max-width: 768px) {
    .app-header.sticky {
        padding: 12px 20px; /* Increased padding for better spacing */
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .app-header #logo-img {
        height: 40px;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: 0;
        display: block;
    }

    .app-header .top-nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: flex-start; /* Push items to the left */
        margin-left: 20px; /* Add space from the logo */
        /* font-size: 14px; Applied to individual links if needed */
    }
    .app-header .top-nav a { /* General links in app header on mobile */
        padding: 5px 0;
        font-size: 14px;
    }
    .app-header .top-nav a.nav-cta { /* Specific styling for .nav-cta button in app header on mobile */
        background: none !important; /* Remove button background */
        color: #fff !important; /* White text */
        padding: 0; /* Remove padding */
        border-radius: 0; /* Remove border radius */
        border: none !important; /* Remove all borders */
        font-weight: 400;
        font-size: 14px;
        letter-spacing: 0.3px;
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
        box-shadow: none !important; /* Remove shadow */
    }
    
    /* Override login-btn border specifically for mobile */
    .app-header .top-nav a.login-btn {
        border: none !important;
    }
    
    /* Animated underline for mobile nav-cta */
    .app-header .top-nav a.nav-cta::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1px;
        background: #fff;
        transition: width 0.3s ease;
    }
    
    .app-header .top-nav a.nav-cta:hover::after {
        width: 100%;
    }
    
    .app-header .top-nav a.nav-cta:hover {
        background: none !important;
        border: none !important;
        transform: none;
        box-shadow: none !important;
    }
    
    /* Active state for mobile nav-cta */
    .app-header .top-nav a.nav-cta:active {
        opacity: 0.7;
        transform: translateY(1px);
    }

    .chat-interface-container {
        padding: 15px;
    }

    .tab-navigation {
        gap: 2px;
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .condition-selector {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .dropdown, .condition-selector .btn { /* .btn here refers to app's .btn */
        width: 100%;
        min-width: unset;
    }
    .condition-selector label {
        justify-content: flex-start;
        margin-left: 0;
    }


    .top-bar { /* For ai-chat.html */
        flex-wrap: wrap; /* Allow wrapping on very small screens */
        gap: 8px;
        padding: 8px 0;
        align-items: center;
        min-height: 45px;
        position: relative; /* For absolute positioning of end button on small screens */
    }

    .top-bar .btn { /* For ai-chat.html */
        font-size: 14px;
        padding: 8px 12px;
        flex-shrink: 1; /* Allow buttons to shrink */
    }
    
    /* Ensure end chat button stays fixed and visible */
    .top-bar #endconversationbtn {
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        min-width: 36px !important;
        width: 36px !important;
        height: 36px !important;
        order: 999; /* Ensure it's always last */
    }
    
    /* Mood display - allow more space on mobile */
    .top-bar .mood-display {
        font-size: 13px;
        padding: 6px 12px;
        min-width: 100px !important;
        width: auto !important; /* Auto-expand on mobile too */
        flex-shrink: 1; /* Allow shrinking */
        order: 1; /* First element */
    }
    
    .top-bar .timer-container {
        min-width: 55px !important;
        padding: 6px 10px !important;
        font-size: 13px;
        flex-shrink: 0;
        order: 2;
    }
    
    .top-bar-center {
        gap: 8px !important;
        flex-shrink: 1;
        min-width: 0;
        order: 3;
        flex: 1;
        justify-content: center;
    }
    
    /* Specific button handling */
    .top-bar #viewVignetteBtn,
    .top-bar #proceedToExaminersBtn {
        flex-shrink: 1 !important;
        min-width: auto !important;
        max-width: 200px; /* Prevent buttons from getting too wide */
    }
    
    /* For very small screens, stack elements */
    @media (max-width: 480px) {
        .top-bar {
            flex-direction: column;
            align-items: stretch;
            gap: 6px !important;
            padding: 8px 0 !important;
        }
        
        .top-bar .mood-display {
            min-width: 80px !important;
            width: auto !important; /* Auto-expand on very small screens */
            font-size: 12px !important;
            padding: 4px 8px !important;
            order: 1;
            align-self: flex-start;
        }
        
        .top-bar .timer-container {
            min-width: auto !important;
            padding: 4px 8px !important;
            font-size: 12px !important;
            order: 2;
            align-self: flex-start;
        }
        
        .top-bar-center {
            order: 3;
            justify-content: center;
            margin: 4px 0;
        }
        
        .top-bar .btn {
            font-size: 12px !important;
            padding: 6px 10px !important;
            flex: 1;
        }
        
        .top-bar #endconversationbtn {
            position: absolute !important;
            top: 8px !important;
            right: 8px !important;
            min-width: 32px !important;
            width: 32px !important;
            height: 32px !important;
            order: 999;
        }
        
        .top-bar #endconversationbtn svg {
            width: 18px !important;
            height: 18px !important;
        }
    }

    .graphic-container { /* For ai-chat.html */
        height: 150px;
    }
    .circle { /* For ai-chat.html */
        width: 100px;
        height: 100px;
    }
    .loader { /* For ai-chat.html */
        width: 80px;
        height: 80px;
    }

    .chat-box { /* For ai-chat.html */
        height: auto;
        min-height: 300px;
        max-height: 60vh;
    }

    .chat-messages .user-message, /* For ai-chat.html */
    .chat-messages .bot-message {
        max-width: 90%;
        font-size: 0.9rem;
    }

    #chatInput { /* For ai-chat.html */
        font-size: 14px;
    }
    #sendTextMessageButton { /* For ai-chat.html */
        padding: 10px 15px;
        font-size: 14px;
    }

    .app-footer { /* For ai-chat.html, login.html */
        padding: 10px 15px;
        font-size: 12px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .app-header .top-nav { /* For ai-chat.html, login.html */
        justify-content: flex-start; /* Keep items left-aligned */
        margin-left: 15px; /* Slightly less margin for smaller screens */
        gap: 12px; /* Slightly smaller gap for very small screens */
    }
    .app-header .top-nav a.nav-cta { /* Ultra-compact styling for very small screens */
        background: none !important; /* Remove button background */
        color: #fff !important; /* White text */
        padding: 0; /* Remove padding */
        border-radius: 0; /* Remove border radius */
        border: none !important; /* Remove all borders */
        font-weight: 400;
        font-size: 13px; /* Slightly smaller for very small screens */
        letter-spacing: 0.2px;
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
        box-shadow: none !important; /* Remove shadow */
    }
    
    /* Override login-btn border specifically for ultra-compact mobile */
    .app-header .top-nav a.login-btn {
        border: none !important;
    }
    .tab-btn { /* For ai-chat.html */
        flex-basis: calc(50% - 4px);
        text-align: center;
    }
    .chat-messages { /* For ai-chat.html */
        padding: 10px;
    }
    .chat-input { /* For ai-chat.html */
        padding: 8px 8px;
        gap: 8px;
    }
    #chatInput { /* For ai-chat.html */
        font-size: 13px;
        padding: 8px 10px 8px 15px;
    }
    #sendTextMessageButton,
    #voiceModeButton {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    /* Mobile Quick Actions - Extra Small Screens */
    .mobile-quick-actions {
        gap: 8px;
        padding: 0 5px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-mobile {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
        max-width: 200px;
        width: 100%;
        flex: none;
    }
}

/* Medium-small screens (between 480px and 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .mobile-quick-actions {
        gap: 10px;
        padding: 0 8px;
    }
    
    .btn-mobile {
        max-width: 140px;
        font-size: 0.8rem !important;
    }
}

/* STYLES FROM FORMER style2.css (FOR home.html) APPENDED BELOW */


/* Container for home.html sections */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}


/* General .nav-cta styles for Login/Logout button in headers */
.nav-cta { 
    background-color: var(--primary-color); 
    color: var(--button-primary-text) !important; /* Use consistent button text color */
    padding: 5px 16px; /* More compact padding for sleeker appearance */
    border-radius: 5px; /* Slightly smaller border radius for modern look */
    transition: all 0.2s ease-in-out; /* Smoother transition */
    text-decoration: none;

.timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color-widget);
    border: 1px solid var(--border-color-light);
    border-radius: 28px;
    box-shadow: var(--box-shadow-light);
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color-dark);
    margin: 0 auto; /* Center it horizontally */
    min-width: 80px; /* Fixed width to prevent flexing */
    flex-shrink: 0; /* Prevent shrinking */
}

#timer-display {
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

    display: inline-block;
    font-weight: 400; /* Lighter font weight for elegance */
    font-size: 15px;  /* Slightly smaller font size */
    line-height: 1.2; /* Better line height for compact appearance */
    letter-spacing: 0.3px; /* Slight letter spacing for better readability */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
.nav-cta::after { /* Ensure this doesn't apply if it's from .main-header nav a */
    display: none !important; 
}

.nav-cta:hover {
    background-color: var(--accent-color); /* Consistent hover with .btn */
    transform: translateY(-1px); /* More subtle hover transform */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Subtle shadow on hover */
}

/* Separate login and signup button styles */
.login-btn {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    margin-right: 10px;
}

.login-btn:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(0, 169, 224, 0.4);
    transform: translateY(-2px);
}

.signup-btn {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color);
}

.signup-btn:hover {
    background-color: var(--accent-color) !important;
    box-shadow: 0 0 20px rgba(0, 169, 224, 0.4);
    transform: translateY(-2px);
}

/* Top nav spacing for multiple buttons */
.app-header .top-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}




/* Hero Section for home.html */
.hero-section {
    background-color: transparent;
    padding: 100px 0;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw;
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
    z-index: 0;
    display: flex;
    gap: 0.5vw;
}

.med-text, .mock-text {
    opacity: 0;
    background: linear-gradient(45deg, rgba(0, 169, 224, 0.1), rgba(0, 169, 224, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 169, 224, 0.3);
    position: relative;
    filter: drop-shadow(0 0 20px rgba(0, 169, 224, 0.3));
}

.med-text {
    transform: translateX(-100px);
    animation: slideInFromLeft 2s ease-out 0.3s forwards, gentleFloat 6s ease-in-out infinite 2.5s;
}

.mock-text {
    transform: translateX(100px);
    animation: slideInFromRight 2s ease-out 0.6s forwards, gentleFloat 6s ease-in-out infinite 2.5s;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(0) translateY(-8px);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

/* Hover effects for extra interactivity */
.med-text:hover, .mock-text:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 0 50px rgba(0, 169, 224, 0.8));
    transition: all 0.3s ease;
    animation-play-state: paused;
}


.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); /* Enhanced text shadow for better readability */
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* App's colors */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers not supporting background-clip */
}

.hero-content p {
    font-size: 1.25em;
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: white; /* White text for maximum visibility */
}

/* Buttons for home.html - these might need a specific class like .btn-home */
/* to distinguish from the app's .btn if styling is very different */
/* For now, assuming home.html links are styled with .btn.btn-primary or .btn.btn-secondary */
/* and those classes will be defined below for home.html context */

.hero-section .btn-primary { /* Specific to hero section on home page */
    background-color: var(--primary-color); /* App's primary */
    color: var(--light-text-color); /* Home's light text */
    box-shadow: 0 4px 12px rgba(0, 178, 255, 0.3);
    padding: 16px 35px;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    transform-style: preserve-3d;
    text-decoration: none;
}

.hero-section .btn-primary:hover {
    background-color: var(--accent-color); /* App's accent */
    transform: translateY(-4px) translateZ(10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 178, 255, 0.5);
}

.hero-content small {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

/* Intro Section for home.html */
.intro-section {
    padding: 80px 0;
    text-align: center;
}
.intro-section h2 {
    font-size: 2.4em;
    margin-bottom: 25px;
    color: var(--primary-color); /* App's primary */
}
.intro-section p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.15em;
    color: var(--text-color); /* Home page text color */
}


/* Features Section for home.html */
.features-section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
}

.section-title { /* For home.html sections */
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 70px;
    color: var(--text-color); /* Home page text color */
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    perspective: 1200px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon-placeholder {
    font-size: 3.5em;
    color: var(--primary-color); /* App's primary */
    margin-bottom: 25px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color); /* App's primary */
}
.feature-card p {
    color: var(--text-color); /* Home page text color */
}


/* Why Us Section for home.html */
.why-us-section {
    padding: 100px 0;
    background-color: transparent;
}
.why-us-section .container { /* Uses general .container */
    display: flex;
    align-items: center;
    gap: 50px;
}
.why-us-image {
    max-width: 45%;
    border-radius: var(--border-radius); /* Home page border radius */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.why-us-content {
    flex: 1;
    color: var(--text-color); /* Home page text color */
}
.why-us-content ul {
    list-style: none;
    padding-left: 0;
}
.why-us-content ul li {
    margin-bottom: 18px;
    font-size: 1.1em;
    padding-left: 30px;
    position: relative;
}
.why-us-content ul li::before {
    content: '✔';
    color: var(--primary-color); /* App's primary */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    top: 2px;
}


/* Interface Showcase Section for home.html */
.interface-section {
    padding: 100px 0;
    text-align: center;
}
.interface-section p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
    color: var(--text-color); /* Home page text color */
}
.interface-image {
    max-width: 75%;
    border-radius: var(--border-radius); /* Home page border radius */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-top: 20px;
    border: 6px solid white;
    transition: transform var(--transition-speed) ease-out, box-shadow var(--transition-speed) ease-out;
}
.interface-image:hover {
    transform: scale(1.03) translateZ(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.interface-video { /* Styles for the new video element */
    display: block; /* To allow margin auto to work */
    margin: 0 auto; /* Centering the video */
    max-width: 100%;
    border-radius: 0; /* Remove border radius for edge-to-edge */
    box-shadow: none; /* Remove shadow for clean edge */
    border: none; /* Remove white border */
    transition: transform var(--transition-speed) ease-out;
    outline: none; /* Remove default browser outline on focus for video */
}

/* About Us Section for home.html */
.about-us-section {
    padding: 100px 0;
    background-color: transparent;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--background-color-widget);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow-light);
    border: 1px solid var(--border-color-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-strong);
}

.team-member-photo {
    width: 150px;
    height: 150px;
    margin-bottom: 25px;
    position: relative;
}

.headshot-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--background-color-widget);
    box-shadow: 0 5px 15px rgba(0, 169, 224, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headshot-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 169, 224, 0.4);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid var(--background-color-widget);
    box-shadow: 0 5px 15px rgba(0, 169, 224, 0.3);
}

.photo-placeholder span {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.photo-placeholder p {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
}

.team-member-info h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.team-member-info h4 {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 500;
    font-style: italic;
}

.team-member-info .role {
    font-size: 1.2em;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-info .description {
    font-size: 1.05em;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}



/* Testimonials Section for home.html */
.testimonials-section {
    padding: 100px 0;
    background-color: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    perspective: 1000px;
}

.testimonial-card {
    padding: 20px;
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #444; /* Specific color from style2 */
    font-size: 1.05em;
}

.testimonial-card span {
    font-weight: 700;
    color: var(--primary-color); /* App's primary */
    font-size: 1em;
}

/* CTA Section for home.html */
.cta-section {
    background: transparent;
    color: var(--text-color-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.cta-section h2 {
    font-size: 2.8em;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-section p {
    font-size: 1.25em;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-section .btn-secondary { /* Specific to CTA section on home page */
    background-color: var(--primary-color);
    color: var(--button-primary-text);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 18px 40px;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    transform-style: preserve-3d;
    text-decoration: none;
}

.cta-section .btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--button-primary-text);
    transform: translateY(-4px) translateZ(10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Footer for home.html */
.main-footer-bottom {
    background-color: transparent;
    color: var(--text-color-dark);
    padding: 50px 0;
    text-align: center;
}

.main-footer-bottom .container { /* Uses general .container */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-footer-bottom .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-footer-bottom .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-footer-bottom .footer-right {
    display: flex;
    align-items: center;
}

.main-footer-bottom .powered-by {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color-dark);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.main-footer-bottom .powered-by:hover {
    opacity: 1;
}

.main-footer-bottom .elevenlabs-logo {
    height: 20px;
    width: auto;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.main-footer-bottom .powered-by:hover .elevenlabs-logo {
    filter: brightness(1);
}

/* Responsive design for footer */
@media (max-width: 768px) {
    .main-footer-bottom .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-footer-bottom .footer-left {
        align-items: center;
    }
    
    .main-footer-bottom .powered-by {
        font-size: 12px;
    }
    
    .main-footer-bottom .elevenlabs-logo {
        height: 16px;
    }
}
.main-footer-bottom p {
    margin-bottom: 15px;
}
.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-color-dark);
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color); /* App's primary */
    transform: translateY(-2px);
}

.footer-nav-links {
    display: none; /* Hidden by default */
}

/* Dark Mode Styles for Home Page */
body.light-mode .hero-content p,
body.light-mode .intro-section p,
body.light-mode .feature-card p,
body.light-mode .why-us-content,
body.light-mode .interface-section p,
body.light-mode .testimonial-card p,
body.light-mode .cta-section p,
body.light-mode .main-footer-bottom,
body.light-mode .footer-links a {
    color: var(--text-color);
}

body.light-mode .hero-content h1 {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .pricing-option-card .price-tag {
    color: var(--text-color-dark);
}


/* ANIMATIONS (from former style2.css, now part of the main sheet) */
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px) translateZ(5px); }
    100% { transform: translateY(0px); }
}

.animate-on-load.fade-in-up {
    opacity: 0;
    transform: translateY(40px) translateZ(-20px);
    animation: fadeInUp3D var(--animation-duration) ease-out forwards;
}
.animate-on-load.fade-in {
    opacity: 0;
    transform: translateZ(-30px) scale(0.95);
    animation: fadeIn3D var(--animation-duration) ease-out forwards;
}

.delay-1 { animation-delay: 0.25s !important; }
.delay-2 { animation-delay: 0.5s !important; }
.delay-3 { animation-delay: 0.75s !important; }


.animate-on-scroll {
    opacity: 0;
    /* transition: opacity var(--animation-duration) ease-out, transform var(--animation-duration) cubic-bezier(0.175, 0.885, 0.32, 1.275); */ /* Removed transition, animation will handle it */
}

.animate-on-scroll.fade-in {
    transform: scale(0.9) translateZ(-50px);
}
.animate-on-scroll.fade-in.in-view {
    animation: fadeIn3D var(--animation-duration) ease-out forwards;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(50px) translateZ(-40px) rotateX(-10deg);
}
.animate-on-scroll.fade-in-up.in-view {
    animation: fadeInUp3D var(--animation-duration) ease-out forwards;
}

.animate-on-scroll.slide-in-left {
    transform: translateX(-80px) translateZ(-60px) rotateY(20deg);
}
.animate-on-scroll.slide-in-left.in-view {
    animation: slideInLeft3D var(--animation-duration) ease-out forwards;
}

.animate-on-scroll.slide-in-right {
    transform: translateX(80px) translateZ(-60px) rotateY(-20deg);
}
.animate-on-scroll.slide-in-right.in-view {
    animation: slideInRight3D var(--animation-duration) ease-out forwards;
}

.animate-on-scroll.slide-in-up {
    transform: translateY(80px) translateZ(-50px) rotateX(-15deg);
}
.animate-on-scroll.slide-in-up.in-view {
    animation: slideInUp3D var(--animation-duration) ease-out forwards;
}

.animate-on-scroll.zoom-in {
    transform: scale(0.8) translateZ(-80px);
}
.animate-on-scroll.zoom-in.in-view {
    animation: zoomIn3D var(--animation-duration) ease-out forwards;
}

/* Keyframes for 3D animations are already defined in the app's section, no need to repeat */
@keyframes fadeIn3D { /* Ensure this is defined once */
    to { opacity: 1; transform: scale(1) translateZ(0); }
}
@keyframes fadeInUp3D { /* Ensure this is defined once */
    to { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0); }
}
@keyframes slideInLeft3D { /* Ensure this is defined once */
    to { opacity: 1; transform: translateX(0) translateZ(0) rotateY(0); }
}
@keyframes slideInRight3D { /* Ensure this is defined once */
    to { opacity: 1; transform: translateX(0) translateZ(0) rotateY(0); }
}
@keyframes slideInUp3D { /* Ensure this is defined once */
    to { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0); }
}
@keyframes zoomIn3D { /* Ensure this is defined once */
    to { opacity: 1; transform: scale(1) translateZ(0); }
}


/* Responsive Design for home.html elements */
/* These will be appended after the app's responsive rules. */
/* Order and specificity will determine final styling. */

@media (max-width: 992px) { /* For home.html elements */
    .hero-content h1 { font-size: 2.6em; }
    .hero-content p { font-size: 1.15em; }
    .section-title { font-size: 2.4em; } /* From home page styles */
    .why-us-section .container { flex-direction: column; text-align: center; }
    .why-us-image { max-width: 70%; margin-bottom: 30px; }
    .why-us-content ul li { text-align: left; }
}

@media (max-width: 768px) { /* For home.html elements */
    .main-header .container { /* home.html header */
        flex-direction: column;
        gap: 15px;
    }
    .main-header nav { /* home.html nav */
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-header nav a { /* home.html nav links */
        margin: 5px 10px;
        padding-bottom: 8px;
    }
    .hero-content h1 { font-size: 2.2em; } /* home.html hero */
    .hero-content p { font-size: 1em; } /* home.html hero */
    .features-grid { grid-template-columns: 1fr; gap: 30px; } /* home.html features */
    .testimonials-grid { grid-template-columns: 1fr; gap: 30px; } /* home.html testimonials */
    .interface-image { max-width: 90%; } /* home.html interface image */
    .section-title { font-size: 2em; margin-bottom: 50px;} /* home.html section title */
    
    /* About Us mobile styles */
    .team-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        padding: 0 15px;
    }
    .team-member-card { 
        padding: 30px 20px; 
        margin: 0 auto;
        max-width: 400px;
    }
    .team-member-photo { 
        width: 120px; 
        height: 120px; 
        margin-bottom: 20px; 
    }
    .photo-placeholder span { 
        font-size: 2rem; 
    }
    .photo-placeholder p { 
        font-size: 0.7rem; 
    }
    .team-member-info h3 { 
        font-size: 1.5em; 
    }
    .team-member-info .description { 
        font-size: 1em; 
        max-width: 100%;
    }
}

@media (max-width: 480px) { /* For home.html elements */
    .logo { font-size: 1.6em; } /* home.html logo */
    .hero-content h1 { font-size: 1.9em; } /* home.html hero */
    .hero-content p { font-size: 0.9em; } /* home.html hero */
    .section-title { font-size: 1.9em; margin-bottom: 40px; } /* home.html section title */
    .feature-card { padding: 25px; } /* home.html feature card */
    .feature-card h3 { font-size: 1.4em; } /* home.html feature card */
    .testimonial-card { padding: 25px; } /* home.html testimonial card */
    .cta-section h2 { font-size: 2.2em; } /* home.html CTA */
    .cta-section p { font-size: 1.1em;} /* home.html CTA */
    .footer-links a { /* home.html footer links */
        display: block;
        margin: 8px 0;
    }
    
    /* About Us extra small screen styles */
    .about-us-section { 
        padding: 60px 0; 
    }
    .team-grid { 
        gap: 30px; 
        padding: 0 10px;
    }
    .team-member-card { 
        padding: 25px 15px; 
        max-width: 350px;
    }
    .team-member-photo { 
        width: 100px; 
        height: 100px; 
        margin-bottom: 15px; 
    }
    .photo-placeholder span { 
        font-size: 1.8rem; 
    }
    .team-member-info h3 { 
        font-size: 1.3em; 
        margin-bottom: 6px;
    }
    .team-member-info h4 { 
        font-size: 0.9em; 
        margin-bottom: 10px;
    }
    .team-member-info .role { 
        font-size: 1em; 
        margin-bottom: 12px;
    }
    .team-member-info .description { 
        font-size: 0.95em; 
    }
}

/* --- Typewriter Effect Styles (from former style2.css) --- */
.type-in { /* This class is used in home.html */
    min-height: 1em;
    /* visibility: hidden; Initially hide if flashing is an issue, then JS makes visible */
}

.type-in.typing-active::after {
    content: '|';
    display: inline;
    animation: blink-caret 0.65s step-end infinite;
    margin-left: 0.05em;
    color: var(--primary-color); /* App's primary color for cursor */
    font-weight: bold;
    position: relative;
    top: -0.05em;
}

@keyframes blink-caret { /* Ensure this is defined once */
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Home Page Pricing Section Styles --- */
.pricing-section-home {
    padding: 80px 0;
    background-color: transparent; /* Consistent with other home page sections */
}

.pricing-section-home .section-title { /* Uses existing .section-title styling */
    margin-bottom: 60px;
}

.pricing-options-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .pricing-options-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .pricing-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .pricing-options-grid { grid-template-columns: 1fr; }
}

.pricing-option-card {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--background-color-widget);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius);
}

.pricing-option-card h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricing-option-card p {
    font-size: 1em; /* Adjusted size */
    margin-bottom: 15px;
    color: var(--text-color); /* Home page text color */
    min-height: 40px; /* Give some consistent height for descriptions */
}

.pricing-option-card .price-tag {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-color-dark); /* Darker for price */
    margin-bottom: 20px;
}

.pricing-option-card .btn-primary { /* Style for buttons within pricing cards */
    background-color: var(--primary-color);
    color: var(--button-primary-text);
    padding: 12px 25px; /* Adjusted padding */
    border-radius: 6px; /* Consistent with app buttons */
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pricing-option-card .btn-primary:hover {
    background-color: var(--accent-color); /* Darker shade on hover */
    transform: translateY(-2px);
}

.pricing-option-card small {
    font-size: 0.85em;
    color: #666;
}
.pricing-option-card small a {
    color: var(--primary-color);
    text-decoration: underline;
}
.pricing-option-card small a:hover {
    color: var(--border-color-dark);
}


/* --- Home Page FAQ Section Styles --- */
.faq-section-home {
    padding: 80px 0;
    background-color: var(--bg-color); /* White background */
}

.faq-section-home .section-title {
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for FAQs initially */
    gap: 20px;
    max-width: 800px; /* Constrain width of FAQ section */
    margin: 0 auto;
}

.faq-item-card {
    background-color: var(--light-gray-bg); /* Light background for each FAQ item */
    padding: 20px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    border-left: 4px solid #fff; /* White border */
    transition: box-shadow 0.3s ease;
}
.faq-item-card:hover {
    box-shadow: var(--box-shadow-strong);
}

.faq-item-card h3 {
    font-size: 1.3em; /* Adjusted size */
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-item-card p {
    font-size: 1em; /* Adjusted size */
    color: var(--text-color);
    line-height: 1.7;
}

/* Floating Contact Button (global) */
.contact-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 9999px;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 178, 255, 0.5);
    z-index: 3000;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-fab:hover {
    background: var(--accent-color);
    transform: translateY(-4px) translateZ(10px) scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 178, 255, 0.6);
}

/* Hide contact button when a station is selected */
.contact-fab.station-active {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: all 0.3s ease-in-out;
}


/* --- Profile Page Specific Styles --- */
.chat-interface-container h1 { /* Assuming profile page uses chat-interface-container */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

#profileDetails {
    background-color: var(--background-color-widget);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    margin-bottom: 2rem;
}

#profileDetails p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--text-color-dark);
}

#profileDetails p strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
    min-width: 120px; /* Align values somewhat */
    display: inline-block;
}

.chat-interface-container h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff;
    text-align: left;
}

#editProfileForm, #changePasswordForm {
    background-color: var(--background-color-widget);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    margin-bottom: 2rem;
}

#editProfileForm div, #changePasswordForm div {
    margin-bottom: 1.2rem;
}

#editProfileForm label, #changePasswordForm label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color-dark);
    font-size: 0.95rem;
}

#editProfileForm input[type="text"],
#editProfileForm input[type="email"],
#editProfileForm input[type="tel"],
#changePasswordForm input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #fff;
    border-radius: 6px; /* Consistent with app's .btn */
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color-dark);
    background-color: var(--background-color-main); /* Light background for inputs */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#editProfileForm input[type="text"]:focus,
#editProfileForm input[type="email"]:focus,
#editProfileForm input[type="tel"]:focus,
#changePasswordForm input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 169, 224, 0.25); /* Glow effect on focus */
}

#editProfileForm button[type="submit"],
#changePasswordForm button[type="submit"] {
    /* Use existing .btn styles by adding class="btn" to the HTML, or replicate here */
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; /* Match input font size */
    font-weight: 500;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: var(--box-shadow-light);
    display: inline-block;
    text-align: center;
    width: auto; /* Don't make buttons full width by default */
}

#editProfileForm button[type="submit"]:hover,
#changePasswordForm button[type="submit"]:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-strong);
}

#editProfileMessage, #changePasswordMessage {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

#editProfileMessage.success, #changePasswordMessage.success { /* Add .success class via JS */
    background-color: #e6ffed;
    color: #006421;
    border: 1px solid #fff;
}

#editProfileMessage.error, #changePasswordMessage.error { /* Add .error class via JS */
    background-color: #ffe6e6;
    color: #cc0000;
    border: 1px solid #fff;
}

.chat-interface-container hr {
    border: none;
    height: 1px;
    background-color: var(--border-color-light);
    margin: 2.5rem 0;
}

/* Typewriter effect for bot messages */
.chat-messages .bot-message.typing-effect::after {
    content: '▋';
    animation: blink-caret 1s step-end infinite;
    margin-left: 0.2em;
    color: var(--primary-color);
}

/* Vignette Container Styles */
.vignette-container {
    background-color: var(--background-color-widget);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border: 1px solid #fff;
    box-shadow: var(--box-shadow-light);
    width: 100%;
    max-width: 800px; /* Constrain width */
    margin-left: auto; /* Center align */
    margin-right: auto; /* Center align */
    text-align: center; /* Center text inside */
}

/* Mobile responsiveness for vignette container */
@media (max-width: 768px) {
    .vignette-container {
        padding: 15px;
        margin-top: 15px;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .vignette-container {
        padding: 10px;
        margin-top: 10px;
        max-width: 98%;
        margin-left: auto;
        margin-right: auto;
    }
}

#vignetteTitle {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: 600;
}

#vignetteText {
    color: var(--text-color-dark);
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left; /* Justify text for readability */
}

.vignette-container .dropdown,
.vignette-container .btn {
    margin-top: 10px;
    margin-right: 10px;
}

.difficulty-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.difficulty-label {
    color: var(--text-color-dark);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.timer-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.timer-label {
    color: var(--text-color-dark);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.timer-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
    cursor: pointer;
}

.timer-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.timer-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 1px;
    bottom: 1px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.timer-switch input:checked + .timer-slider {
    background-color: rgba(59, 130, 246, 0.6);
    border-color: rgba(59, 130, 246, 0.8);
}

.timer-switch input:checked + .timer-slider:before {
    transform: translateX(14px);
}

.timer-switch:hover .timer-slider {
    background-color: rgba(255, 255, 255, 0.3);
}

.timer-switch input:checked:hover + .timer-slider {
    background-color: rgba(59, 130, 246, 0.8);
}

.timer-input {
    width: 50px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: var(--background-color-widget);
    color: var(--text-color-dark);
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.timer-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 169, 224, 0.2);
}

.timer-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.timer-unit {
    color: var(--text-color-dark);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Right-align logo in header for ai-chat.html */
.app-header #logoLink {
    margin-left: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
}

/* Make sidebar buttons smaller on mobile */
@media (max-width: 600px) {
    .difficulty-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .difficulty-label {
        font-size: 0.9rem;
    }
    
    .timer-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .timer-label {
        font-size: 0.9rem;
    }
    
    .timer-switch {
        width: 28px;
        height: 16px;
    }
    
    .timer-slider:before {
        height: 12px;
        width: 12px;
    }
    
    .timer-switch input:checked + .timer-slider:before {
        transform: translateX(12px);
    }
    
    .timer-input {
        width: 45px;
        font-size: 0.85rem;
    }
    
    .sidebar-collapsible .tab-btn,
    .sidebar-collapsible.collapsed .tab-btn {
        font-size: 12px !important;
        padding: 6px 10px !important;
        min-width: 60px !important;
        min-height: 32px !important;
        margin-bottom: 0.3em !important;
    }
    .sidebar-collapsible .sidebar-logout-btn {
        font-size: 12px !important;
        padding-left: 0 !important;
        min-height: 32px !important;
    }
    .sidebar-toggle {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        min-width: 24px !important;
    }
}

/* --- Styles for Redesigned "Select Conditions" Tab --- */

#initial-selection-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 0; /* Changed from 50px */
    flex-grow: 1; /* Changed from height: 100% */
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    min-width: 320px;
    text-align: center;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

#start-practicing-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
}

#start-practicing-btn:hover {
    box-shadow: var(--glow-effect), var(--box-shadow-strong);
    transform: translateY(-3px);
}

.btn-placeholder {
    background-color: var(--background-color-widget);
    color: var(--text-color-dark);
    border: 2px dashed var(--secondary-color);
    opacity: 0.7;
}

.btn-placeholder:hover {
    opacity: 1;
    border-style: solid;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.selection-header h2 {
    margin-bottom: 0;
}

.selection-toggle {
    display: inline-flex;
    background-color: var(--background-color-widget);
    border-radius: var(--border-radius);
    padding: 5px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.toggle-btn {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color-dark);
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: var(--background-color-widget);
    color: var(--primary-color);
    box-shadow: var(--box-shadow-light);
}

.btn-back {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: auto;
}

.btn-back:hover {
    background: var(--secondary-color);
    color: var(--text-color-dark);
}

#condition-bubbles-screen,
#persona-selection-screen {
    padding: 20px;
    text-align: center;
}

#condition-bubbles-screen h2,
#persona-selection-screen h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.bubbles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

@keyframes bubble-fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bubble-btn {
    background: var(--background-color-widget);
    color: var(--text-color-dark);
    animation: bubble-fade-in 0.3s ease-out forwards;
    border: 1px solid var(--primary-color);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.bubble-btn:hover {
    background: var(--secondary-color);
    color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-light);
}

.bubble-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bubble-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color-dark);
}

.bubble-description {
    font-size: 0.8rem;
    color: var(--text-color-dark);
    opacity: 0.7;
    line-height: 1.2;
}

.persona-list-card {
    background-color: var(--background-color-widget);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 450px; /* Adjust as needed */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.persona-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-strong);
    border-color: var(--secondary-color);
}

.persona-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.persona-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.persona-info {
    flex-grow: 1;
}

.persona-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-color-dark);
}

.persona-meta {
    font-size: 0.9rem;
    color: var(--text-color-dark);
    opacity: 0.7;
}

.persona-complaint-tag {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.persona-card-body {
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    position: relative;
}

.persona-card-body::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    right: 0;
    height: 1px;
    background-color: var(--border-color-light);
}

.persona-details {
    font-size: 0.95rem;
    color: var(--text-color-dark);
}

.persona-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.persona-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #27ae60;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #27ae60;
    border-radius: 50%;
}

.view-details-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.view-details-link:hover {
    text-decoration: underline;
}

.persona-stations {
    display: flex;
    gap: 5px;
}

.station-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
}

/* Persona Details Modal */
.modal-details-content {
    max-height: 60vh;
    overflow-y: auto;
    text-align: left;
}

.modal-details-content p {
    margin-bottom: 10px;
}

.modal-details-content strong {
    color: var(--primary-color);
}

.modal-stations-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Vignette JSON Table Styles */
.vignette-section {
    margin-bottom: 25px;
    text-align: left;
}

.vignette-section h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.vignette-section h4 {
    color: var(--accent-color);
    font-size: 1.1em;
    margin: 15px 0 10px 0;
}

.vignette-subsection {
    margin-bottom: 20px;
}

.vignette-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    background: var(--background-color-widget);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    border: 1px solid var(--border-color-light);
}

.vignette-table thead {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.vignette-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
}

.vignette-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-color-light);
    font-size: 0.9em;
    color: var(--text-color-dark);
}

.vignette-table tbody tr:hover {
    background-color: var(--border-color-light);
}

.vignette-table tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile responsiveness for vignette content */
@media (max-width: 768px) {
    .vignette-section {
        margin-bottom: 20px;
    }
    
    .vignette-section h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .vignette-section h4 {
        font-size: 1em;
        margin: 12px 0 8px 0;
    }
    
    .vignette-table {
        font-size: 0.8em;
        margin: 8px 0;
    }
    
    .vignette-table th,
    .vignette-table td {
        padding: 8px 4px;
        word-wrap: break-word;
    }
    
    .vignette-subsection {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .vignette-section {
        margin-bottom: 15px;
    }
    
    .vignette-section h3 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .vignette-section h4 {
        font-size: 0.9em;
        margin: 10px 0 6px 0;
    }
    
    .vignette-table {
        font-size: 0.75em;
        margin: 6px 0;
    }
    
    .vignette-table th,
    .vignette-table td {
        padding: 6px 2px;
    }
    
    .vignette-subsection {
        margin-bottom: 12px;
    }
}

/* Initial Voice Prompt Styles */
.initial-voice-prompt {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color-light);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin: 10px auto;
    max-width: 500px;
    text-align: left;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease-out;
    position: relative;
    animation: slideInFromTop 0.5s ease-out;
    opacity: 0.7;
}

.voice-prompt-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.voice-prompt-text {
    font-size: 0.9em;
    font-weight: 400;
    flex: 1;
    opacity: 0.8;
    font-style: italic;
}

.voice-prompt-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.voice-prompt-arrow {
    font-size: 2.5em;
    animation: pointToMic 1.5s infinite;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
    filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.6));
    position: relative;
    z-index: 10;
}

.voice-prompt-indicator {
    font-size: 0.7em;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    animation: blink 2s infinite;
}

/* Add a pulsing circle behind the arrow for extra emphasis */
.voice-prompt-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pointToMic {
    0%, 100% { 
        transform: translateX(0px) scale(1);
    }
    50% { 
        transform: translateX(12px) scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

@keyframes slideInFromTop {
    0% { 
        opacity: 0;
        transform: translateY(-20px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* System message base styles */
.system-message {
    font-style: italic;
    color: var(--text-color-dark);
    background-color: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    border-radius: var(--border-radius);
    margin: 10px auto;
    max-width: 85%;
    border-left: 4px solid var(--accent-color);
}

/* Mobile responsiveness for voice prompt */
@media (max-width: 768px) {
    .initial-voice-prompt {
        margin: 8px 10px;
        padding: 10px 12px;
        border-radius: var(--border-radius);
        text-align: center;
        opacity: 0.6;
    }
    
    .voice-prompt-content {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }
    
    .voice-prompt-text {
        font-size: 0.85em;
        text-align: center;
        opacity: 0.7;
    }
    
    .voice-prompt-arrow {
        font-size: 2em;
        transform: rotate(90deg);
        animation: pointDownToMic 1.5s infinite;
    }
    
    .voice-prompt-arrow::before {
        width: 50px;
        height: 50px;
    }
    
    .voice-prompt-indicator {
        font-size: 0.6em;
        margin-top: 5px;
    }
}

@keyframes pointDownToMic {
    0%, 100% { 
        transform: rotate(90deg) translateX(0px) scale(1);
    }
    50% { 
        transform: rotate(90deg) translateX(10px) scale(1.1);
    }
}

/* Communication Skills Vignette Styling */
.comms-vignette {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    color: var(--text-color-light);
    box-shadow: var(--box-shadow-strong);
    margin: 10px 0;
    border: 1px solid var(--border-color-light);
}

.comms-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.comms-header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-color-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.comms-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 12px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comms-section h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.comms-section p {
    margin: 0;
    line-height: 1.5;
    color: var(--text-color-light);
    opacity: 0.9;
}

.comms-section ul {
    margin: 0;
    padding-left: 20px;
}

.comms-section li {
    margin: 8px 0;
    line-height: 1.4;
    color: var(--text-color-light);
    opacity: 0.9;
}

.comms-section li::marker {
    color: var(--text-color-light);
    opacity: 0.7;
}

/* Communication codes info styling */
.comms-codes-info {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.comms-codes-info h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comms-codes-info p {
    margin: 5px 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.comms-codes-info em {
    color: var(--text-color-light);
    opacity: 0.8;
    font-style: italic;
}

/* Responsive design for comms vignette */
@media (max-width: 768px) {
    .comms-vignette {
        padding: 15px;
        margin: 5px 0;
    }
    
    .comms-header h3 {
        font-size: 1.2em;
    }
    
    .comms-section {
        padding: 12px;
        margin: 10px 0;
    }
    
    .comms-section h4 {
        font-size: 1em;
    }
    
    .comms-codes-info {
        padding: 12px;
        margin: 12px 0;
    }
    
    .comms-codes-info h4 {
        font-size: 1em;
    }
    
    .prescribing-vignette {
        padding: 15px;
        margin: 5px 0;
    }
    
    .prescribing-vignette h3 {
        font-size: 1.2em;
    }
}

/* Prescribing Vignette Styling */
.prescribing-vignette {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    color: var(--text-color-light);
    box-shadow: var(--box-shadow-strong);
    margin: 10px 0;
    border: 1px solid var(--border-color-light);
}

.prescribing-vignette h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: 600;
    text-align: center;
    color: var(--text-color-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.prescribing-vignette p {
    margin: 10px 0;
    line-height: 1.6;
    color: var(--text-color-light);
}

.prescribing-vignette p strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.prescribing-vignette p em {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-weight: 500;
}

@keyframes blink {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

/* Help Page Styles */
.help-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.help-intro {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.help-section {
    background-color: var(--background-color-widget);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    padding: 30px;
    margin-bottom: 30px;
}

.help-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.help-section h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.help-section p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.help-section ul, .help-section ol {
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
}

.help-section li {
    margin-bottom: 8px;
}

/* Contact Card */
.contact-card {
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    margin: 20px 0;
}

.contact-email {
    margin: 20px 0;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    display: inline-block;
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-note {
    font-style: italic;
    color: var(--text-color-secondary);
    margin-top: 15px;
}

/* FAQ Items */
.faq-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.faq-item p {
    margin-bottom: 10px;
}

/* Troubleshooting */
.troubleshooting-note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 25px;
}

.troubleshooting-note p {
    margin-bottom: 10px;
    color: #856404;
}

.troubleshooting-steps {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.troubleshooting-steps ol {
    margin: 15px 0;
}

.troubleshooting-steps li {
    margin-bottom: 10px;
    font-weight: 500;
}

.troubleshooting-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #ff6b6b;
}

.troubleshooting-item h3 {
    color: #ff6b6b;
    margin-top: 0;
}

/* Getting Started Steps */
.getting-started-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    border-left: 4px solid #4ecdc4;
    transition: transform 0.2s ease;
}

.step-item:hover {
    transform: translateY(-2px);
}

.step-item h3 {
    color: #4ecdc4;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tip-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tip-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.tip-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-content {
        padding: 15px;
    }
    
    .help-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .help-section h2 {
        font-size: 1.5rem;
    }
    
    .getting-started-steps {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .email-link {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* Profile Page Styles */
.profile-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profile-section {
    background-color: var(--background-color-widget);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    padding: 30px;
    margin-bottom: 30px;
}

.profile-section h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.profile-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

.profile-details {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.profile-details p {
    color: var(--text-color-secondary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.profile-details strong {
    color: var(--text-color);
    font-weight: 600;
}

.profile-form {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.profile-form div {
    margin-bottom: 20px;
}

.profile-form label {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color-light);
    border-radius: var(--border-radius);
    background-color: var(--background-color-widget);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.profile-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 169, 224, 0.1);
}

.profile-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-form button:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-message {
    padding: 12px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-weight: 500;
}

.profile-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.profile-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.profile-divider {
    border: none;
    height: 2px;
    background-color: var(--border-color-light);
    margin: 2rem 0;
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    .profile-content {
        padding: 15px;
    }
    
    .profile-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .profile-section h1 {
        font-size: 1.5rem;
    }
    
    .profile-section h2 {
        font-size: 1.3rem;
    }
    
    .profile-form {
        padding: 20px;
    }
    
    .profile-form input {
        padding: 10px;
    }
    
    .profile-form button {
        padding: 10px 20px;
        width: 100%;
    }
}
