/* aNoise Mailing List — assets/anoise-ml.css
   Refined form design matching anoise.org light theme.
   ─────────────────────────────────────────────────── */

/* ── Wrapper ────────────────────────────────────────────── */
.anoise-signup-wrap {
    max-width: 420px;
    font-family: inherit;
}

/* ── Heading ────────────────────────────────────────────── */
.anoise-signup-heading {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #111111;
    margin: 0 0 16px 0;
    padding: 0;
}

[dir="rtl"] .anoise-signup-heading {
    text-align: right;
    letter-spacing: 0;
}

/* ── Form layout ────────────────────────────────────────── */
.anoise-signup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Email input ────────────────────────────────────────── */
.anoise-signup-form input[type="email"] {
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #bbbbbb;
    border-radius: 0;
    font-size: 13px;
    color: #111111;
    width: 100%;
    box-sizing: border-box;
    letter-spacing: 0.02em;
    transition: border-color 0.25s;
    -webkit-appearance: none;
}

.anoise-signup-form input[type="email"]::placeholder {
    color: #aaaaaa;
    font-style: italic;
}

.anoise-signup-form input[type="email"]:focus {
    outline: none;
    border-bottom-color: #111111;
}

/* ── GDPR consent ───────────────────────────────────────── */
.anoise-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    line-height: 1.55;
}

.anoise-consent input[type="checkbox"] {
    margin-top: 1px;
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    accent-color: #111111;
    cursor: pointer;
}

.anoise-consent span {
    font-size: 11px;
    color: #666666;
    letter-spacing: 0.02em;
}

/* ── Subscribe button ───────────────────────────────────── */
.anoise-signup-form button[type="submit"] {
    align-self: flex-start;
    padding: 9px 22px;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.anoise-signup-form button[type="submit"]:hover {
    background: transparent;
    color: #111111;
}

.anoise-signup-form button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Messages ───────────────────────────────────────────── */
.anoise-message-area {
    min-height: 0;
}

.anoise-message {
    margin: 0;
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    border-left: 2px solid;
}

.anoise-success {
    color: #2a5e2a;
    border-color: #2a5e2a;
    background: rgba(42, 94, 42, 0.06);
}

.anoise-error {
    color: #7a1e1e;
    border-color: #7a1e1e;
    background: rgba(122, 30, 30, 0.06);
}

.anoise-info {
    color: #1a3a6e;
    border-color: #1a3a6e;
    background: rgba(26, 58, 110, 0.06);
}

/* ── RTL (Persian) ──────────────────────────────────────── */
[dir="rtl"] .anoise-signup-form {
    text-align: right;
}

[dir="rtl"] .anoise-signup-form button[type="submit"] {
    align-self: flex-end;
    letter-spacing: 0;
}

[dir="rtl"] .anoise-signup-form input[type="email"] {
    text-align: right;
}

[dir="rtl"] .anoise-message {
    border-left: none;
    border-right: 2px solid;
}

/* ── Screen reader only ─────────────────────────────────── */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   EventOn OVERRIDES
   Paste into: Appearance → Customize → Additional CSS
   ═══════════════════════════════════════════════════════════ */

#evcal_list .eventon_list_event .evcal_list_a .evcal_cblock .evcal_cblock_cont {
    background: transparent !important;
    border: 1px solid #333 !important;
    border-radius: 0 !important;
}

#evcal_list .eventon_list_event .evcal_list_a .evcal_cblock .evcal_cblock_cont em.evcal_cblock_day,
#evcal_list .eventon_list_event .evcal_list_a .evcal_cblock .evcal_cblock_cont em.evo_start {
    color: #e0e0e0 !important;
    font-style: italic;
}

#evcal_list .eventon_list_event .evcal_list_a .evcal_cblock .evcal_cblock_cont em.month {
    color: #888 !important;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#evcal_list .eventon_list_event .evcal_list_a .evcal_desc em.evcal_price,
.evo_pop_body em.evcal_price {
    background: transparent !important;
    border: 1px solid #444 !important;
    color: #aaa !important;
    border-radius: 0 !important;
    font-size: 10px;
    letter-spacing: 0.05em;
    padding: 2px 6px;
}

#evcal_list .eventon_list_event .evcal_list_a .evcal_desc span.evcal_desc2 {
    color: #e0e0e0 !important;
    font-size: 13px;
    letter-spacing: 0.02em;
}

#evcal_list .eventon_list_event .evcal_list_a .evcal_desc em.evcal_location {
    background: transparent !important;
    color: #666 !important;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.04em;
}

#evcal_list .eventon_list_event .evcal_list_a .evcal_desc em.evcal_starttime,
#evcal_list .eventon_list_event .evcal_list_a .evcal_desc em.evcal_endtime {
    color: #777 !important;
    font-style: italic;
    font-size: 11px;
}

#evcal_list .eventon_list_event .evcal_list_a:hover {
    background: rgba(255,255,255,0.03) !important;
}

.evo_pop_body,
.eventon_eventcard_wrap {
    background: #111 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    color: #ccc !important;
}

.evo_calnk a, .evo_calnk a:visited {
    color: #777 !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

.evo_calnk a:hover {
    color: #e0e0e0 !important;
    border-color: #555;
}
