/* 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-container {
    max-width: 28rem;
    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: 0.7rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: center;
}

.fap-plugin .fap-logo-section img {
    height: 4.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: none;
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.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 .fap-copyright {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #a0aec0;
}

.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: 0.5rem;
}

.fap-plugin .fap-otp-digit {
    width: 1rem;
    height: 5rem;
    text-align: center;
    font-size: 2.2rem;
    border: 2px solid #6f7175;
    border-radius: 0.5rem;
    padding: 0;
    transition: all 0.15s ease-in-out;
}

.fap-plugin .fap-otp-digit:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

@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;
        padding-top: 0px !important;
        max-width: 100%; /* Ensure it fits the mobile screen */
    }
}