/* RSVP-specific style overrides */

/* Enhanced form submit button */
.btn-submit {
    font-size: 1.1rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Form input focus states */
.form-control:focus {
    border-color: var(--btncolor, #1B63A9);
    box-shadow: 0 0 0 0.2rem rgba(27, 99, 169, 0.25);
}

/* Event modal styling */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    background-color: var(--apply_heading, #b78d2d);
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

.modal-header .close:hover {
    opacity: 1;
}

/* RSVP code input styling */
input[name="refcode"] {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Event info checklist */
.event-info-section ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

@media (max-width: 768px) {
    .event-info-section ul {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}

/* Thank you page icon */
.success-icon {
    font-size: 4rem;
    color: #28a745;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Call me page styling */
.call-redirect {
    background: linear-gradient(135deg, var(--btncolor, #1B63A9) 0%, #155a8a 100%);
    color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.call-redirect h2 {
    color: white;
}

.call-redirect .phone-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 15px 30px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.call-redirect .phone-number:hover {
    background-color: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* Loading spinner for event selection */
.event-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.spinner-border {
    color: var(--btncolor, #1B63A9);
}

/* Opt-in disclaimer styling */
.opt-in-disclaimer {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555;
    background-color: rgba(0,0,0,0.05);
    border-left: 3px solid var(--btncolor, #1B63A9);
}

/* Required field indicator */
.required {
    color: #dc3545;
    font-weight: bold;
}

/* Map link styling */
.map-link {
    color: var(--btncolor, #1B63A9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.map-link:hover {
    text-decoration: underline;
}

.map-link:before {
    content: "📍 ";
}
