/* public/css/styles.css */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page {
    min-height: 100vh;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 16px;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 75vh;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.chat-input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background-color: #f8f9fa;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    resize: none;
    font-size: 16px;
}

.chat-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.send-button {
    margin-left: 10px;
    align-self: flex-end;
}

.user-message, .assistant-message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.user-message {
    align-items: flex-end;
}

.assistant-message {
    align-items: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 16px;
    position: relative;
    margin-bottom: 5px;
}

.user-bubble {
    background-color: #0d6efd;
    color: white;
    border-bottom-right-radius: 5px;
}

.assistant-bubble {
    background-color: #f1f0f0;
    color: #333;
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.typing-indicator {
    display: flex;
    padding: 15px;
}

.typing-indicator span {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 1px;
    animation: bounce 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* Test interface styling */
.test-container {
    padding: 20px;
    border-radius: 10px;
    background-color: white;
}

.test-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.test-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.test-option {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.test-option:hover {
    background-color: #f5f9ff;
    border-color: #bbdefb;
}

.test-option.selected {
    background-color: #e3f2fd;
    border-color: #0d6efd;
}

.test-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}