/* assets/css/message-styles.css */
.fap-plugin .fap-message {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    text-align: center;
    font-size: 0.875rem;
    width: 100%;
    display: none; /* Hidden by default */
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    transition: opacity 0.5s ease; /* Smooth fade-out transition */
}

/* Show message when it contains content */
.fap-plugin .fap-message:not(:empty) {
    display: block !important;
}

/* Hidden state for fade-out */
.fap-plugin .fap-message.hidden {
    opacity: 0 !important;
    display: none !important;
}

/* Generic success and error styles */
.fap-plugin .fap-message .success {
    color: #38a169 !important; /* Green */
    font-weight: 600;
}

.fap-plugin .fap-message .error {
    color: #e53e3e !important; /* Red */
    font-weight: 600;
}

/* Specific message classes */
.fap-plugin .fap-message .you-are-not-registered {
    color: #e53e3e !important; /* Red */
    font-weight: 600;
}

.fap-plugin .fap-message .no-user-found {
    color: #e53e3e !important; /* Red */
    font-weight: 600;
}

.fap-plugin .fap-message .wrong-password-email {
    color: #e53e3e !important; /* Red */
    font-weight: 600;
}

.fap-plugin .fap-message .reset-link-sent {
    color: #38a169 !important; /* Green */
    font-weight: 600;
}

.fap-plugin .fap-message .invalid-reset-link {
    color: #e53e3e !important; /* Red */
    font-weight: 600;
}

.fap-plugin .fap-message .request-reset-form {
    color: #1e40af !important; /* Blue */
    font-weight: 600;
}

.fap-plugin .fap-message .reset-success {
    color: #38a169 !important; /* Green */
    font-weight: 600;
}

.fap-plugin .fap-message .redirecting {
    color: #38a169 !important; /* Green */
    font-weight: 600;
}