    .gradient-bg {
        background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
        background-size: 400% 400%;
        animation: gradientMove 30s ease infinite;
        color: #1a1a1a;
    }

    .dark-mode .gradient-bg,
    .dark-mode {
        background: #1a1a1a !important;
        color: #ffffff !important;
    }

    @keyframes gradientMove {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .dark-mode .bg-white {
        background-color: #2d2d2d !important;
        color: #ffffff !important;
    }

    .dark-mode .text-gray-800 {
        color: #ffffff !important;
    }

    .dark-mode .text-gray-600 {
        color: #a0aec0 !important;
    }

    /* Audio Circle */
    .audio-circle {
        position: fixed;
        bottom: 33px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: rgba(59, 130, 246, 0.1);
        backdrop-filter: blur(8px);
        display: none;
        align-items: center;
        justify-content: center;
        overflow: visible;
        z-index: 60;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .audio-circle.interview-paused,
    .audio-circle.ai-speaking {
        cursor: default;
    }

    .dark-mode .audio-circle {
        background: rgba(255, 255, 255, 0.1);
    }

    .audio-circle::before {
        content: '';
        position: absolute;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        border-radius: 50%;
        border: 2px solid rgba(59, 130, 246, 0.2);
        animation: ripple 2s linear infinite;
    }

    .audio-circle::after {
        content: '';
        position: absolute;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        border-radius: 50%;
        border: 2px solid rgba(59, 130, 246, 0.2);
        animation: ripple 2s linear infinite 1s;
    }

    .dark-mode .audio-circle::before,
    .dark-mode .audio-circle::after {
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    @keyframes ripple {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        100% {
            transform: scale(1.5);
            opacity: 0;
        }
    }

    .audio-circle i {
        font-size: 2rem !important;
        color: rgba(59, 130, 246, 0.9);
    }

    .dark-mode .audio-circle i {
        color: rgba(255, 255, 255, 0.9);
    }

    .audio-circle.paused::before,
    .audio-circle.paused::after {
        animation: none;
    }

    /* Message Container */
    .message-container {
        scroll-behavior: smooth;
        flex: 1;
        overflow-y: auto;
        font-size: 15px;
        line-height: 1.6;
        padding: 20px 0;
        margin-bottom: 120px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .message-container::-webkit-scrollbar {
        display: none;
    }

    .message {
        opacity: 0;
        transform: translateY(10px);
        animation: message-appear 0.3s forwards ease-out;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 20px;
        padding: 16px;
        border: 1px solid rgba(59, 130, 246, 0.0);
        max-width: 80%;
        position: relative;
        color: #1a1a1a;
    }

    .message.ai-message {
        margin-right: auto;
        background: rgba(165, 175, 200, 0.15);
        border-bottom-left-radius: 5px;
    }

    .message.user-message {
        margin-left: auto;
        background: #34C759;
        border-bottom-right-radius: 5px;
        color: white !important;
        max-width: 60%;
    }

    .dark-mode .message {
        background: rgba(45, 45, 45, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }
    
    .text-white\/90 {
        word-break: break-word;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
        hyphens: none;
    }
    
    .message.user-message .text-white\/90 {
        color: white !important;
    }

    .message.user-message .text-emerald-300 {
        color: white !important;
    }

    .dark-mode .message.user-message .text-emerald-300 {
        color: #86efac;
    }
    
    .dark-mode .message.user-message {
        /*background: rgba(59, 130, 246, 0.1);*/
    }

    .dark-mode .message.user-message .text-emerald-300 {
        color: #34D399 !important;
    }

    /* Header with gradient */
    .header-sticky {
        position: sticky;
        top: 0;
        z-index: 60;
        transition: all 0.3s ease;
        padding: 1rem 2rem;
        margin: 0 -2rem;
        background: linear-gradient(to bottom, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%
        );
        /*backdrop-filter: blur(8px);*/
        /*border-bottom: 1px solid rgba(59, 130, 246, 0.1);*/
    }

    .dark-mode .header-sticky {
        background: linear-gradient(to bottom, 
            rgba(26, 26, 26, 0.95) 0%,
            rgba(26, 26, 26, 0.4) 50%,
            rgba(26, 26, 26, 0) 100%
        );
        /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
        /*backdrop-filter: blur(0px);*/
    }

    :root {
        --header-bg-color: #ffffff;
        --footer-bg-color: rgba(255, 255, 255, 0.95);
    }

    .dark-mode {
        --header-bg-color: #1a1a1a;
        --footer-bg-color: rgba(26, 26, 26, 0.95);
    }

    /* Case Type Cards */
    .case-type-card {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(59, 130, 246, 0.1);
        padding: 1rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .case-type-card:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 1);
        border-color: rgba(59, 130, 246, 0.2);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    }

    .case-type-card.selected {
        background: rgba(59, 130, 246, 0.1);
        border-color: rgba(59, 130, 246, 0.3);
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    }

    .dark-mode .case-type-card {
        background: rgba(45, 45, 45, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dark-mode .case-type-card:hover {
        background: rgba(45, 45, 45, 0.9);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .dark-mode .case-type-card.selected {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.3);
    }

    .case-type-icon {
        margin-bottom: 0.5rem;
        color: rgba(59, 130, 246, 0.9);
        font-size: 1.25rem;
    }

    .dark-mode .case-type-icon {
        color: rgba(255, 255, 255, 0.9);
    }

    .case-type-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        color: #1a1a1a;
    }

    .dark-mode .case-type-card h3 {
        color: rgba(255, 255, 255, 0.9);
    }

    .case-type-card p {
        color: #666666;
        font-size: 0.75rem;
    }

    .dark-mode .case-type-card p {
        color: rgba(255, 255, 255, 0.6);
    }

    /* Begin Interview Button */
    .begin-interview-btn {
        background: rgba(59, 130, 246, 0.9);
        border: none;
        padding: 1rem 2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        color: white;
        width: 100%;
        font-weight: 500;
    }

    .dark-mode .begin-interview-btn {
        background: rgba(59, 130, 246, 0.8);
    }

    .begin-interview-btn:hover:not(:disabled) {
        background: rgba(59, 130, 246, 1);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    }

    .dark-mode .begin-interview-btn:hover:not(:disabled) {
        background: rgba(59, 130, 246, 0.9);
    }

    .begin-interview-btn:disabled {
        background: rgba(59, 130, 246, 0.4);
        cursor: not-allowed;
        transform: none !important;
        box-shadow: none !important;
    }

    .dark-mode .begin-interview-btn:disabled {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Welcome Modal */
    .welcome-modal .modal-content {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        max-height: 90vh;
    }

    .dark-mode .welcome-modal .modal-content {
        background: rgba(26, 26, 26, 0.95);
    }

    .welcome-modal h2 {
        color: #1a1a1a;
    }

    .dark-mode .welcome-modal h2 {
        color: rgba(255, 255, 255, 0.9);
    }

    .welcome-modal p {
        color: #666666;
    }

    .dark-mode .welcome-modal p {
        color: rgba(255, 255, 255, 0.6);
    }

    /* Microphone Text */
    .microphone-text {
        color: #666666;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .dark-mode .microphone-text {
        color: rgba(255, 255, 255, 0.6);
    }

    /* Calculator Panel */
    .tool-panel {
        position: fixed;
        bottom: 100px;
        right: 20px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 12px;
        padding: 16px;
        width: 300px;
        z-index: 55;
        display: none;
        backdrop-filter: blur(8px);
    }

    .dark-mode .tool-panel {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Adjustment for small screens */
    @media screen and (max-width: 768px) {
        .tool-panel {
            bottom: 140px;
        }
    }

    /* Footer */
    .footer {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 4xl;
        background: linear-gradient(to top, 
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%
        );
        backdrop-filter: blur(8px);
        padding: 1rem 2rem;
        z-index: 50;
        margin: 0 auto;
        border-top: 1px solid rgba(59, 130, 246, 0.1);
    }

    .dark-mode .footer {
        background: linear-gradient(to top, 
            rgba(26, 26, 26, 0.95) 0%,
            rgba(26, 26, 26, 0.8) 50%,
            rgba(26, 26, 26, 0) 100%
        );
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Calculator styling */
    .calculator-close {
        position: absolute;
        top: 15px;
        right: 20px;
        cursor: pointer;
        color: rgba(59, 130, 246, 0.7);
        font-size: 1.2rem;
    }

    .dark-mode .calculator-close {
        color: rgba(255, 255, 255, 0.7);
    }

    .calculator-close:hover {
        color: rgba(59, 130, 246, 1);
    }

    .dark-mode .calculator-close:hover {
        color: rgba(255, 255, 255, 1);
    }

    #calcInput {
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
        color: #1a1a1a;
        padding: 8px 12px;
        border-radius: 8px;
        width: 100%;
        margin-bottom: 10px;
        font-size: 18px;
        text-align: right;
    }

    .dark-mode #calcInput {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
    }

    .calc-button {
        background: rgba(59, 130, 246, 0.1);
        border: none;
        color: #1a1a1a;
        padding: 10px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 16px;
    }

    .dark-mode .calc-button {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .calc-button:hover {
        background: rgba(59, 130, 246, 0.2);
        transform: translateY(-1px);
    }

    .dark-mode .calc-button:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .calc-button.backspace {
        background: rgba(239, 68, 68, 0.2);
    }

    .calc-button.backspace:hover {
        background: rgba(239, 68, 68, 0.3);
    }

    /* Tool Buttons */
    .tool-button {
        background: transparent;
        border: none;
        color: #1a1a1a;
        padding: 6px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 2px;
    }

    .dark-mode .tool-button {
        color: white;
    }

    .tool-button:hover {
        background: rgba(59, 130, 246, 0.1);
        transform: translateY(-1px);
    }

    .dark-mode .tool-button:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .tool-button i.fa-star {
        transition: all 0.3s ease;
    }

    .tool-button.text-yellow-400 i.fa-star {
        color: #F59E0B;
        transform: scale(1.1);
    }

    .tool-button:hover i.fa-star {
        transform: scale(1.1);
    }

    .tool-button.text-yellow-400:hover i.fa-star {
        transform: scale(1.2);
    }

    .dark-mode .tool-button.text-yellow-400 i.fa-star {
        color: #FBBF24;
    }

    /* Modal Styles */
    .confirm-modal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(4px);
        z-index: 1000;
    }

    .dark-mode .confirm-modal {
        background: rgba(15, 23, 42, 0.9);
    }

    .modal-button {
        padding: 12px 24px;
        border-radius: 12px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .modal-button:hover {
        transform: translateY(-2px);
    }

    .modal-button.continue {
        background: rgba(59, 130, 246, 0.1);
        color: #1a1a1a;
    }

    .dark-mode .modal-button.continue {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .modal-button.continue:hover {
        background: rgba(59, 130, 246, 0.2);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    }

    .dark-mode .modal-button.continue:hover {
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    }

    .modal-button.end {
        background: rgba(239, 68, 68, 0.8);
        color: white;
    }

    .modal-button.end:hover {
        background: rgba(239, 68, 68, 0.9);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    }

    /* Status Pill */
    .status-pill {
        background: rgba(59, 130, 246, 0.1);
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 500;
        color: #1a1a1a;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-right: 10px;
        backdrop-filter: blur(8px);
    }

    .dark-mode .status-pill {
        background: rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.9);
    }

    .status-pill i {
        font-size: 12px;
        opacity: 0.8;
        flex-shrink: 0;
    }

    /* Waving Hand Animation */
    @keyframes wave {
        0% { transform: rotate(0deg); }
        10% { transform: rotate(14deg); }
        20% { transform: rotate(-8deg); }
        30% { transform: rotate(14deg); }
        40% { transform: rotate(-4deg); }
        50% { transform: rotate(10deg); }
        60% { transform: rotate(0deg); }
        100% { transform: rotate(0deg); }
    }

    .waving-hand {
        display: inline-block;
        transition: transform 0.3s ease;
        transform-origin: 70% 70%;
    }

    .waving-hand:hover {
        animation: wave 2.5s ease infinite;
        cursor: pointer;
    }
    
    .end-interview-btn {
        background: rgba(59, 130, 246, 0.1);
        border: 2px solid rgba(59, 130, 246, 0.0);
        padding: 0.5rem 1.5rem;
        border-radius: 20px;
        transition: all 0.3s ease;
        visibility: hidden;
        color: #1a1a1a;
    }

    .dark-mode .end-interview-btn {
        background: rgba(255, 255, 255, 0.15);
        color: white;
    }

    .end-interview-btn:hover {
        background: rgba(59, 130, 246, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
    }

    .dark-mode .end-interview-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .interview-started .end-interview-btn {
        visibility: visible;
    }

    /* Typing Animation */
    .typing {
        display: inline-block;
        opacity: 0;
        transform: translateY(1px);
        animation: character-appear 0.05s forwards ease-out;
    }

    @keyframes character-appear {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes message-appear {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Collapsible sections */
    .sidebar-section-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
        opacity: 0;
    }

    .sidebar-section-content.expanded {
        max-height: 100%; /* Adjust based on your content */
        opacity: 1;
    }

    .sidebar-section-header i.chevron {
        transition: transform 0.3s ease;
        margin-left: auto;
        font-size: 0.8rem;
    }

    .sidebar-section-header.expanded i.chevron {
        transform: rotate(180deg);
    }
    
    /* Sidebar Styles */
    .sidebar {
        position: fixed;
        left: -260px; /* Start hidden */
        top: 0;
        height: 100vh;
        width: 260px;
        background: rgba(255, 255, 255, 0.95);
        border-right: 1px solid rgba(59, 130, 246, 0.1);
        display: flex;
        flex-direction: column;
        transition: all 0.3s ease;
        z-index: 100;
        opacity: 0;
        font-size: 0.8rem;
    }
    
    /* Hamburger Menu Icon */
    .menu-icon {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 40px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(59, 130, 246, 0.1);
        border-left: none;
        border-radius: 0 8px 8px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 98;
        transition: all 0.3s ease;
        color: #1a1a1a;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    }

    .dark-mode .menu-icon {
        background: rgba(26, 26, 26, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
    }

    .menu-icon:hover {
        background: rgba(59, 130, 246, 0.1);
        width: 36px;
    }

    .dark-mode .menu-icon:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-trigger {
        position: fixed;
        left: 0;
        top: 0;
        width: 36px; /* Increased from 10px to match icon */
        height: 100vh;
        z-index: 99;
    }
    
    /* Show sidebar on hover */
    .sidebar-trigger:hover + .sidebar,
    .sidebar:hover {
        left: 0;
        opacity: 1;
        transition-delay: 0.05s; /* Delay before showing */
    }

    /* Add backdrop blur when sidebar is visible */
    .sidebar.visible {
        backdrop-filter: blur(8px);
    }

    .dark-mode .sidebar {
        background: rgba(26, 26, 26, 0.95);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-header {
        padding: 1rem;
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .dark-mode .sidebar-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-content {
        flex: 1;
        overflow-y: auto;
        padding: 0.75rem;
    }

    .sidebar-footer {
        border-top: 1px solid rgba(59, 130, 246, 0.1);
        padding: 0.5rem;
    }

    .dark-mode .sidebar-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-section {
        margin-bottom: 1rem;
    }

    .sidebar-section-header {
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        color: #1a1a1a;
        transition: all 0.2s ease;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .dark-mode .sidebar-section-header {
        color: rgba(255, 255, 255, 0.9);
    }

    .sidebar-section-header:hover {
        background: rgba(59, 130, 246, 0.1);
    }

    .dark-mode .sidebar-section-header:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar-item {
        padding: 0.5rem 1rem 0.5rem 1rem;
        display: flex;
        flex-direction: column;
        cursor: pointer;
        color: #1a1a1a;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .dark-mode .sidebar-item {
        color: rgba(255, 255, 255, 0.9);
    }

    .sidebar-item:hover {
        background: rgba(59, 130, 246, 0.1);
    }

    .dark-mode .sidebar-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar-item-date {
        font-size: 0.75rem;
        color: #666;
    }

    .dark-mode .sidebar-item-date {
        color: rgba(255, 255, 255, 0.6);
    }

    .upgrade-banner {
        padding: 0.75rem 1rem;
        background: rgba(59, 130, 246, 0.1);
        color: rgb(37, 99, 235);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        transition: all 0.2s ease;
        border-radius: 8px;
    }

    .dark-mode .upgrade-banner {
        background: rgba(59, 130, 246, 0.2);
        color: rgb(96, 165, 250);
    }

    .upgrade-banner:hover {
        background: rgba(59, 130, 246, 0.15);
    }

    .user-profile {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(59, 130, 246, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.875rem;
        color: rgb(37, 99, 235);
        object-fit: cover;
        flex-shrink: 0;
    }

    .dark-mode .user-avatar {
        background: rgba(59, 130, 246, 0.2);
        color: rgb(96, 165, 250);
    }

    .user-info {
        flex: 1;
    }

    .user-name {
    max-width: 150px; /* Adjust this value based on your layout */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.875rem;
    font-weight: 500;
}

    .dark-mode .user-name {
        color: rgba(255, 255, 255, 0.9);
    }

    .user-plan {
        font-size: 0.75rem;
        color: #666;
    }

    .dark-mode .user-plan {
        color: rgba(255, 255, 255, 0.6);
    }

    /* Adjust main content to accommodate sidebar */
    .main-content {
        transition: margin-left 0.3s ease;
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
        .sidebar-trigger {
            width: 40px; /* Slightly wider touch target on mobile */
        }

        .main-content {
            margin-left: 20px;
        }
    }
    
    /* Add responsive adjustments */
    @media (max-width: 768px) {
        .status-pill {
            font-size: 14px;
            padding: 4px 10px;
            margin-right: 1px;
        }

        .status-pill i {
            font-size: 11px;
        }
    }

    @media (max-width: 480px) {
        .status-pill {
            font-size: 14px;
            padding: 3px 8px;
            margin-right: 1px;
        }
    }
    
    .fa-chart-bar {
        margin-left: 20px;
    }
    
    /* Analytics Panel Styling */
    .analytics-panel {
        border-radius: 16px;
        padding: 1.5rem;
        margin: 1rem 0;
        animation: panel-appear 0.5s forwards ease-out;
        transform: translateY(20px);
        opacity: 0;
        border: 1px solid rgba(59, 130, 246, 0.1);
        background: rgba(165, 175, 200, 0.15);
    }

    .dark-mode .analytics-panel {
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(45, 45, 45, 0.9);
    }

    @keyframes panel-appear {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .analytics-header {
        text-align: center;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }

    .dark-mode .analytics-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .analytics-metrics {
        margin-bottom: 1.5rem;
    }

    .metric-card {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 12px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border: 1px solid rgba(59, 130, 246, 0.1);
        transition: all 0.3s ease;
    }

    .dark-mode .metric-card {
        background: rgba(60, 60, 60, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .metric-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.1);
    }

    .dark-mode .metric-card:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .metric-card.overall {
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
    }

    .dark-mode .metric-card.overall {
        background: rgba(59, 130, 246, 0.2);
        border: 1px solid rgba(59, 130, 246, 0.3);
    }

    .metric-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        height: 45px;
        width: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(59, 130, 246, 0.1);
        color: rgb(37, 99, 235);
    }

    .dark-mode .metric-icon {
        background: rgba(59, 130, 246, 0.2);
        color: rgb(96, 165, 250);
    }

    .metric-name {
        font-size: 0.85rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: #333;
    }

    .dark-mode .metric-name {
        color: rgba(255, 255, 255, 0.9);
    }

    .metric-score {
        font-size: 1.5rem;
        font-weight: 700;
        color: rgb(37, 99, 235);
        margin-bottom: 0.5rem;
    }

    .dark-mode .metric-score {
        color: rgb(96, 165, 250);
    }

    .metric-bar {
        width: 100%;
        height: 6px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
        overflow: hidden;
    }

    .dark-mode .metric-bar {
        background: rgba(255, 255, 255, 0.1);
    }

    .metric-fill {
        height: 100%;
        background: rgb(37, 99, 235);
        border-radius: 3px;
        transition: width 1s ease-out;
    }

    .dark-mode .metric-fill {
        background: rgb(96, 165, 250);
    }

    .analytics-feedback {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(59, 130, 246, 0.1);
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }

    .dark-mode .analytics-feedback {
        background: rgba(60, 60, 60, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .analytics-actions {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .analytics-button {
        background: rgba(59, 130, 246, 0.1);
        color: rgb(37, 99, 235);
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 30px;
        font-weight: 500;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }

    .dark-mode .analytics-button {
        background: rgba(59, 130, 246, 0.2);
        color: rgb(96, 165, 250);
    }

    .analytics-button:hover {
        background: rgba(59, 130, 246, 0.2);
        transform: translateY(-2px);
    }

    .dark-mode .analytics-button:hover {
        background: rgba(59, 130, 246, 0.3);
    }

    .analytics-button.share {
        background: rgba(16, 185, 129, 0.1);
        color: rgb(5, 150, 105);
    }

    .dark-mode .analytics-button.share {
        background: rgba(16, 185, 129, 0.2);
        color: rgb(52, 211, 153);
    }

    .analytics-button.share:hover {
        background: rgba(16, 185, 129, 0.2);
    }

    .dark-mode .analytics-button.share:hover {
        background: rgba(16, 185, 129, 0.3);
    }

    /* Completed Badge */
    .completed-badge {
        background: rgba(16, 185, 129, 0.2);
        color: rgb(5, 150, 105);
        font-size: 0.7rem;
        padding: 0.1rem 0.5rem;
        border-radius: 10px;
        margin-left: 0.5rem;
    }

    .dark-mode .completed-badge {
        background: rgba(16, 185, 129, 0.3);
        color: rgb(52, 211, 153);
    }

    /* Apply styles to status pill when interview is completed 
    .status-pill.dropdown.completed {
        background: rgba(16, 185, 129, 0.15);
        border: 1px solid rgba(16, 185, 129, 0.25);
    }

    .dark-mode .status-pill.dropdown.completed {
        background: rgba(16, 185, 129, 0.25);
        border: 1px solid rgba(16, 185, 129, 0.35);
    }*/

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .analytics-metrics {
            grid-template-columns: 1fr 1fr;
        }

        .analytics-actions {
            flex-direction: column;
            gap: 0.5rem;
        }

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

    @media (max-width: 480px) {
        .analytics-metrics {
            grid-template-columns: 1fr;
        }
    }
    
    /* Tooltip Styles for Disabled Buttons */
    .tool-button:disabled {
        position: relative;
    }

    .tool-button:disabled::after {
        content: attr(title);
        position: absolute;
        bottom: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%) scale(0.95);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 6px 10px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        pointer-events: none;
        z-index: 100;
        width: max-content;
        max-width: 200px;
    }

    .tool-button:disabled::before {
        content: "";
        position: absolute;
        bottom: calc(100% + 0px);
        left: 50%;
        transform: translateX(-50%) scale(0.95);
        border-width: 6px;
        border-style: solid;
        border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        z-index: 100;
    }

    .tool-button:disabled:hover::after,
    .tool-button:disabled:hover::before {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) scale(1);
    }

    /* Enhanced disabled state appearance */
    .tool-button:disabled {
        opacity: 0.5;
        cursor: not-allowed !important;
        position: relative;
    }

    .tool-button:disabled::after {
        pointer-events: none;
    }

    /* Add a slight pulse effect on hover for disabled buttons to show interactivity */
    .tool-button:disabled:hover {
        animation: disabled-pulse 1.5s infinite;
    }

    @keyframes disabled-pulse {
        0% { opacity: 0.5; }
        50% { opacity: 0.6; }
        100% { opacity: 0.5; }
    }

    /* Specific styles for each button type when disabled */
    .tool-button:disabled i.fa-calculator {
        color: #92a3b1;
    }

    .tool-button:disabled i.fa-lightbulb {
        color: #b89f6b;
    }

    .tool-button:disabled i.fa-star {
        color: #b3a06d;
    }

    .dark-mode .tool-button:disabled i.fa-calculator,
    .dark-mode .tool-button:disabled i.fa-lightbulb,
    .dark-mode .tool-button:disabled i.fa-star {
        color: rgba(255, 255, 255, 0.4);
    }

    /* Header-specific tooltips */
    .header-sticky .tool-button:disabled::after {
        /* Position the tooltip below the button instead of above */
        bottom: auto;
        top: calc(100% + 6px);
    }

    .header-sticky .tool-button:disabled::before {
        /* Adjust the arrow to point upward instead of downward */
        bottom: auto;
        top: calc(100% + 0px);
        border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
    }

    /* Ensure footer tooltips stay the same */
    .footer .tool-button:disabled::after {
        bottom: calc(100% + 6px);
        top: auto;
    }

    .footer .tool-button:disabled::before {
        bottom: calc(100% + 0px);
        top: auto;
        border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
    }
    
    /* Adjust welcome modal positioning for mobile */
    @media (max-width: 768px) {
        .welcome-modal {
            display: flex;
            align-items: center;
            justify-content: center;
            padding-top: 0;
            /*padding-bottom: 0;*/
            min-height: 100vh;
            zoom:85%;
        }

        .welcome-modal .modal-content {
            margin: 0;
            width: 90%;
            max-width: 400px;
            max-height: 90vh;
            overflow-y: auto;
        }

        /* Add more space above the main title on mobile */
        .waving-hand.text-xl {
            margin-top: 1rem;
        }

        /* Ensure container has proper padding */
        .max-w-4xl {
            padding-top: 1rem;
        }

        /* Adjust the header spacing */
        .header-sticky {
            padding-top: 1.5rem;
        }
    }

    /* For very small devices, add even more space */
    @media (max-width: 480px) {
        .welcome-modal .modal-content {
            width: 95%;
            padding: 0.75rem;
        }
    }
    
    .dark-mode #remindLater {
        color: rgba(255, 255, 255, 0.9) !important; /* Brighter text color */
        background-color: rgba(75, 85, 99, 0.8) !important; /* Slightly darker button background */
    }

    .dark-mode #remindLater:hover {
        background-color: rgba(75, 85, 99, 1) !important; /* Even darker on hover */
        color: white !important; /* Full white on hover */
    }

    .social-share-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }
        
    .social-share-btn:hover {
        transform: translateY(-2px);
    }
    
    /* Share Modal Styles */
    #shareModal {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 70;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #shareModal .modal-content {
        background: white;
        border-radius: 12px;
        width: 90%;
        max-width: 450px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        animation: modal-appear 0.2s ease-out;
    }

    .dark-mode #shareModal .modal-content {
        background: #2a2a2a;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    @keyframes modal-appear {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Modal Header and Title Styling */
    #shareModal .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px 4px 20px;
        position: relative;
        margin-bottom: 0; /* Remove bottom margin */
    }

    #shareModal .modal-title {
        font-size: 20px; /* Increased from 18px */
        font-weight: 600;
        color: #333;
    }

    .dark-mode #shareModal .modal-title {
        color: white;
    }

    /* Adjust spacing in first section to compensate */
    #shareModal .share-section:first-of-type {
        padding-top: 16px; /* Reduced from 20px */
    }

    #shareModal .close-button {
        background: transparent;
        border: none;
        font-size: 18px;
        color: #777;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .dark-mode #shareModal .close-button {
        color: #aaa;
    }

    #shareModal .close-button:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #333;
    }

    .dark-mode #shareModal .close-button:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .share-section {
        padding: 20px;
        border-bottom: 1px solid #eee;
    }

    .dark-mode .share-section {
        border-bottom: 1px solid #383838;
    }

    .share-section:last-child {
        border-bottom: none;
    }

    .share-section-icon {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }

    .share-section-icon .icon-wrapper {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #f0f4ff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
    }

    .dark-mode .share-section-icon .icon-wrapper {
        background: rgba(77, 124, 254, 0.2);
    }

    .share-section-icon i {
        color: #4d7cfe;
        font-size: 18px;
    }

    .share-section-title {
        font-size: 16px;
        font-weight: 500;
        color: #333;
        margin-bottom: 4px;
    }

    .dark-mode .share-section-title {
        color: white;
    }

    .share-section-subtitle {
        font-size: 13px;
        color: #777;
        margin-bottom: 16px;
    }

    .dark-mode .share-section-subtitle {
        color: #aaa;
    }

    .share-link-container {
        display: flex;
        background: #f5f5f5;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        overflow: hidden;
    }

    .dark-mode .share-link-container {
        background: #3a3a3a;
        border: 1px solid #444;
    }

    .share-link-input {
        flex-grow: 1;
        border: none;
        background: transparent;
        padding: 10px 12px;
        color: #333;
        font-size: 14px;
    }

    .dark-mode .share-link-input {
        color: #ddd;
    }

    .share-link-input:focus {
        outline: none;
    }

    .share-link-copy {
        background: #4d7cfe;
        color: white;
        border: none;
        padding: 0 15px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .share-link-copy:hover {
        background: #3a65d8;
    }

    .copy-success {
        font-size: 13px;
        color: #10B981;
        margin-top: 8px;
        display: none;
    }

    .copy-success.visible {
        display: flex;
        align-items: center;
    }

    .copy-success i {
        margin-right: 5px;
    }

    .dark-mode .copy-success {
        color: #34D399;
    }

    .social-buttons {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 16px;
    }

    .social-button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

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

    .dark-mode .social-button:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .social-button.linkedin {
        background: #0077B5;
    }

    .social-button.twitter {
        background: #1DA1F2;
    }

    .social-button.facebook {
        background: #4267B2;
    }

    .social-button.email {
        background: #EA4335;
    }

    .download-image-button {
        background: #4d7cfe;
        color: white;
        border: none;
        width: 100%;
        padding: 12px;
        border-radius: 6px;
        font-weight: 500;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s ease;
        margin-top: 16px;
    }

    .download-image-button:hover {
        background: #3a65d8;
    }

    .download-image-button.loading {
        opacity: 0.8;
        cursor: wait;
    }

    .download-image-button i {
        font-size: 16px;
    }

    body:not(.interview-started) .welcome-screen\:inline-block {
        display: inline-block !important;
    }

    body.interview-started .interview-hidden\:hidden {
        display: none !important;
    }

    @media (max-width: 768px) {
      /* Make the grid columns more compact with equal heights */
      #caseTypeGrid {
        grid-gap: 8px;
        margin-bottom: 12px;
        align-items: stretch; /* Ensure rows stretch to the same height */
      }

      /* Make each card the same height with centered content */
      .case-type-card {
        padding: 0.5rem 0.75rem;
        height: 100%; /* Fill the available grid cell height */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center content vertically */
      }

      /* Center the content within the welcome modal */
      .welcome-modal {
        display: flex;
        align-items: center;
        min-height: 100vh;
      }

      /* Add consistent spacing for card content */
      .case-type-icon {
        margin-bottom: 0.25rem;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 2rem; /* Fixed height for icons */
      }

      /* Make text smaller and centered */
      .case-type-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
        text-align: center;
      }

      /* Make sure Growth Strategy and other cards with longer titles align properly */
      .case-type-card[data-type="growth"] h3,
      .case-type-card[data-type="market-entry"] h3 {
        font-size: 0.75rem; /* Slightly smaller for longer text */
      }

      /* Center the overall content vertically in the viewport */
      .welcome-modal .modal-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem 1rem;
        margin: auto 0;
      }
    }

    /* For even smaller screens */
    @media (max-width: 380px) {
      #caseTypeGrid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Update the pause button when it shows a checkmark on completed interviews */
    #pauseButton .fa-check-circle {
        color: #4d7cfe !important; 
    }

    .dark-mode #pauseButton .fa-check-circle {
        color: #4d7cfe !important;
    }

/* Comprehensive fix for sidebar on mobile */
@media (max-width: 768px) {
    /* Make sidebar always full height */
    .sidebar {
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden; /* Prevent overall scrolling */
        padding-bottom: 0; /* Remove any bottom padding */
    }
    
    /* Adjust content area to enable scrolling */
    .sidebar-content {
        flex: 1 1 auto; /* Allow this to grow but not shrink */
        overflow-y: auto; /* Enable scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        padding-bottom: 20px; /* Add padding at bottom */
    }
    
    /* Explicitly make footer non-scrollable */
    .sidebar-footer {
        flex: 0 0 auto; /* Don't grow or shrink */
        border-top: 1px solid rgba(59, 130, 246, 0.1);
        background: rgba(255, 255, 255, 0.95);
        padding: 10px;
        width: 100%;
        z-index: 5;
    }
    
    .dark-mode .sidebar-footer {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(26, 26, 26, 0.95);
    }
    
    /* Fix any possible overflow issues with the user profile */
    .user-profile {
        display: flex;
        align-items: center;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Make user info text properly truncate */
    .user-info {
        flex: 1;
        min-width: 0; /* Important for text truncation */
    }
    
    .user-name {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Adjust sidebar trigger to ensure instant visibility */
    .sidebar-trigger:hover + .sidebar,
    .sidebar:hover {
        left: 0;
        opacity: 1;
        transition: left 0.3s ease, opacity 0s;
        transition-delay: 0s;
    }
    
    /* Fix for long section content pushing footer off screen */
    .sidebar-section-content.expanded {
        max-height: none; /* Allow content to be as tall as needed */
        overflow-y: visible; /* Let parent container handle scrolling */
    }
    
    /* Fix any height calculations */
    html, body {
        height: 100%;
    }
}

/* Add this to your styles.css file */
#guestMessage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Take full height of available space */
    min-height: 120px; /* Ensure minimum height for proper visibility */
    padding-bottom: 120px;
}

#guestMessage .p-4 {
    width: 100%;
    padding: 1rem;
}

/* Add to your existing CSS */
#guestMessage .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

.signin-icon {
    font-size: 24px; /* Larger than text */
    opacity: 0.7; /* Slightly transparent to match text style */
    color: #6B7280; /* Match the gray text color */
}

/* Premium Text Effect for "Master Case Interviews with AI" */
.premium-text {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, #1e3a8a, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s ease-in-out infinite alternate;
    position: relative;
    letter-spacing: -0.01em;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes shine-sweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Dark mode adjustments */
.dark-mode .premium-text {
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.8), 
                 0 0 20px rgba(96, 165, 250, 0.6),
                 0 0 30px rgba(96, 165, 250, 0.4);
    background: linear-gradient(90deg, #60a5fa, #93c5fd, #bfdbfe);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Fixed position sidebar button styles */
.sidebar-section.fixed-button {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    /*border-bottom: 1px solid rgba(59, 130, 246, 0.1);*/
    margin-bottom: 0;
    /*box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);*/
}

.dark-mode .sidebar-section.fixed-button {
    background: rgba(26, 26, 26, 0.8);
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
    /*box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.1);*/
}

/* To ensure proper spacing below the fixed button */
.sidebar-section.fixed-button + .sidebar-section {
    margin-top: 0.5rem;
}

/* Ensure the sidebar content area has proper padding */
.sidebar-content {
    padding-top: 0 !important;
}

/* Update transitions for smoother effect */
.sidebar-section.fixed-button {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Handle hover state */
.sidebar-section.fixed-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.dark-mode .sidebar-section.fixed-button:hover {
    background: rgba(26, 26, 26, 0.9);
}

.sidebar-content:not(:hover) + .sidebar-section.fixed-button.scrolled {
    animation: subtle-shadow 0.3s forwards;
}

/* Make sure the upgrade banner inside the fixed section looks good */
.sidebar-section.fixed-button .upgrade-banner {
    background: rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.dark-mode .sidebar-section.fixed-button .upgrade-banner {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sidebar-section.fixed-button .upgrade-banner:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.dark-mode .sidebar-section.fixed-button .upgrade-banner:hover {
    background: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#duration {
    display: none;
}

/* Show the duration pill only when interview is started */
body.interview-started #duration {
    display: block;
}

@media (max-width: 768px) {
  #duration {
    display: none;
  }
    
  body.interview-started #duration {
    display: none;
  }
}

/* Add this to your existing CSS */
.google-signin-container {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

#google-signin-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Add some space around the Google button */
.g_id_signin {
    margin: 0 auto;
}

/* Make sure the modal has high z-index */
#googleSignInModal {
    z-index: 1100; /* Higher than other elements */
}


/* Premium Subscription Styles */

/* Premium text and icon styling 
.premium-text {
    background: linear-gradient(90deg, #f5b642 0%, #ffdf89 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.dark-mode .premium-text {
    background: linear-gradient(90deg, #fccc5c 0%, #fff2cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-icon {
    display: inline-block;
    transform-origin: center;
    animation: crownGlow 2s ease-in-out infinite alternate;
}

@keyframes crownGlow {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(245, 182, 66, 0.5);
    }
    100% {
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(245, 182, 66, 0.8),
                     0 0 20px rgba(245, 182, 66, 0.4);
    }
}*/

/* Premium Modal Styling */
#premiumModal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.dark-mode #premiumModal .modal-content {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Premium Header Styling */
#premiumModal .modal-header {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.dark-mode #premiumModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium Plan Tabs */
.plan-tabs {
    border-radius: 8px;
    background-color: rgba(59, 130, 246, 0.05);
    padding: 3px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.dark-mode .plan-tabs {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-tab {
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.dark-mode .plan-tab {
    color: rgba(255, 255, 255, 0.7);
}

.plan-tab.active {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.dark-mode .plan-tab.active {
    background: rgba(59, 130, 246, 0.8);
}

/* Savings Badge */
.savings-badge {
    font-size: 0.65rem;
    background-color: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    display: inline-block;
}

.dark-mode .savings-badge {
    background-color: rgba(46, 213, 115, 0.3);
    color: #4aeb8b;
}

/* Premium Button */
.premium-button {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: none;
}

.premium-button:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.dark-mode .premium-button {
    background: rgba(59, 130, 246, 0.8);
}

.dark-mode .premium-button:hover {
    background: rgba(59, 130, 246, 0.9);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.premium-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.premium-button:hover::after {
    left: 100%;
}

/* Price Styling */
.price-container {
    color: #1a1a1a;
    text-align: center;
}

.dark-mode .price-container {
    color: white;
}

.currency {
    font-weight: 500;
    margin-right: 2px;
}

.price {
    font-weight: 700;
}

.period {
    color: #666666;
    font-weight: 400;
    margin-left: 2px;
}

.dark-mode .period {
    color: rgba(255, 255, 255, 0.6);
}

/* Benefits List */
.benefits-list ul {
    list-style-type: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 10px;
}

.benefits-list i {
    color: #10B981;
}

.dark-mode .benefits-list i {
    color: #34D399;
}

/* Secondary Button (Manage Subscription) */
.secondary-button {
    background: rgba(59, 130, 246, 0.1);
    color: #1a1a1a;
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    width: 100%;
}

.secondary-button:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.dark-mode .secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-mode .secondary-button:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

/* Tertiary Button (Cancel Subscription) */
.tertiary-button {
    background: transparent;
    color: #666666;
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
    width: 100%;
}

.tertiary-button:hover {
    background: rgba(59, 130, 246, 0.05);
    color: #333333;
}

.dark-mode .tertiary-button {
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .tertiary-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

/* Plan Details */
.plan-details {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.dark-mode .plan-details {
    background: rgba(45, 45, 45, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Subscription Status Badge */
.status-badge span {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10B981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.dark-mode .status-badge span {
    background-color: rgba(16, 185, 129, 0.3);
    color: #34D399;
}

/* Loading Spinner */
.spinner {
    color: rgba(59, 130, 246, 0.9);
    animation: spin 1.5s linear infinite;
}

.dark-mode .spinner {
    color: rgba(59, 130, 246, 0.8);
}

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

/* Premium Badge for User Profile */
.premium-badge {
    background: linear-gradient(90deg, #f5b642 0%, #ffdf89 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 6px;
}

/* Sidebar Premium Button */
.sidebar-footer .upgrade-banner {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    display: flex;
    /* align-items: center;
    justify-content: center;*/
}

.sidebar-footer .upgrade-banner:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.dark-mode .sidebar-footer .upgrade-banner {
    background: rgba(59, 130, 246, 0.8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.dark-mode .sidebar-footer .upgrade-banner:hover {
    background: rgba(59, 130, 246, 0.9);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

.sidebar-footer .upgrade-banner i {
    color: #f5b642;
    margin-right: 6px;
}

/* Premium locked features */
.premium-locked {
    position: relative;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.premium-locked::after {
    content: '👑';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 0.9rem;
}

/* Premium feature unlock animation */
@keyframes unlockPremium {
    0% {
        opacity: 0.5;
    }
    10% {
        opacity: 0.8;
    }
    30% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

.premium-unlock {
    animation: unlockPremium 0.8s ease forwards;
}

/* Cancel Confirmation Modal */
#cancelConfirmModal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark-mode #cancelConfirmModal .modal-content {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Success Modal */
#subscriptionSuccessModal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark-mode #subscriptionSuccessModal .modal-content {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Error message in premium modal */
#premiumError {
    text-align: center;
    padding: 2rem 1rem;
}

#premiumError .error-icon {
    color: #ef4444;
    margin-bottom: 1rem;
}

.dark-mode #premiumError .error-icon {
    color: #f87171;
}

/* Premium badge for user plan in sidebar */
.user-plan.premium {
    color: #f5b642;
    display: flex;
    align-items: center;
}

.user-plan.premium::before {
    content: '👑';
    margin-right: 4px;
    font-size: 0.8rem;
}

/* Mobile responsiveness for premium modal */
@media (max-width: 768px) {
    #premiumModal .modal-content {
        max-width: 90%;
        padding: 1.5rem;
    }
    
    .plan-tabs {
        display: flex;
    }
    
    .plan-tab {
        flex: 1;
        text-align: center;
        padding: 0.5rem;
    }
    
    .benefits-list li {
        font-size: 0.9rem;
    }
}

.cup {
    cursor: pointer;
}

/* Update the close button styling in the premium modal */
#premiumModal .modal-header button {
    color: #666666;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
}

#premiumModal .modal-header button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333333;
}

.dark-mode #premiumModal .modal-header button {
    color: rgba(255, 255, 255, 0.6);
}

.dark-mode #premiumModal .modal-header button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Add these styles to your existing CSS file */

/* Text input container styles */
.text-input-container {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px; /* Default width */
    max-width: 90vw;
    background: rgba(30, 30, 34, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 40;
    transition: all 0.3s ease;
}

/* Responsive width adjustments */
@media (min-width: 768px) {
    .text-input-container {
        width: 500px; /* Medium screens */
    }
}

@media (min-width: 1200px) {
    .text-input-container {
        width: 600px; /* Large screens */
    }
}

/* Text input field */
.user-text-input {
    flex: 1;
    height: 40px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    padding: 0 10px;
    font-family: inherit;
}

.user-text-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Submit button */
.text-submit-button {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.text-submit-button:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
}

.text-submit-button:active {
    transform: scale(0.95);
}

/* Dark mode adjustments */
.dark-mode .text-input-container {
    background: rgba(17, 17, 21, 0.7);
}

/* Interview styling for text input */
.interview-started .text-input-container {
    bottom: 90px;
}

/* Disabled state styling */
.text-input-container.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Input mode toggle button animation */
#inputModeToggle {
    transition: transform 0.2s ease;
}

#inputModeToggle:hover {
    transform: translateY(-2px);
}

/* Add subtle pulse animation when text input is active */
@keyframes subtlePulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 5px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.text-input-container:focus-within {
    border-color: rgba(59, 130, 246, 0.5);
    animation: subtlePulse 2s infinite;
}

/* Premium feature styling */
    .premium-feature {
        position: relative;
        transition: all 0.3s ease;
    }
    
    .premium-feature:hover {
        transform: translateY(-2px);
    }
    
    /* Industry input container styled like text mode input */
    .industry-input-container {
        display: flex;
        align-items: center;
        width: 100%;
        background: rgba(30, 30, 34, 0.7);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 10px 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    /* Dark mode adjustments */
    .dark-mode .industry-input-container {
        background: rgba(17, 17, 21, 0.7);
    }
    
    /* Industry text input field */
    .industry-text-input {
        flex: 1;
        height: 40px;
        background: transparent;
        border: none;
        outline: none;
        color: #fff;
        font-size: 1rem;
        padding: 0 10px;
        font-family: inherit;
    }
    
    .industry-text-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }
    
    /* Cute industry icon styling */
    .industry-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.2rem;
        transition: all 0.3s ease;
        border-radius: 50%;
        margin-left: 5px;
    }
    
    /* Icon animation on input focus */
    .industry-input-container:focus-within .industry-icon {
        color: rgba(255, 255, 255, 0.9);
    }
    
    /* Add subtle pulse animation when input is focused */
    @keyframes subtlePulse {
        0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
        70% { box-shadow: 0 0 0 5px rgba(59, 130, 246, 0); }
        100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
    }
    
    .industry-input-container:focus-within {
        border-color: rgba(59, 130, 246, 0.5);
        animation: subtlePulse 2s infinite;
    }
    
    /* Slider custom styling */
    #difficulty {
        height: 6px;
        outline: none;
    }
    
    #difficulty::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: #3b82f6;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    #difficulty::-moz-range-thumb {
        width: 20px;
        height: 20px;
        background: #3b82f6;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    #difficulty::-webkit-slider-thumb:hover {
        transform: scale(1.1);
        background: #2563eb;
    }
    
    #difficulty::-moz-range-thumb:hover {
        transform: scale(1.1);
        background: #2563eb;
    }
    
    .dark-mode #difficulty::-webkit-slider-thumb {
        background: #4b92ff;
    }
    
    .dark-mode #difficulty::-moz-range-thumb {
        background: #4b92ff;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .industry-input-container {
            width: auto;
            max-width: 90vw;
        }
    }