.modern-ticket-form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #6c31a8 0%, #9464c4 50%, #b084d6 100%);
    border-radius: 25px;
    padding: 0;
    box-shadow: 
        0 25px 50px rgba(108, 49, 168, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    overflow: hidden;
    color: #fff;
    font-family: inherit;
    position: relative;
}

.modern-ticket-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcb00, transparent);
    opacity: 0.8;
}

.modern-ticket-form .donation_head {
    background: linear-gradient(135deg, #5a2891 0%, #7d4db8 100%);
    padding: 35px 30px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    border-radius: 0;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modern-ticket-form .donation_head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffcb00, transparent);
    border-radius: 2px;
}

.modern-ticket-form .donation_buttons {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    margin: 25px 30px;
    padding: 25px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
}
.modern-ticket-form .donation_body p {
    padding: 0 40px;
}
.modern-ticket-form .price_recepit {
    background: #864cc0;
    border-radius: 15px;
    margin: 20px;
    padding: 10px;
}
.modern-ticket-form .price_recepit p {
    padding: 0 !important;
    margin: 0 !important;
}
.modern-ticket-form .donation_buttons::before {
    content: '💰';
    position: absolute;
    right: 25px;
    background: linear-gradient(135deg, #ffcb00, #f8d23f);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(255, 203, 0, 0.4);
    z-index: 10;
}

.modern-ticket-form .donation_info {
    padding: 30px 40px 40px;
    background: transparent;
    position: relative;
}

.modern-ticket-form .donation_info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.modern-ticket-form .field {
    margin: 15px 0;
    display: block;
    text-align: right;
    direction: rtl;
}

.modern-ticket-form .field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e9d4ff;
    text-align: right;
    direction: rtl;
}

.modern-ticket-form input,
.modern-ticket-form select,
.modern-ticket-form textarea {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    color: #fff;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    text-align: right;
    direction: rtl;
}

.modern-ticket-form input:focus,
.modern-ticket-form select:focus,
.modern-ticket-form textarea:focus {
    outline: none;
    border-color: #ffcb00;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 4px rgba(255, 203, 0, 0.25),
        0 8px 25px rgba(255, 203, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: translateY(-1px);
}

.modern-ticket-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.modern-ticket-form select option {
    background: #6c31a8;
    color: #fff;
    padding: 10px;
}

.modern-ticket-form select option:disabled {
    color: rgba(255, 255, 255, 0.4);
}

.modern-ticket-form button {
    width: 100%;
    padding: 20px 35px;
    background: linear-gradient(135deg, #ffcb00 0%, #f8d23f 50%, #ffcb00 100%);
    border: none;
    border-radius: 16px;
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    box-shadow: 
        0 12px 30px rgba(255, 203, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    position: relative;
    overflow: hidden;
}

.modern-ticket-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modern-ticket-form button:hover::before {
    left: 100%;
}

.modern-ticket-form button:hover {
    background: linear-gradient(135deg, #f8d23f 0%, #ffcb00 50%, #f8d23f 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 18px 40px rgba(255, 203, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

.modern-ticket-form button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(255, 203, 0, 0.3);
}

.modern-ticket-form button:disabled {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modern-ticket-form .error_message {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #ffcccb;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
}

.modern-ticket-form #coupon_feedback {
    background: rgba(0, 123, 186, 0.2);
    border: 1px solid rgba(0, 123, 186, 0.4);
    color: #87ceeb;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.modern-ticket-form .field strong {
    color: #ffcb00;
    font-size: 1.1rem;
    direction: rtl;
}

.modern-ticket-form #final_price {
    color: #ffcb00;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Enhanced desktop layout */
@media screen and (min-width: 769px) {
    .modern-ticket-form {
        transform: scale(1);
        transition: transform 0.3s ease;
    }
    
    .modern-ticket-form:hover {
        transform: scale(1.01);
    }
    
    .modern-ticket-form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin: 20px 0;
    }
    
    .modern-ticket-form .form-row .field {
        margin: 0;
    }
    
    .modern-ticket-form .form-full-width {
        grid-column: 1 / -1;
    }
    
    .modern-ticket-form .donation_info {
        padding: 35px 50px 45px;
    }
    
    .modern-ticket-form .donation_buttons {
        margin: 30px 40px;
        padding: 30px;
    }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .modern-ticket-form {
        margin: 10px;
        border-radius: 15px;
    }
    
    .modern-ticket-form .donation_head {
        padding: 25px 15px;
        font-size: 1.2rem;
    }
    
    .modern-ticket-form .donation_buttons {
        margin: 15px;
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .modern-ticket-form .donation_info {
        padding: 15px 20px 25px;
    }
    
    .modern-ticket-form input,
    .modern-ticket-form select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .modern-ticket-form button {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .modern-ticket-form {
        margin: 5px;
        border-radius: 12px;
    }
    
    .modern-ticket-form .donation_head {
        padding: 20px 10px;
        font-size: 1.1rem;
    }
    
    .modern-ticket-form .donation_buttons {
        margin: 10px;
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .modern-ticket-form .donation_info {
        padding: 10px 15px 20px;
    }
}

/* Enhanced animations */
.modern-ticket-form {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modern-ticket-form .field {
    animation: fadeInField 0.6s ease-out backwards;
}

.modern-ticket-form .field:nth-child(1) { animation-delay: 0.1s; }
.modern-ticket-form .field:nth-child(2) { animation-delay: 0.2s; }
.modern-ticket-form .field:nth-child(3) { animation-delay: 0.3s; }
.modern-ticket-form .field:nth-child(4) { animation-delay: 0.4s; }
.modern-ticket-form .field:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInField {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading state for button */
.modern-ticket-form button.loading {
    position: relative;
    color: transparent;
}

.modern-ticket-form button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Screening Day Display */
.screening-day-display {
    max-width: 700px !important;
    margin: 30px auto 20px !important;
    background: linear-gradient(135deg, #6c31a8 0%, #9464c4 50%, #b084d6 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 0 !important;
    box-shadow: 
        0 20px 40px rgba(108, 49, 168, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.screening-day-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcb00, transparent);
    opacity: 0.8;
}

.screening-day-display::after {
    content: '🎬';
    position: absolute;
    top: 30px;
    right: 25px;
    background: linear-gradient(135deg, #ffcb00, #f8d23f);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 6px 15px rgba(255, 203, 0, 0.4);
    z-index: 10;
}

.screening-day-display > div:first-child {
    background: linear-gradient(135deg, #5a2891 0%, #7d4db8 100%) !important;
    padding: 25px 30px 20px !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: none !important;
}

.screening-day-display > div:first-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcb00, transparent);
    border-radius: 1px;
}

.screening-day-display #screening_day_value {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) !important;
    padding: 30px !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #ffcb00 !important;
    text-shadow: 0 2px 15px rgba(255, 203, 0, 0.3) !important;
    border-radius: 0 0 20px 20px !important;
    position: relative;
    margin: 0 !important;
    box-shadow: none !important;
}

.screening-day-display #screening_day_value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Mobile responsiveness for screening day */
@media screen and (max-width: 768px) {
    .screening-day-display {
        margin: 20px 10px 15px;
        border-radius: 15px;
    }
    
    .screening-day-display > div:first-child {
        padding: 20px 20px 15px;
        font-size: 1.1rem;
    }
    
    .screening-day-display #screening_day_value {
        padding: 25px 20px;
        font-size: 1.6rem;
    }
    
    .screening-day-display::after {
        width: 25px;
        height: 25px;
        font-size: 14px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .screening-day-display {
        margin: 15px 5px 10px;
        border-radius: 12px;
    }
    
    .screening-day-display > div:first-child {
        padding: 15px 15px 12px;
        font-size: 1rem;
    }
    
    .screening-day-display #screening_day_value {
        padding: 20px 15px;
        font-size: 1.4rem;
    }
}
