/* assets/css/fap-styles.css */
.fap-plugin {
    min-height: 100vh;
    background-color: #f7fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.fap-plugin .fap-text-center {
    margin-top: 1px !important;
}

.fap-plugin .fap-container {
    max-width: 33rem;
    width: 100%;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
    overflow: hidden;
}

.fap-plugin .fap-logo-section {
    background-color: #1a4ab3;
    padding: 1rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: center;
}

.fap-plugin .fap-logo-section img {
    height: 5rem;
    width: auto;
}

.fap-plugin .fap-form-section {
    padding: 1.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fap-plugin .fap-text-center {
    text-align: center;
}

.fap-plugin .fap-text-3xl {
    font-size: 1.875rem;
    font-weight: 800;
    color: #1a202c;
}

.fap-plugin .fap-text-xl {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
}

.fap-plugin .fap-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fap-plugin .fap-form.hidden {
    display: none;
}

.fap-plugin .fap-form label {
    font-size: 1.0rem;
    margin-bottom:0.25rem;
    font-weight: normal;
    color: #2d2d2e;
    padding-top:1px;
}

.fap-plugin .fap-form input {
    margin-top: 0.25rem;
    width: 100%;
    background:#fff;
    padding: 0.7rem;
    border: 1.1px solid #6f7175;
    border-radius: 0.5rem;
    transition: all 0.15s ease-in-out;
}

.fap-plugin .fap-form input:focus {
    outline: 2px solid #007cba;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5); /* Thoda zyada visible */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fap-plugin .fap-form button {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: #1a4ab3;
    color: #fff;
    margin-top:1.1rem;
    font-size:1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
}

.fap-plugin .fap-form button:hover {
    background: #143e9b;
}

.fap-plugin .fap-form a {
    color: #667eea;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
}

.fap-plugin .fap-form a:hover {
    color: #5a6be6;
}

.fap-plugin .fap-message {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #718096;
}

.fap-plugin .fap-message.text-red-600 {
    color: #e53e3e !important;
}

.fap-plugin .fap-message.text-green-600 {
    color: #38a169;
}


.fap-plugin .animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.fap-plugin .fap-otp-instruction {
    font-size: 0.875rem;
    color: #4a5568;
    margin-top: 0.5rem;
}

.fap-plugin .fap-email-display {
    font-weight: 600;
    color: #2d3748;
}

.fap-plugin .fap-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.fap-plugin .fap-otp-digit {
    width: 0.8rem;
    height: 7rem;
    text-align: center;
    font-size: 2.5rem;
    border: 2px solid #6f7175;
    border-radius: 0.5rem;
    padding: 0;
    transition: all 0.15s ease-in-out;
}

.fap-plugin .fap-otp-digit:focus {
    outline: 2px solid #007cba;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5); /* Thoda zyada visible */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Media query for mobile view (screens <= 768px) */
@media (max-width: 768px) {
    .fap-plugin .fap-container {
        margin-top: 0px !important;
        max-width: 100%;
    }
    .fap-checkbox {
        font-size: 11px;
    }
}

#fap-register-link {
    color: #0073aa;
    text-decoration: underline;
}
#fap-register-link:hover {
    color: #005177;
}

/* Checkbox styles */
.fap-checkbox {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #333;
    margin: 10px 0;
    line-height: 1.4;
    width: 100%;
}

.fap-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
}

.fap-checkbox input[type="checkbox"]:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.fap-checkbox a {
    color: #007cba;
    text-decoration: none;
}

.fap-checkbox a:hover {
    text-decoration: underline;
}

.fap-checkbox .checkbox-text {
    flex: 1;
    display: inline;
}

/* Remove the media query related to white-space since we want wrapping everywhere */