/* Global Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e1e;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Dark Mode Toggle Container */
.toggle-container {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#toggle-text {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Container for Page Content */
.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    padding: 20px;
}

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

.logo img {
    max-width: 100px;
    margin-right: 20px;
    filter: drop-shadow(0 0 10px #66E2D5);
}

h1 {
    font-size: 2.5rem;
    color: #66E2D5;
}

/* General paragraph styling */
p {
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
}

/* Top statement in light theme */
.dark-mode p {
    color: #1e1e1e; /* Dark black color in light mode */
}

/* Iframe Styling */
iframe {
    border: 2px solid #66E2D5;
    border-radius: 10px;
    width: 60%;
    height: 650px;
    background-color: #2d2d2d;
    margin: 20px 0;
    display: none; /* Initially hidden */
}

/* Footer Styling */
footer {
    text-align: center;
    color: #888;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Dark Mode */
.dark-mode {
    background-color: #f3f3f3;
    color: #1e1e1e;
}

.dark-mode h1 {
    color: #0078d7;
}

.dark-mode iframe {
    background-color: #e0e0e0;
}

/* Floating Chat Button */
.floating-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #66E2D5;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner for loading */
.spinner {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #66E2D5;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin-top: 20px;
}

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

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.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: 0.4s;
    border-radius: 34px;
}

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

input:checked + .slider {
    background-color: #66E2D5;
}

input:checked + .slider:before {
    transform: translateX(26px);
}
/* Chatbot Description Styling */
.chatbot-description {
    font-size: 0.9rem; /* Slightly smaller font size */
    color: #888; /* Same color as footer for dark theme */
    text-align: center;
    margin-bottom: 20px;
}

/* Light theme description color */
.dark-mode .chatbot-description {
    color: #1e1e1e; /* Dark black color in light mode */
}
/* Footer Styling */
footer {
    text-align: center;
    color: #888;
    padding: 20px;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Microsoft Logo Styling */
.ms-logo {
    height: 1.2em; /* Slightly taller than the font size of footer */
    margin-left: 10px; /* Adds space between the text and logo */
    margin-right:10px;
    vertical-align: middle;
}

