/* accounts/static/accounts/styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex-grow: 1; /* Allows container to grow and push footer down */
    display: flex;
    flex-direction: column;
}
.about-section {
    margin-bottom: 20px;
}
.form-section {
    display: flex;
    justify-content: space-around;
    gap: 20px; /* Space between the cards */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.form-card {
    background-color: #e9e9e9;
    padding: 20px;
    border-radius: 8px;
    flex: 1; /* Allow cards to take equal space */
    min-width: 280px; /* Minimum width before wrapping */
    box-sizing: border-box; /* Include padding in width */
}
.form-card h3 {
    text-align: center;
    margin-top: 0;
}
.form-card form p {
    margin-bottom: 10px;
}
.form-card form input[type="text"],
.form-card form input[type="password"],
.form-card form input[type="email"] {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.form-card form button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}
.form-card form button:hover {
    background-color: #0056b3;
}
.messages {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.messages li {
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 4px;
}
.messages .success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.messages .error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.messages .info { background-color: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Styles for the "Continue as Guest" section */
.continue-guest-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.continue-guest-section a {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
}
.continue-guest-section a:hover {
    background-color: #5a6268;
}