/* .newsletter-content {
    position: relative;
} */

/* Subscription Status Messages */
/* .subscription-status {
    margin-bottom: 15px;
    text-align: center;
    position: fixed;
    top: 1px;
    right: -5px;
    z-index: 5;
} */

.spinner {
    display: none;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
}
button.loading {
    position: relative;
}

button.loading .spinner {
    /* ...show the spinner */
    display: inline-block; 
}

button.loading .button-text {
    /* ...hide the button text */
    visibility: hidden;
}

.success-message,
.error-message {
    padding: 12px 20px;
    margin: 0 auto;
    max-width: 90%;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none; /* Explicitly remove border */
}
.success-message p,
.error-message p {
    max-width: 200px;
}

.success-message::before,
.error-message::before {
    font-family: 'boxicons' !important; /* Using Boxicons */
    font-size: 1.2rem;
    margin-right: 10px;
    line-height: 1;
}

.success-message {
    color: #1E4620; /* Darker, less saturated green text */
    background-color: #E8F5E9; /* Lighter, softer green background */
}

.success-message::before {
    content: '\eb7b'; /* Boxicons check-circle icon */
    color: #4CAF50; /* A pleasant green for the icon */
}

.error-message {
    color: #5E2129; /* Darker, less saturated red text */
    background-color: #FDEDEE; /* Lighter, softer red background */
}

.error-message::before {
    content: '\edb8'; /* Boxicons x-circle icon */
    color: #F44336; /* A clear red for the icon */
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* fade in message alert */
.fade-in-message {
    animation: fadeInMessage 0.5s ease-in-out;
}
/* Fade out message alert */
.hide-message {
  opacity: 0;
  transform: translateX(50%) translateY(-10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}




 /* @media (max-width: 768px) {
        .subscription-status {
            position: fixed;
            top: 0px;
            right: -5px;
            z-index: 5;
        }
}
 @media (max-width: 700px) {
        .subscription-status {
            position: absolute;
            top: -20px;
            right: 0;
            z-index: 5;
        }
}
@media (max-width: 576px) {
    .subscription-status {
        position: absolute;
        top: -20px;
        right: 0;
    }
} */
