/* Communication Preferences & Unsubscribe Feature Stylesheet */
.optout-card {
    max-width: 640px;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin: 2rem 0;
}

.optout-card-success {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #16a34a;
}

.optout-card-suppressed {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #0f172a;
}

.optout-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.optout-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 1.5rem;
}

.optout-meta-stamp {
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    color: #64748b;
}

.optout-target-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    margin-bottom: 1.5rem;
}

.optout-field-label {
    font-size: 0.8rem;
    font-family: var(--font-mono, monospace);
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.optout-field-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    font-family: var(--font-mono, monospace);
}

.optout-field-email {
    font-size: 0.95rem;
    color: #334155;
    font-family: var(--font-mono, monospace);
    margin-top: 4px;
}

.optout-subtext {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.optout-input-group {
    margin-bottom: 1.5rem;
}

.optout-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #cbd5e1;
    padding: 0.8rem 0;
    font-family: var(--font-sans, sans-serif);
    font-size: 1.1rem;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.optout-input:focus {
    border-bottom-color: #0f172a;
}

.optout-btn {
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.optout-btn:hover {
    background: #1e293b;
}

.optout-alert-error {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    color: #991b1b;
    font-size: 0.9rem;
}

.optout-badge-success {
    background: #16a34a;
    color: #ffffff;
}

.optout-sidebar-btn {
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
}
