/* Shared button styles (theme-aware) */
.btnX {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: .5rem;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform .05s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btnX:active { transform: translateY(1px); }

.btn-linklike {
    background: transparent;
    border-color: transparent;
    color: #006527;
    padding: 0;
}
.btn-linklike:hover {
    color: #054724;
    text-decoration: underline; }
/* Secondary/neutral */
.btnX-secondary {
    background-color: #f4fbe4;
    color: #054724;
    border-color: #006527;
}
.btnX-secondary:hover { background-color: #e8f6d2; }
/* Subtle Greenwich-themed button */
.btnX-email {
    background-color: #e8f6d2;   /* very light green background */
    color: #006527;              /* deep Greenwich green text */
    border: 1px solid #008600;   /* Greenwich primary green border */
    font-weight: 600;
}

.btnX-email:hover {
    background-color: #d3efb0;   /* slightly deeper on hover */
    border-color: #006527;
    color: #054724;
}

.btnX-email:disabled {
    background-color: #f4fbe4;
    border-color: #c9d8c9;
    color: #9ca79c;
    cursor: not-allowed;
}

/* Actions row under forms */
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Make the alternative text consistent */
.form-alternative {
    text-align: center;
    color: #054724;
}

.form-alternative a {
    color: #006527;
    font-weight: 600;
    text-decoration: none;
}
.form-alternative a:hover { text-decoration: underline; }

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    border: 2px solid #008600;
    border-radius: 5px;
    outline: none;
}

.otp-input:focus {
    border-color: #005000;
    box-shadow: 0 0 5px rgba(0, 134, 0, 0.5);
}
.btn-resend {
    display: block;
    width: auto;
    padding: 8px 16px;
    margin-top: 15px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 14px;
}

.btn-resend:hover {
    background-color: #5a6268;
}

.btn-resend:disabled {
    background-color: #d6d8db;
    color: #6c757d;
    cursor: not-allowed;
    pointer-events: none;
}

.countdown-txt {
    display: none;
    color: #008600;
}