.container {
    flex-direction: column;
    padding: 1rem;
    margin: 0.5rem auto 0;
    min-height: calc(100vh - 3.6rem - 2rem - 0.5rem);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-content {
    padding: 1rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-content h2 {
    font-size: 1.5rem;
}

.main-content p {
    font-size: 1rem;
}

header {
    padding: 0.8rem;
}

header h1 {
    font-size: 1.2rem;
}

footer {
    margin: 1rem;
    padding: 1rem;
    border-radius: 12px;
}

#chat-history {
    border: 1px solid #ccc;
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    border-radius: 12px;
    max-height: 300px;
}

.chat-input {
    position: relative;
    margin-top: 10px;
    width: 100%;
}

.chat-input input {
    width: 100%;
    padding: 8px 60px 8px 16px;
    border: 1px solid #ccc;
    border-radius: 100px;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
}

.chat-input button {
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.message {
    padding: 10px;
    margin-bottom: 6px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #222;
    transition: transform 0.2s ease;
}

.message:hover {
    transform: translateY(-2px);
}

.message.user {
    background-color: #f0f0f0;
    text-align: right;
}

.message.gemini {
    background-color: #e0f7fa;
    text-align: left;
}

.message.gemini ul {
    padding-left: 20px;
}

#chat-history::-webkit-scrollbar {
    width: 6px;
}

#chat-history::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}

#chat-history::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.typing-indicator {
    background-color: #e0f7fa;
    color: #888;
    padding: 5px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    display: none;
    margin-bottom: 5px;
    align-self: flex-start;
}

/* Thêm định dạng cho nút mới */
.drive-buttons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Giảm khoảng cách cho mobile */
    margin-top: 30px; /* Đẩy xuống để nằm giữa */
}

.drive-buttons button {
    background-color: #cce6cc; /* Xanh lá nhạt */
    color: #333;
    border: none;
    border-radius: 10px; /* Viền cong nhẹ */
    padding: 10px 25px; /* To hơn, hình chữ nhật */
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.drive-buttons #load-from-drive {
    background-color: #fff6cc; /* Vàng nhạt */
}

.drive-buttons button:hover {
    transform: translateY(-2px);
    background-color: #b3d9b3;
}

.drive-buttons #load-from-drive:hover {
    background-color: #ffedb3;
}

.drive-buttons button:disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}