/* accounts/static/accounts/register.css */

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    margin: 2rem;
    transition: all 0.3s ease;
}

.form-container:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Form Title */
.form-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Form Elements */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.form input {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Password Help Text */
.password-help {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 0.8rem;
    margin: 0.5rem 0;
    font-size: 0.85rem;
    color: #555;
    border-radius: 0 4px 4px 0;
}

.password-help ul {
    margin: 0.5rem 0 0 1rem;
    padding: 0;
}

/* Submit Button */
.btn-submit {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.form-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.form-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Error Messages */
.errorlist {
    color: #e74c3c;
    font-size: 0.8rem;
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}