:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --accent-color: #3b82f6;
    --message-bg: #1e293b;
    --user-message-bg: #1e40af;
    --error-color: #ef4444;
    --success-color: #22c55e;
    --dark-color: #0f172a;
    --light-color: #ffffff;
    --grey-color: #334155;
    --light-grey: #1e293b;
    --white: #1e293b;
}

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

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

button {
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

input, select, textarea {
    padding: 0.75rem;
    border: 1px solid var(--accent-color);
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-color);
    border-radius: 0.25rem;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    background-color: var(--success-color);
    color: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.notification.show {
    display: block;
    opacity: 1;
}

.notification.error {
    background-color: var(--error-color);
}

.message {
    padding: 1rem;
    border-radius: 0.5rem;
    max-width: 80%;
    animation: slideIn 0.3s ease-out;
}

.user-message {
    background: var(--user-message-bg);
    align-self: flex-end;
}

.bot-message {
    background: var(--message-bg);
    align-self: flex-start;
}

.error {
    color: var(--error-color);
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    margin-bottom: 1rem;
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 400px;
    width: 90%;
}

.spacer {
    flex-grow: 1;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Center the title in the header */
.centered-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}
