/* LESL Frontend RSVP & Free Tickets Styles */

.lesl-reg-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

.lesl-reg-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.lesl-reg-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lesl-reg-desc {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* Capacity bar */
.lesl-capacity-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.lesl-capacity-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.lesl-capacity-bar-track {
    background: #e2e8f0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.lesl-capacity-bar-fill {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* RSVP Status Toggle (Going / Not Going) */
.lesl-rsvp-status-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.lesl-rsvp-status-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lesl-rsvp-status-btn:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.lesl-rsvp-status-btn.active.is-going {
    border-color: #10b981;
    background: #ecfdf5;
    color: #047857;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.lesl-rsvp-status-btn.active.is-not-going {
    border-color: #ef4444;
    background: #fef2f2;
    color: #b91c1c;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

/* Free Ticket Badge */
.lesl-ticket-badge-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.lesl-ticket-badge-title {
    font-weight: 700;
    font-size: 15px;
    color: #065f46;
}

.lesl-ticket-free-pill {
    background: #059669;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Selected Seats container in RSVP */
.lesl-reg-seats-preview {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
}

.lesl-reg-seats-label {
    font-size: 12px;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 4px;
    display: block;
}

.lesl-reg-seats-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.lesl-reg-seat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #3b82f6;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.2);
}

.lesl-reg-seat-pill .lesl-remove-pill {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0 2px;
    opacity: 0.8;
    transition: opacity 0.15s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lesl-reg-seat-pill .lesl-remove-pill:hover {
    opacity: 1;
    color: #fecaca;
    transform: scale(1.2);
}

/* Form Inputs */
.lesl-reg-form .lesl-input-group {
    margin-bottom: 12px;
}

.lesl-reg-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.lesl-reg-form input[type="text"],
.lesl-reg-form input[type="email"],
.lesl-reg-form input[type="tel"],
.lesl-reg-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lesl-reg-form input:focus,
.lesl-reg-form select:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.lesl-reg-submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 14px;
}

.lesl-reg-submit-btn.btn-free-ticket {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.lesl-reg-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.lesl-reg-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Card */
.lesl-reg-success-card {
    text-align: center;
    padding: 20px 10px;
    animation: leslFadeIn 0.3s ease;
}

.lesl-success-icon {
    font-size: 42px;
    margin-bottom: 12px;
    display: inline-block;
}

.lesl-success-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.lesl-success-message {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.lesl-ticket-code-display {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    margin: 15px 0;
}

.lesl-ticket-code-val {
    font-family: monospace;
    font-size: 22px;
    font-weight: 800;
    color: #4f46e5;
    letter-spacing: 2px;
    display: block;
}

.lesl-ticket-code-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    display: block;
}

@keyframes leslFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
