/* Registration / Volunteer register form - centered layout */
.registration-container {
    min-height: 70vh;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin: 0;
    box-sizing: border-box;
}

.registration-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.registration-header {
    margin-bottom: 28px;
}

.registration-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
}

.registration-header-bar {
    width: 4px;
    height: 32px;
    background-color: #2563eb;
    display: inline-block;
    border-radius: 2px;
}

.registration-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
}

.registration-form-group {
    margin-bottom: 18px;
}

.registration-form-group label {
    display: block;
    color: #475569;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
}

.registration-form-group input[type="text"],
.registration-form-group input[type="email"],
.registration-form-group input[type="tel"],
.registration-form-group input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    font-size: 15px;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.registration-form-group input:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #fff;
}

.registration-form-group input::placeholder {
    color: #94a3b8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row-full {
    grid-column: 1 / -1;
}

/* Phone with country code */
.phone-with-country {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.phone-country-select-wrap {
    flex-shrink: 0;
}
.phone-country-code {
    height: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    font-size: 15px;
    color: #334155;
    cursor: pointer;
    min-width: 120px;
    transition: border-color 0.2s, background-color 0.2s;
}
.phone-country-code:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #fff;
}
.phone-with-country input[type="tel"] {
    flex: 1;
    min-width: 0;
}
@media (max-width: 576px) {
    .phone-with-country {
        flex-direction: column;
    }
    .phone-country-code {
        min-height: 44px;
        width: 100%;
    }
}

.newsletter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.newsletter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2563eb;
}

.newsletter-checkbox label {
    margin: 0;
    color: #334155;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
}

.register-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.register-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.login-link {
    text-align: center;
    color: #475569;
    font-size: 14px;
}

.login-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.registration-container .alert {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
}

@media (max-width: 576px) {
    .registration-container {
        padding: 24px 16px;
        min-height: 60vh;
    }

    .registration-card {
        padding: 28px 20px;
    }

    .registration-header h1 {
        font-size: 22px;
        flex-wrap: wrap;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
