body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Inter", Arial, sans-serif;
    background-color: rgb(30, 30, 30);
    color: #d1d5db;
}

.typing-indicator {
display: inline-block;
font-size: 16px;
color: #d1d5db;
animation: blinkText 1.5s infinite; /* Blinking animation */
}

@keyframes blinkText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Make sure the toggle switch is visible */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align toggle switch to the left */
    background-color: #333; /* Ensure it has a background */
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.toggle-label {
    margin-right: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: .4s;
    border-radius: 34px;
}

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

input:checked + .slider {
    background-color: #4CAF50;
}

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


.splash-screen {
padding-top: 20px; /* Adds 20px of space at the top */
text-align: center; /* Ensures content stays centered */
background-color: rgb(20, 20, 20);
color: #e5e7eb;
}


@keyframes pulse {
0% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.3); /* Bigger pulse (scaled by 30%) */
opacity: 0.7; /* Slight fade for stronger effect */
}
100% {
transform: scale(1);
opacity: 1;
}
}


.splash-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s, filter 0.3s;
    cursor: pointer;
}

/* Stronger hover effect */
.splash-icon:hover {
    transform: scale(1.3); /* Bigger zoom effect */
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5); /* Stronger glow */
    filter: brightness(1.4) contrast(1.2); /* Slightly brighter effect */
}

/* Click (active) effect */
.splash-icon:active {
    transform: scale(1.15); /* Slight press-down effect */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7); /* Glow persists but reduced */
    filter: brightness(1.2);
}

.main-interface {
    display: none;
    flex-direction: column;
    height: 100%;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px 16px;
    gap: 20px;
    scroll-behavior: smooth;
    background-color: rgb(30, 30, 30);
    margin-top: 50px; /* Adds space below the language selector */
}

/* Ensure images are responsive */
.response-container img {
max-width: 100%; /* Image scales to fit within its container */
height: auto; /* Maintain aspect ratio */
display: block; /* Ensure the image behaves like a block element */
margin: 10px 0; /* Aligns image to the left */
border-radius: 8px; /* Optional: Add rounded corners */
}


.response-container.user {
    align-self: flex-end;
    color: white; /* ✅ White text */
    font-weight: bold; /* ✅ Makes text stand out */
    background-color: transparent !important; /* ✅ Fully see-through background */
    text-shadow: none;
    border: 2px solid white; /* ✅ White border around the message box */
    border-radius: 8px; /* ✅ Optional: Slight rounding for a polished look */
    padding: 10px 15px; /* ✅ Proper spacing inside the message box */
    display: inline-block; /* ✅ Ensures text wraps correctly */
    max-width: 75%; /* ✅ Prevents text from stretching too wide */
    word-wrap: break-word; /* ✅ Ensures text wraps correctly */
}
.input-container {
    background-color: rgb(30, 30, 30);
    padding: 10px;
    border-top: 1px solid #444654;
    display: flex;
    justify-content: center;
}

.input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1024px;
    background-color: rgb(41, 41, 41);
    border-radius: 12px;
    padding: 8px;
}

.input-icon.pulsing {
  animation: pulse 2s ease-out infinite;
}


input[type="text"] {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    background-color: transparent;
    color: #ffffff;  /* ✅ Set input text to white */
}

input[type="text"]::placeholder {
    color: #ffffff;  /* ✅ Set input text to white */
}

.send-button {
width: 36px;
height: 36px;
background-color: rgb(255, 255, 255);
border: none;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
appearance: none; /* Resets native styles for input buttons */
-webkit-appearance: none; /* For Safari and iOS-specific styles */
outline: none; /* Removes any focus outline */
box-shadow: none; /* Prevents default shadow on focus */
}
.send-button svg {
width: 16px; /* Adjust arrow size */
height: 16px;
fill: #000; /* Black arrow color */
stroke: none; /* Ensures clean rendering */
display: block; /* Ensure SVG behaves properly */
}


.send-button:hover {
background-color: #6b6e85;
}

.send-button:disabled {
background-color: #a1a1aa;
cursor: not-allowed;
}
.copy-icon {
width: 24px;
height: 24px;
cursor: pointer;
margin-left: 10px;
}

.copy-icon {
order: -1; /* Explicitly moves the icon to the beginning */
margin-left: 0; /* Removes default margin */
margin-right: 10px; /* Adds spacing to the right */
}

.response-container .response-text {
flex: 1; /* Ensures the text spans the remaining space */
}


.copied-notification {
position: absolute;
background-color: black;
color: white;
padding: 5px 10px;
border-radius: 8px;
font-size: 14px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

/* Style links */
a:link {
    color: #1a73e8;
}
a:visited {
    color: #32CD32;
}
a:hover {
    color: #e91e63;
}

       /* Lightbox Styles */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#lightbox span {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.conversation-starters {
margin-top: 20px;
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
}

.starter-button {
padding: 10px 20px;
font-size: 16px;
background-color: rgb(50, 50, 50);
color: #e5e7eb;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
}

.starter-button:hover {
background-color: rgb(70, 70, 70);
}
.conversation-grid {
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 columns of equal width */
gap: 8px; /* Smaller spacing between the buttons */
margin-top: 20px;
padding: 0 10px; /* Add space on the left and right */
}

.grid-button {
padding: 10px; /* Adjust padding for a narrower button */
font-size: 14px; /* Slightly smaller font */
text-align: left; /* Align text to the left */
background-color: rgb(50, 50, 50);
color: #e5e7eb;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s, outline 0.3s; /* Smooth hover effects */
height: auto; /* Button height adjusts to content */
min-height: 60px; /* Ensures three lines of text fit */
line-height: 1.4; /* Line spacing for multi-line text */
}

.grid-button:hover {
background-color: rgb(70, 70, 70);
outline: 1px solid white; /* Add fine white outline */
outline-offset: -3px; /* Move the outline closer to the button */
}

/* Green "Let's go!" button */
.starter-button.start-button {
background-color: rgb(34, 139, 34); /* Green color */
color: #fff; /* White text */
font-weight: bold;
padding: 12px 24px;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}

/* Hover effect for green button */
.starter-button.start-button:hover {
background-color: rgb(50, 205, 50); /* Lighter green on hover */
transform: scale(1.05); /* Slight zoom on hover */
}


/* Move the language selector to the top-left */
.language-selector {
    position: relative; /* Make sure it does not interfere with other elements */
    background-color: #333; /* Dark background */
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 12px; /* ✅ Pushes the toggle down */
    z-index: 1; /* Ensure it does not overlap the toggle */
}
/* Dropdown appearance */
.language-selector select {
    padding: 5px;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    background-color: #444;
    color: #fff;
    appearance: none;
}

.language-selector select:hover {
    background-color: #555;
}

.language-selector select:focus {
    border-color: #777;
    outline: none;
}

.login-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Add spacing between buttons */
}

/* Styled Login Button */
.login-container button {
    background: #1a8917; /* Medium-style green from site.css */
    color: #fff;
    border: none;
    padding: .55rem 1rem;
    font-size: 14px;
    font-weight: 600;
    border-radius: 99px; /* Pill shape matching site.css */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}



/* Click effect */
.login-container button:active {
    transform: scale(0.95);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
/* Login Container (Fix Position) */
.login-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Button Hover Effect */
.login-container button:hover {
    filter: brightness(.95);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.top-left {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking */
    gap: 12px; /* ✅ Add more spacing between elements */
    align-items: flex-start; /* Aligns everything to the left */
}

/* Ensure the toggle is aligned and has enough space */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns text and switch to the left */
    background-color: #333; /* Dark background */
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    width: fit-content; /* Prevents it from stretching */
}


/* Ensure Language Selector and Image Toggle are on the same line */
.language-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between language selector and toggle */
}

/* Keep the toggle switch in the top-right */
.top-right {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px; /* Increase spacing */
    background-color: #333;
    padding: 5px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.input-icon {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-right: 10px;
    cursor: pointer; /* Ensure it's clickable */
    transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s; /* Smooth transitions */
}

/* Stronger hover effect */
.input-icon:hover {
    background-color: #85899e; /* Lighter shade for a stronger visual effect */
    transform: scale(1.15); /* Bigger zoom effect */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Soft glowing effect */
}

/* Click effect for a smooth interaction */
.input-icon:active {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.bordered {
    border: 10px solid white; /* Adjust thickness */
}
.highlight {
    background-color: transparent !important; /* ✅ Remove yellow background */
    color: white !important; /* ✅ White text */
    font-weight: bold; /* ✅ Make it stand out */
    padding: 3px 6px; /* Keep spacing */
    border-radius: 5px; /* Keep rounded edges if needed */
    display: inline-block; /* Ensures proper spacing */
}
.image-wrapper {
    display: flex;
    justify-content: left; /* Align everything left */
    margin-bottom: 10px; /* Add spacing */
}

.image-container {
    display: inline-block; /* ✅ Shrink to fit content */
    max-width: 800px; /* ✅ Limit max width (adjust as needed) */
    width: auto; /* Ensures it adjusts to image width */
    padding: 10px; /* ✅ Adds some spacing inside the border */
    border: 1px solid white; /* ✅ Adds a white outline */
    border-radius: 8px; /* ✅ Optional: Slight rounding */
    background-color: inherit; /* ✅ Uses the background color of the parent */
}

.image-description {
    font-style: italic; /* ✅ Italic text */
    text-align: justify;
    width: 100%; /* ✅ Matches image width */
    word-wrap: break-word; /* ✅ Prevents text overflow */
    white-space: normal; /* ✅ Ensures proper wrapping */
    margin: 5px 0 0 0; /* ✅ Removes unwanted gaps above */
    line-height: 1.4; /* ✅ Improves readability */
}
.splash-icon-container {
    position: relative;
    display: inline-block;
    cursor: pointer; /* ✅ Makes it clear that it's clickable */
}

.splash-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ✅ Centers text properly */
    font-size: 20px; /* ✅ Adjust font size */
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9); /* ✅ Brighter text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* ✅ Better contrast */
    pointer-events: none; /* ✅ Prevents text from blocking clicks */
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.3); /* ✅ Light black background for visibility */
    padding: 5px 10px; /* ✅ Adds some spacing */
    border-radius: 5px; /* ✅ Soft rounded edges */
}
.three-d-button {
    background: linear-gradient(to bottom, #808080, #505050);
    border: 2px solid #444;
    color: white;
    text-shadow: none;
}

.three-d-button:active {
    box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.3); /* Pressed effect */
    background: linear-gradient(to bottom, #a9a9a9, #808080); /* Darker when pressed */
    transform: translateY(2px); /* Moves button down slightly */
}
.three-d-button:hover {
    background: linear-gradient(to bottom, #e0e0e0, #b0b0b0);
}

.play-icon {
    display: inline-block;  /* Ensure proper hover effect */
    font-size: 24px; /* Make emoji larger */
    cursor: pointer;  /* Indicate it's clickable */
    margin-left: 8px; /* Add space between text and emoji */
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
    color: #004080; /* Dark blue */
}

.play-icon:hover {
    transform: scale(1.3); /* Slight zoom effect */
    color: #002f5e; /* Even darker blue on hover */
    text-shadow: 2px 2px 4px rgba(0, 47, 94, 0.5); /* Subtle glow effect */
}

.play-icon:active {
    transform: scale(1.1); /* Slight shrink when clicked */
    color: #001a33; /* Deep navy blue when clicked */
}
.copyright-notice {
    width: 100%;
    text-align: center;
    font-size: 8px;  /* ✅ Reduced font size */
    font-weight: normal;  /* ✅ Less bold */
    padding: 6px 0;  /* ✅ Reduced padding */
    background-color: #222; /* Dark background */
    color: #bdbdbd; /* ✅ Lighter gray text for subtlety */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Adjust page layout to accommodate fixed copyright notice */
.splash-screen, .main-interface {
    margin-top: 30px; /* ✅ Slightly less space to push content down */
    background-color:rgb(30, 30, 30);  /* ✅ Matches the existing section background */
}

/* Center and stack form fields */
#loginForm, #signupForm, #accountForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;    
}

/* Ensure input fields are full-width inside modal */
#loginForm input, #signupForm input, #accountForm input {
    width: 100%;
    max-width: 300px; /* Set a max width */
    padding: 12px;
    margin-bottom: 15px; /* Space between fields */
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: #17191b; /* Matches dark mode site.css */
    color: #e8e8e8;
}

/* Adjust the login button */
.login-btn {
    width: 100%;
    max-width: 300px;
    padding: .65rem 1rem;
    background: #1a8917; /* site.css link color */
    color: #fff;
    border: none;
    font-weight: bold;
    border-radius: 99px;
    cursor: pointer;
    transition: filter 0.2s ease-in-out;
}

.login-btn:hover {
    filter: brightness(.95);
}

/* Center switch text */
.switch-text {
    text-align: center;
    margin-top: 10px;
}
textarea {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 16px;
    background-color: transparent;
    color: #ffffff;  /* ✅ Set input text to white */
    resize: none;
    overflow-y: hidden;
    min-height: 40px;
    max-height: 200px;
}
/* Position close "X" at the top-right corner of the modal box */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #b3b3b3; /* Muted color to match site.css */
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    transition: color 0.2s ease;
}

/* Hover effect for better UX */
.close:hover {
    color: #fff;
}
.account-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 10px; /* Add spacing */
}

.account-container button {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 8px;
    border-radius: 50%;
    transition: transform 0.2s, background-color 0.2s;
}

.account-container button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
/* Dropdown Menu - Hidden by Default */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: 180px;
    padding: 10px 0;
    z-index: 1000;
}

/* Dropdown Items */
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}

/* Hover Effect */
.dropdown-menu a:hover {
    background-color: #555;
}

/* Show the dropdown when active */
.account-container.active .dropdown-menu {
    display: block;
}
.account-container button {
    font-size: 24px; /* Make the icon bigger */
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 8px;
    border-radius: 50%;
    transition: transform 0.2s, background-color 0.2s;
}

.account-container button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    width: 180px;
    padding: 10px 0;
    z-index: 1001;
}

/* Dropdown Items */
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}

/* Hover Effect */
.dropdown-menu a:hover {
    background-color: #555;
}

/* Show the dropdown when active */
.account-container.active .dropdown-menu {
    display: block;
}





/* Ensure modals are hidden initially */
.modal {
    display: none; /* Hide by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Style modal content */
.modal-content {
    background: #242424; /* Darker, cleaner background */
    color: #e8e8e8; /* Text color from site.css dark mode */
    padding: 30px 20px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-family: system-ui, Arial, sans-serif;
}


/* Ensure it's hidden initially */
.modal {
    display: none;
}
/* General Styles for Smaller Screens */
@media (max-width: 768px) {
    .response-container img {
        max-width: 90%; /* Reduce width slightly for smaller devices */
    }
    
    .conversation-grid {
        grid-template-columns: repeat(2, 1fr); /* Adjust to 2 columns for small screens */
    }
    
    .top-left {
        gap: 6px; /* Reduce space between elements */
    }
    
    .top-right {
        top: 5px; /* Reduce top margin */
        right: 5px; /* Adjust right position */
        padding: 5px 10px; /* Reduce padding */
        gap: 8px; /* Reduce space between elements */
        flex-direction: column; /* Stack elements vertically */
        align-items: flex-end; /* Align to right */
    }
    
    .language-selector {
        width: 90%; /* Make it full width */
        max-width: 150px; /* Limit width */
    }
    
    .splash-icon {
        margin-top: 50px; /* Increase space below toggle and selector */
        width: 80px; /* Reduce size for better fit */
        height: 80px;
    }
    
    .splash-screen {
        padding-top: 60px; /* Push content down */
    }
    
    .response-container {
        flex-direction: row-reverse; /* Moves the icon to the left */
        justify-content: flex-start; /* Aligns all items to the start */
    }
    
    .copy-icon {
        order: -1; /* Explicitly moves the icon to the beginning */
        margin-left: 0; /* Removes default margin */
        margin-right: 10px; /* Adds spacing to the right */
    }
    
    .response-container .response-text {
        flex: 1; /* Ensures the text spans the remaining space */
    }
}
.input-icon-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 80px;
    height: 80px;
}

.input-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
#accountForm .password-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ⬅️ Left-align the children */
    width: 100%;
}

.copy-icon-button.bottom-copy {
    position: absolute;
    bottom: 10px;
    border-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.copy-icon-button.bottom-copy:hover {
    opacity: 1;
}

.response-container {
    position: relative;
    padding-bottom: 40px; /* Make room for the bottom-positioned button */
}

.scroll-container {
  width: 100%;
  overflow: hidden;
  background-color: #2a2a2a;
  padding: 12px 0;
  position: relative;
  text-align: center;
}

.scroll-to-center {
  display: inline-block;
  white-space: nowrap;
  font-size: 16px;
  color: #d1d5db;
  animation: scrollToCenter 5s ease-out forwards;
}

.scroll-to-center button {
  background: linear-gradient(to right, #4CAF50, #2E8B57);
  color: white;
  font-weight: 600;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

@keyframes scrollToCenter {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
  }
}

body.light-mode {
    background-color: white !important;
    color: black !important;
}

body.light-mode .chat-container,
body.light-mode .input-container,
body.light-mode .input-wrapper,
body.light-mode .response-container.user,
body.light-mode .starter-button,
body.light-mode .grid-button,
body.light-mode .splash-screen,
body.light-mode .language-selector,
body.light-mode .toggle-container,
body.light-mode .top-right,
body.light-mode .top-left {
    background-color: #fff !important;
    color: #242424 !important;
    border-color: rgba(0,0,0,.08) !important;
}

body.light-mode .modal-content {
    background-color: #fff !important;
    color: #242424 !important;
    border-color: rgba(0,0,0,.08) !important;
}

body.light-mode input[type="text"],
body.light-mode textarea {
    background-color: white !important;
    color: black !important;
}

body.light-mode #loginForm input, 
body.light-mode #signupForm input, 
body.light-mode #accountForm input {
    background-color: #f6f7f8 !important; /* Gentle background from site.css */
    color: #242424 !important;
    border: 1px solid rgba(0,0,0,.06) !important;
}

body.light-mode input[type="text"]::placeholder,
body.light-mode textarea::placeholder {
    color: gray !important;
}

body.light-mode .send-button svg {
    fill: black !important;
}

body.light-mode .response-container.user {
    color: black !important;
    border: 2px solid black !important;
}

body.light-mode .close {
    color: #6b6b6b !important;
}
body.light-mode .close:hover {
    color: #242424 !important;
}

body.light-mode a:link {
    color: #1a0dab;
}
body.light-mode a:visited {
    color: #660099;
}
body.light-mode a:hover {
    color: #d61a3c;
}
.fade-out {
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none; /* Optional: disables interaction after fade */
}

.mic-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
