/* ============================================================
   BuyDiscountCards — Stock Notifier Front-End Styles
============================================================ */

.bdc-sn-wrap {
    margin: 20px 0 24px;
    padding: 24px;
    background: #fff8f0;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    font-family: Arial, sans-serif;
}

/* Out-of-stock badge */
.bdc-sn-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.bdc-sn-dot {
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: bdc-sn-pulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes bdc-sn-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Message */
.bdc-sn-msg {
    margin: 0 0 18px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* Form row */
.bdc-sn-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bdc-sn-form input[type="email"] {
    flex: 1 1 220px;
    padding: 12px 16px !important;
    font-size: 15px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 8px !important;
    outline: none !important;
    transition: border-color 0.2s;
    background: #fff !important;
    color: #111 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    resize: none !important;
    display: block !important;
}

.bdc-sn-form input[type="email"]:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}

.bdc-sn-form button {
    flex-shrink: 0;
    padding: 12px 22px !important;
    background: #f59e0b !important;
    color: #1a1a2e !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    height: 48px !important;
    box-sizing: border-box !important;
}

.bdc-sn-form button:hover  { background: #d97706; }
.bdc-sn-form button:active { transform: scale(0.97); }

.bdc-sn-form button.bdc-sn-loading {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Privacy note */
.bdc-sn-privacy {
    margin: 10px 0 0;
    font-size: 12px;
    color: #9ca3af;
}

/* Success */
.bdc-sn-success {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    font-size: 14px;
    color: #15803d;
    line-height: 1.5;
}

/* Error */
.bdc-sn-error {
    margin-top: 12px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    font-size: 14px;
    color: #dc2626;
}

/* Mobile */
@media (max-width: 480px) {
    .bdc-sn-wrap { padding: 16px; }
    .bdc-sn-form { flex-direction: column; gap: 8px; }
    .bdc-sn-form input[type="email"] { width: 100%; height: 48px; }
    .bdc-sn-form button { width: 100%; height: 48px; }
}
