.magazine-subscribe-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.magazine-subscribe-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.magazine-subscribe-card h3 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 700;
}

.magazine-subscribe-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.form-inputs input {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.form-inputs input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 4px rgba(0,115,170,0.1);
}

.form-inputs button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.form-inputs button:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,115,170,0.3);
}

.form-inputs button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

#subscribe-message {
    margin-top: 20px;
    font-size: 14px;
    min-height: 20px;
}

.success-msg {
    color: #2e7d32;
    background: #e8f5e9;
    padding: 10px;
    border-radius: 8px;
    margin: 0;
}

.error-msg {
    color: #d32f2f;
    background: #ffebee;
    padding: 10px;
    border-radius: 8px;
    margin: 0;
}

@media (max-width: 480px) {
    .form-group {
        flex-direction: column;
    }
    .magazine-subscribe-card {
        padding: 25px;
    }
}

/* Modal Styles */
.mag-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.mag-modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 24px;
    position: relative;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
}

.mag-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.mag-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.mag-modal-body {
    padding: 40px;
    text-align: center;
}

.mag-modal-icon {
    width: 80px;
    height: 80px;
    background: #e1f5fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mag-modal-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #0288d1;
}

.mag-modal-body h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #1a1a1a;
}

.mag-modal-body p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
}

#mag-modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#mag-modal-form input {
    height: 50px;
    padding: 0 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s;
}

#mag-modal-form input:focus {
    border-color: #0073aa;
    outline: none;
}

#mag-modal-submit {
    height: 50px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#mag-modal-submit:hover {
    background: #005a87;
    box-shadow: 0 5px 15px rgba(0,115,170,0.3);
}

#mag-modal-submit:disabled {
    background: #ccc;
}

.mag-fade-in {
    animation: magFadeIn 0.4s ease-out;
}

@keyframes magFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

