/* Newsletter Popup Styles */
.newsletter-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.newsletter-popup-container {
    background-color: #01D9BB;
    /*border: 8px solid #000000;*/
    border-radius: 50px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
    padding:30px 40px;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.newsletter-popup-content {
    background-color: #01D9BB;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 8px solid #000;
}

.newsletter-popup-title {
    font-size: 25px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.newsletter-popup-description {
    font-size: 16px;
    color: #000000;
    margin: 0 0 30px 0;
    line-height: 1.4;
}

.newsletter-popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.newsletter-popup-form input[type="email"] {
    background-color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 16px;
    color: #333333;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-popup-form input[type="email"]::placeholder {
    color: #999999;
}

.newsletter-popup-button {
    background-color: #ffffff !important;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    align-self: center;
    background-image: none !important;
    width:50%;
}

.newsletter-popup-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.paper-plane-icon {
    font-size: 18px;
    transform: rotate(45deg);
    color: #000000;
}

.arrow-icon {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-left: 5px;
}

.newsletter-popup-social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.instagram-link {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.instagram-link:hover {
    opacity: 0.7;
	color:#000;
}

.newsletter-popup-close {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #20B2AA;
    border: none;
    border-radius: 50%;
    font-size: 35px;
    color: #000000;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: bold;
    
}

.newsletter-popup-close:hover {
    background: none !important;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-popup-container {
        margin: 10px;
        max-width: none;
    }
    
    .newsletter-popup-content {
        padding: 30px 20px;
    }
    
    .newsletter-popup-title {
        font-size: 24px;
    }
    
    .newsletter-popup-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .newsletter-popup-overlay {
        padding: 10px;
    }
    
    .newsletter-popup-content {
        padding: 25px 15px;
    }
    
    .newsletter-popup-title {
        font-size: 20px;
    }
    
    .newsletter-popup-form input[type="email"],
    .newsletter-popup-button {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Loading state */
.newsletter-popup-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-popup-button.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #000000;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error messages */
.newsletter-popup-message {
    margin-top: 15px;
	margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.newsletter-popup-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-popup-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
