
/* firebase-auth.css */

.firebase-login-card {
    max-width: 80%;
}

@media (max-width: 480px) {
    .firebase-login-card {
        max-width: 100% !important;
    }
}

.firebase-sign-up-card {
    max-width: 90%;
}

.firebase-verify-card {
    max-width: 90%;
    text-align: center;
}

.firebase-auth-wrapper {
    margin: 40px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
}

.firebase-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background-color: #f2f0f0 !important;
}

.firebase-input:focus {
    border-color: #02A645 !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25) !important;
    background-color: #f2f0f0 !important;
}


.firebase-btn {
    width: 100%;
    padding: 12px;
    background: #16b946;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s;
}

.firebase-btn:hover {
    background: #038539;
}

.fb-msg {
    color: #c00;
    text-align: center;
}

.fb-button-y-padding {
    padding-top: 10px;
    padding-bottom: 10px;
}

.firebase-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.firebase-submit-btn .spinner {
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.firebase-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.signup-row {
    display: flex;
    gap: 14px;
}

.signup-row .firebase-input {
    flex: 1;
}

.date-field {
    flex: 0 0 50%;
}

.radio-padding {
    padding: 5px 28px 10px 30px;
    gap: 30px;
    align-items: anchor-center;
}

.choices {
    width: 218px !important;
    align-self: baseline;
}

.choices__inner {
    height: 47px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    font-size: medium !important;
}

.choices__list--single {
    padding-top: 0px !important;
}

.card-title {
    text-transform: none;
    text-align:center; 
    margin-bottom:20px;
}

.custom-checkbox-wrapper {
    margin-top: 15px;
    margin-bottom: 20px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    line-height: 1.5;
}

/* Hide default checkbox */
.custom-checkbox input[type="checkbox"] {
    display: none;
}

/* Custom checkbox box */
.custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    background-color: #eee;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.2s, border-color 0.2s;
}

/* Checkmark tick */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Show checkmark when checked */
.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

/* Checked background */
.custom-checkbox input:checked + .checkmark {
    background-color: #02A645;
    border-color: #02A645;
}

/* Text next to checkbox */
.custom-checkbox .checkbox-text a {
    color: #0073aa;
    text-decoration: underline;
}

.recaptcha-wrapper {
    margin: 0 auto;
    display: table
}

