/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WRAPPER */
.wrapper {
    text-align: center;
    width: 100%;
    padding: 20px;
}

/* PANEL */
.panel {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

/* LOGO IMAGE */
.logo-wrapper {
    margin-bottom: 20px;
}

.logo-img {
    width: 208px;
    height: auto;
}

/* TEXT */
.text {
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 24px;
}

.text-small {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

/* FORM ELEMENTS */
.label {
    display: block;
    text-align: left;
    font-size: 13px;
    margin-bottom: 6px;
    color: #e5e7eb;
}

.input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}

.input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.4);
}

/* BUTTON */
.btn {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background: #4f46e5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn:hover {
    background: #4338ca;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ERRORS */
.error {
    margin-top: 12px;
    min-height: 20px;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

/* THANK YOU / SUCCESS */
.thankyou {
    font-size: 14px;
    color: #10b981;
    background: #064e3b;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    line-height: 1.5;
}

/* SPLIT ROW (Captcha + Button) */
.split-row {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4px;
}

.math-challenge {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
    color: #9ca3af;
}

.math-input {
    width: 60px;
    background: #222;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 4px;
    margin-left: 10px;
    text-align: center;
    transition: border-color 0.2s;
}

.math-input:focus {
    outline: none;
    border-color: #4f46e5;
    background: #2a2a2a;
}

/* Override .btn for split row */
.split-row .btn {
    width: auto;
    border-radius: 0;
    margin-bottom: 0;
    padding: 12px 24px;
    border-left: 1px solid #333;
}

/* STATUS MESSAGES */
.status-msg {
    color: #4f46e5;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

/* BUTTON VARIATIONS */
.btn-outline {
    background: transparent;
    border: 1px solid #4f46e5;
    color: #4f46e5;
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
}

.btn-red {
    background: #ef4444;
}

.btn-red:hover {
    background: #dc2626;
}

/* FOOTER */
.footer {
    margin-top: 20px;
    font-size: 12px;
    color: #6b7280;
}

/* NEW MATH VERIFICATION STYLES (MATCHING HELO_BEGINFROMHERE BUT DARK THEME) */
.math-options-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 4px 0;
}

.math-label-text {
    font-weight: 600;
    color: #9ca3af;
    font-size: 15px;
    white-space: nowrap;
    margin-right: 8px;
    min-width: 60px;
}

@keyframes bfhGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.math-opt-btn {
    flex: 1;
    padding: 12px 6px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e5e7eb;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.math-opt-btn:hover,
.math-opt-btn.selected {
    /* Artier Monochrome/Premium (White/Silver) */
    background: linear-gradient(135deg, #ffffff, #d4d4d8, #ffffff);
    background-size: 200% 200%;
    animation: bfhGradient 3s ease infinite;
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Ensure full width submit button has top margin if following grid */
#email-submit,
#unsub-submit {
    margin-top: 8px;
}