/* Event Car QR Form Styles */
.event-car-qr-form-container {
    max-width: 100%;
    margin: 0;
    padding: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
}

.event-car-qr-header {
    text-align: center;
    margin-bottom: 30px;
}

.event-car-qr-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    color: white;
}

.event-car-qr-header p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

.event-car-qr-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-car-form-group {
    margin-bottom: 20px;
}

.event-car-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.event-car-phone-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.3s ease;
    font-weight: 500;
}

.event-car-phone-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.event-car-phone-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.event-car-form-group small {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.85;
}

.event-car-submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    background: white;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.event-car-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.event-car-submit-btn:active {
    transform: translateY(0);
}

/* Success State */
.event-car-qr-success {
    max-width: 100%;
    margin: 0;
    padding: 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
}

.qr-success-header {
    margin-bottom: 30px;
}

.qr-success-header .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    line-height: 1;
    margin-bottom: 15px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.qr-success-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.qr-car-separator {
    margin: 40px 0 20px;
    padding: 15px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.qr-car-separator h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.qr-car-details {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.qr-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-detail-row:last-child {
    border-bottom: none;
}

.qr-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.qr-value {
    font-size: 18px;
    font-weight: 700;
}

.qr-code-container {
    margin-top: 30px;
}

.qr-code-container h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.qr-code-image {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.qr-code-image img {
    display: block;
}

.qr-instructions {
    margin-top: 20px;
    font-size: 15px;
    opacity: 0.95;
}

.event-car-qr-reset {
    margin-top: 30px;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
    border-radius: 8px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-car-qr-reset:hover {
    background: white;
    color: #10b981;
}

/* Error State */
.event-car-qr-error {
    max-width: 100%;
    margin: 0;
    padding: 40px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
}

.event-car-qr-error .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    line-height: 1;
    margin-bottom: 15px;
    animation: shake 0.5s ease-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.event-car-qr-error h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px;
    color: white;
}

.event-car-qr-error p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 640px) {

    .event-car-qr-form-container,
    .event-car-qr-success,
    .event-car-qr-error {
        margin: 0;
        padding: 25px;
    }

    .event-car-qr-header h2,
    .qr-success-header h2,
    .event-car-qr-error h3 {
        font-size: 22px;
    }

    .qr-success-header .dashicons,
    .event-car-qr-error .dashicons {
        font-size: 60px;
        width: 60px;
        height: 60px;
    }

    .qr-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .qr-value {
        font-size: 16px;
    }
}