/* styles.css */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
}
body.chat-page {
    align-items: flex-start;
    padding: 2rem 1rem;
    height: auto;
    min-height: 100vh;
}
h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    height: auto;
}

body.chat-page .container {
    max-width: 720px;
}

button {
    width: 10%;
    padding: 0.75rem;
    background-color: #ff9c66;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top:10px;
}

button:hover {
    background-color: #0056b3;
}
button:active {
    transform: translateY(1px);
}
.message {
    margin-top: 1rem;
    color: #555;
}
.error {
    color: #d9534f;
}
.success {
    color: #5cb85c;
}
.chatbot-container {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;  /* rounds iframe corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.chatbot-container.active {
    display: block;
}
/* new: nice iframe styling */
.chatbot-frame {
    display: block;
    width: 100%;
    height: 600px;
    border: none;
}
/* iframe {
    width: 100%;
    height: px;
    border: none;
    border-radius: 4px;

} */

/* Optional: slightly tighter on small screens */
@media (max-width: 480px) {
    body.chat-page .container {
        padding: 1.5rem 1.25rem;
    }

    .chatbot-frame {
        height: 500px;
    }
}







