/* Modern Event Form Styling */
.su-event-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.su-event-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.su-form-group {
    margin-bottom: 1.5rem;
}

.su-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a4a4a;
    font-size: 0.9rem;
}

.su-form-group input, .su-form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.su-form-group input:focus, .su-form-group select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: #fff;
}

/* International Phone Input Styling */
.iti {
    width: 100%;
}

.iti__flag-container {
    border-right: 1px solid #e1e1e1;
}

.iti__selected-flag {
    padding: 0 0 0 10px;
    background: #f9f9f9;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
    background: #fff;
}

.iti input[type="tel"] {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 60px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.iti input[type="tel"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: #fff;
}

.iti__country-list {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 200px;
}

.iti__country:hover {
    background-color: #f0f0f0;
}

.iti__country.iti__highlight {
    background-color: #6366f1;
    color: white;
}

.su-form-submit {
    margin-top: 2rem;
}

.su-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.su-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.su-submit-btn:active {
    transform: translateY(0);
}

.su-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.su-form-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.su-form-message.success {
    color: #10b981;
    display: block;
    min-height: 100px;
    padding: 20px !important;
}

.su-form-message.success h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.su-form-message.success p {
    margin: 10px 0;
    line-height: 1.6;
    color: white;
}

.su-form-message.success p:last-child {
    margin-bottom: 0;
}

.su-form-message.error {
    color: #ef4444;
    display: block;
}

/* Mobile-specific styles for success message */
@media (max-width: 768px) {
    .su-form-message.success {
        font-size: 14px;
        padding: 25px 15px !important;
        min-height: 120px;
    }

    .su-form-message.success h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .su-form-message.success p {
        font-size: 14px;
        line-height: 1.5;
    }
}