/* Email Subscription Manager Styles */

.esm-email-input,
.esm-name-input {
    /* border: 1px solid #ddd;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease; */
}

.esm-email-input:focus,
.esm-name-input:focus {
    /* border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1); */
}

.esm-subscribe-btn {
    /* background-color: #0073aa;
    color: white;
    border: 1px solid #0073aa;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease; */
}

.esm-subscribe-btn:hover {
    /* background-color: #005a87;
    border-color: #005a87; */
}

.esm-subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.esm-message {
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 4px;
    display: none;
    animation: slideIn 0.3s ease-out;
}

.esm-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.esm-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.esm-loading {
    position: relative;
}

.esm-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
