/* RTR Event Submission */
.rtr-submission-wrap {
    width: 100%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rtr-section-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #1a1a2e;
}
.rtr-section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0 0 32px;
}

/* ── 3-col grid ── */
.rtr-tier-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}
@media (max-width: 960px) { .rtr-tier-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .rtr-tier-cards { grid-template-columns: 1fr; } }

/* ── Card ── */
.rtr-tier-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 26px 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    box-sizing: border-box;
}
.rtr-tier-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.rtr-tier-basic        { border-color: #e2e8f0; }
.rtr-tier-basic:hover  { border-color: #1a1a2e; }
.rtr-tier-featured        { border-color: #fca5a5; }
.rtr-tier-featured:hover  { border-color: #ef4444; }
.rtr-tier-registration        { border-color: #c4b5fd; }
.rtr-tier-registration:hover  { border-color: #7c3aed; }
.rtr-tier-nonprofit        { border-color: #86efac; }
.rtr-tier-nonprofit:hover  { border-color: #16a34a; }

/* ── Badge ── */
.rtr-tier-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #fff;
    background: #ef4444;
}
.rtr-tier-registration .rtr-tier-badge { background: #7c3aed; }
.rtr-tier-nonprofit    .rtr-tier-badge { background: #16a34a; }

/* ── Card text ── */
.rtr-tier-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
    line-height: 1.3;
}
.rtr-tier-price {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 20px;
    color: #1a1a2e;
}
.rtr-tier-featured    .rtr-tier-price { color: #ef4444; }
.rtr-tier-registration .rtr-tier-price { color: #7c3aed; }
.rtr-tier-nonprofit   .rtr-tier-price { color: #16a34a; }

.rtr-tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    flex: 1;
}
.rtr-tier-features li {
    font-size: .97rem;
    color: #475569;
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.45;
}
.rtr-tier-features li:last-child { border-bottom: none; }
.rtr-tier-features li::before {
    content: '✓';
    color: #16a34a;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Button ── */
.rtr-tier-btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 22px;
    border: 2px solid #1a1a2e;
    border-radius: 8px;
    background: transparent;
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: all .15s;
    box-sizing: border-box;
}
.rtr-tier-btn:hover { background: #1a1a2e; color: #fff; }

.rtr-tier-featured    .rtr-tier-btn { border-color: #ef4444; color: #ef4444; }
.rtr-tier-featured    .rtr-tier-btn:hover,
.rtr-btn-primary.rtr-tier-btn,
.rtr-tier-featured    .rtr-btn-primary { background: #ef4444; border-color: #ef4444; color: #fff; }
.rtr-tier-featured    .rtr-btn-primary:hover { background: #dc2626; border-color: #dc2626; }

.rtr-tier-registration .rtr-tier-btn { border-color: #7c3aed; color: #7c3aed; }
.rtr-tier-registration .rtr-btn-primary { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.rtr-tier-registration .rtr-btn-primary:hover { background: #6d28d9; border-color: #6d28d9; }

.rtr-tier-nonprofit .rtr-tier-btn { border-color: #16a34a; color: #16a34a; }
.rtr-tier-nonprofit .rtr-tier-btn:hover { background: #16a34a; color: #fff; }

/* ── Form ── */
.rtr-event-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
}
.rtr-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}
.rtr-form-header .rtr-section-title { margin-bottom: 0; font-size: 1.5rem; }
.rtr-back-btn {
    font-size: .9rem;
    color: #475569;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.rtr-selected-tier-banner {
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
}

/* ── Field groups ── */
.rtr-field-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    box-sizing: border-box;
}
.rtr-group-title {
    grid-column: 1 / -1;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    margin: 0 0 4px;
}
@media (max-width: 600px) {
    .rtr-field-group { grid-template-columns: 1fr; }
    .rtr-field-half, .rtr-field-third, .rtr-field-quarter { grid-column: 1; }
}
.rtr-field         { display: flex; flex-direction: column; gap: 5px; }
.rtr-field-full    { grid-column: 1 / -1; }
.rtr-field-half    { grid-column: span 1; }
.rtr-field-third   { grid-column: span 1; }
.rtr-field-quarter { grid-column: span 1; }

.rtr-field label { font-size: .9rem; font-weight: 700; color: #1e293b; }
.rtr-req { color: #ef4444; }

.rtr-field input[type="text"],
.rtr-field input[type="email"],
.rtr-field input[type="url"],
.rtr-field input[type="tel"],
.rtr-field input[type="date"],
.rtr-field input[type="time"],
.rtr-field select,
.rtr-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    font-size: .95rem;
    color: #1e293b;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.rtr-field input:focus,
.rtr-field select:focus,
.rtr-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.rtr-field textarea { resize: vertical; min-height: 120px; }
.rtr-hint { font-size: .78rem; color: #94a3b8; margin-top: 2px; }

.rtr-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .93rem;
    cursor: pointer;
    font-weight: 400 !important;
}
.rtr-checkbox-label input { margin-top: 3px; flex-shrink: 0; }

.rtr-form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    padding: 12px 16px;
    font-size: .93rem;
    color: #b91c1c;
    border-radius: 0 6px 6px 0;
    margin-bottom: 16px;
}
.rtr-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.rtr-submit-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .15s;
}
.rtr-submit-btn:hover  { background: #dc2626; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(239,68,68,.3); }
.rtr-submit-btn:disabled { background: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Thank-you ── */
.rtr-thankyou {
    background: #f0fdf4;
    border: 2px solid #16a34a;
    border-radius: 12px;
    padding: 56px 40px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.rtr-thankyou-icon { font-size: 4rem; margin-bottom: 16px; }
.rtr-thankyou h3   { font-size: 1.9rem; font-weight: 900; color: #15803d; margin: 0 0 12px; }
.rtr-thankyou p    { font-size: 1.1rem; color: #166534; margin: 0; }
