/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #eef2f7, #f8f9fc);
}

/* ===== CONTAINER ===== */
.register-container {
    max-width: 900px;
    margin: 60px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* ===== HEADER ===== */
.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h1 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 600;
}

.register-header p {
    color: #666;
    font-size: 15px;
}

/* ===== FORM ===== */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #dcdfe6;
    font-size: 14px;
    transition: 0.2s ease;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* ===== PASSWORD SECTION ===== */
.password-requirements {
    background: #f8f9fc;
    border-radius: 10px;
    padding: 15px;
    font-size: 14px;
    margin-bottom: 20px;
}

.password-requirements li {
    margin-bottom: 5px;
}

.password-requirements li.valid {
    color: #28a745;
}

.password-requirements li.invalid {
    color: #dc3545;
}

/* ===== BUTTON ===== */
.register-button {
    width: 100%;
    padding: 14px;
    background: #007bff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.register-button:hover {
    background: #0056b3;
}

/* ===== ALERTS ===== */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.register-footer {
    margin-top: 25px;
    text-align: center;
}

.register-footer a {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
}

.register-footer a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}
