/* Member Registration Page Styles - Match Landing Page Theme */

/* Override ABP's black body background for authentication pages */
body {
    background-color: #f8f9fa !important;
}

.account-module-form {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
}

.account-brand {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 1rem;
}

.account-brand img {
    max-height: 80px;
}

.account-brand h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 1rem;
    color: #2E7D32;
}

.account-brand a h1 {
    color: #2E7D32;
}

.account-brand a:hover h1 {
    color: #1B5E20;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #495057;
}

/* Form sections */
h5 {
    color: #6c757d;
    font-weight: 400;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Loading spinner alignment */
.spinner-border-sm {
    vertical-align: middle;
}

/* Form control focus - match green theme */
.form-control:focus {
    border-color: #66BB6A;
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

/* Button styling - green background with white text */
.btn-success {
    background-color: #2E7D32;
    border-color: #2E7D32;
    color: #ffffff;
    font-weight: 500;
}

.btn-success:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Divider styling */
hr {
    border-color: #e9ecef;
}

/* Links inside the card stay default color for visibility on white background */
.card a {
    color: #2E7D32;
}

.card a:hover {
    color: #1B5E20;
    text-decoration: underline;
}

/* Override Bootstrap's disabled checkbox label opacity - keep labels readable
   even when checkboxes are disabled (before user reads agreements) */
.form-check-input:disabled ~ .form-check-label,
.form-check-input[disabled] ~ .form-check-label {
    opacity: 1;
    color: #212529;
}