/* Newsletter Voucher - Frontend Styles */

.nv-subscribe-wrapper {
    max-width: 480px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
.nv-form-inner {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}
.nv-form-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* Title & Subtitle */
.nv-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    text-align: center;
    line-height: 1.3;
}
.nv-form-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.5;
}

/* Gift preview */
.nv-gift-preview {
    text-align: center;
    margin-bottom: 16px;
}
.nv-gift-preview img {
    max-width: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nv-gift-desc {
    background: linear-gradient(135deg, #fef9e7 0%, #fdebd0 100%);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #7d6608;
    text-align: center;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

/* Form Fields */
.nv-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nv-field-group {
    width: 100%;
}
.nv-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8ecf1;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.25s ease;
    background: #f8f9fc;
    box-sizing: border-box;
    outline: none;
}
.nv-input:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}
.nv-input::placeholder {
    color: #aab;
}

/* Submit Button */
.nv-submit-btn {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.nv-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}
.nv-submit-btn:active {
    transform: translateY(0);
}
.nv-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.nv-spinner {
    animation: nv-spin 1s linear infinite;
}
@keyframes nv-spin {
    100% { transform: rotate(360deg); }
}

/* Message */
.nv-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    animation: nv-fadeIn 0.3s ease;
}
.nv-message-success {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.2);
}
.nv-message-error {
    background: linear-gradient(135deg, #fde8e8, #f8d7d7);
    color: #c0392b;
    border: 1px solid rgba(192, 57, 43, 0.2);
}
@keyframes nv-fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Privacy text */
.nv-privacy-text {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 16px 0 0;
    line-height: 1.4;
}

/* Style: Minimal */
.nv-style-minimal .nv-form-inner {
    box-shadow: none;
    border: none;
    padding: 20px 0;
    border-radius: 0;
}
.nv-style-minimal .nv-form-inner::before {
    display: none;
}
.nv-style-minimal .nv-input {
    border-radius: 6px;
}
.nv-style-minimal .nv-submit-btn {
    border-radius: 6px;
}

/* Style: Boxed */
.nv-style-boxed .nv-form-inner {
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border: 2px solid #667eea20;
}

/* Responsive */
@media (max-width: 540px) {
    .nv-subscribe-wrapper {
        margin: 20px 10px;
    }
    .nv-form-inner {
        padding: 28px 20px;
    }
    .nv-form-title {
        font-size: 20px;
    }
}
