/* Registration Form Password Criteria Styles */
.password-criteria {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.criteria-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.criteria-item i {
    margin-right: 8px;
    font-size: 14px;
}

.criteria-item.valid {
    color: #28a745;
    opacity: 0.6;
}

.criteria-item.valid span {
    text-decoration: line-through;
}

.criteria-item.valid i {
    color: #28a745;
}

/* Custom Popup Animations */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Custom Popup Styles */
.custom-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    text-align: center;
    max-width: 400px;
    animation: popupFadeIn 0.3s ease;
}

.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    animation: overlayFadeIn 0.3s ease;
}

/* Newsletter Popup Enhanced Styles */
.newsletter_popup_wrap {
    z-index: 10000 !important;
}

.newsletter_popup_wrap .newsletter_content {
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    max-width: 850px !important;
    max-height: 650px !important;
    padding: 20px;
}

.ns_text-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Input Focus States */
.subscribe_form input[type="text"]:focus,
.subscribe_form input[type="email"]:focus,
.subscribe_form input[type="password"]:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    outline: none;
}

/* Submit Button Loading State */
.subscribe_form input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .password-criteria {
        font-size: 11px;
        padding: 10px;
    }

    .criteria-item {
        margin: 5px 0;
    }

    .custom-popup {
        max-width: 90%;
        padding: 20px 25px;
    }

    .newsletter_popup_wrap .newsletter_content {
        max-width: 95% !important;
        max-height: 90vh !important;
        padding: 15px;
    }
}