/* General Styles */
body {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header */
.header {
    text-align: center;
    padding: 20px;
    background: rgba(116, 194, 211, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.header p {
    margin: 10px 0 0;
    font-size: 1rem;
    color: #ccc;
}

/* Chat Container */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

/* Scenario Section */
.scenario-section {
    text-align: center;
}

.scenario-section h2 {
    margin-bottom: 10px;
    color: #4c9eaf;
}

.scenario-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.question-button {
    padding: 12px 18px;
    font-size: 1rem;
    color: white;
    background: #4c9eaf;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.question-button:hover {
    background: #263aaa;
    transform: scale(1.05);
}

/* Chat Box */
.chat-box {
    flex: 1;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-image: url('https://cdn.pixabay.com/photo/2016/11/18/14/49/postcard-1836315_960_720.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
}

.message {
    padding: 12px;
    border-radius: 8px;
    max-width: 70%;
    position: relative;
}

.user {
    align-self: flex-end;
    background: #4c9eaf;
    color: white;
    border: 2px solid white;
    border-radius: 20px 20px 0 20px;
}

.bot {
    align-self: flex-start;
    background: #263aaa;
    color: white;
    border: 2px solid white;
    border-radius: 20px 20px 20px 0;
}

/* Chat Input */
.chat-input {
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.chat-input input::placeholder {
    color: #ccc;
}

.chat-input button {
    padding: 12px 20px;
    background: #4c9eaf;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.chat-input button:hover {
    background: #263aaa;
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
}

.back-home {
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background: #4c9eaf;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.back-home:hover {
    background: #263aaa;
    transform: scale(1.05);
}