/* Newsletter Signup Widget Styles - Premium Design */

.newsletter-signup-widget {
    background: linear-gradient(135deg, #0f766e 0%, #7c3aed 100%);
    color: #ffffff;
    padding: 50px 25px;
    margin: 60px 0;
    box-shadow: 0 10px 40px rgba(15, 118, 110, 0.2);
}

.newsletter-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.newsletter-title i {
    font-size: 28px;
    color: #ffd700;
}

.newsletter-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    color: #333333;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #999999;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-btn,
.newsletter-btn-submit {
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%) !important;
    color: #333333 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-btn:hover,
.newsletter-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%) !important;
    color: #333333 !important;
}

.newsletter-btn:active,
.newsletter-btn-submit:active {
    transform: translateY(-1px);
}

.form-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-top: 10px !important;
}

.form-text a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.form-text a:hover {
    text-decoration: underline;
}

/* Generic display utility */
.d-none {
    display: none !important;
}

.alert {
    border: none;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 15px !important;
    display: none;
}

.alert.d-none {
    display: none !important;
}

.alert:not(.d-none) {
    display: block;
    margin-top: 15px !important;
}

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    color: #ffffff;
    border-left: 4px solid #4caf50;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.15);
    color: #ffffff;
    border-left: 4px solid #f44336;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
}

.benefits-list i {
    font-size: 20px;
    color: #4ade80;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-signup-widget {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-title {
        font-size: 22px;
    }
    
    .newsletter-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        flex: 1;
    }
}
