/* Ticket Page Specific Styles */

.ticket-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.ticket-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Info Section */
.form-info h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-info {
    margin-top: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.phone-number,
.email-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.125rem;
}

.phone-number svg,
.email-contact svg {
    width: 24px;
    height: 24px;
    color: var(--primary-yellow);
}

.phone-number a,
.email-contact a {
    color: var(--primary-blue);
    font-weight: 600;
}

.phone-number a:hover,
.email-contact a:hover {
    color: var(--primary-yellow-dark);
}

/* Form Container */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.ticket-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 90, 142, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234b5563" stroke-width="2"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-text {
    color: var(--gray-700);
    line-height: 1.6;
}

.privacy-link {
    color: var(--primary-blue);
    text-decoration: underline;
}

.privacy-link:hover {
    color: var(--primary-yellow-dark);
}

/* Submit Button */
.btn-submit {
    margin-top: 10px;
    width: 100%;
    font-size: 1.125rem;
    padding: 16px;
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: -10px;
}

/* Error States */
.input-error {
    border-color: #e53e3e !important;
}

.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 5px;
}

.error-message-global {
    background: #fee;
    border: 1px solid #e53e3e;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.success-message {
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Privacy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 25px 30px;
    margin: 0;
    font-size: 1.75rem;
}

.close-modal {
    color: var(--white);
    float: right;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-base);
}

.close-modal:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 100px);
}

.modal-body h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-body ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
}

.modal-body ul li {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 8px;
}

.modal-body a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.modal-body a:hover {
    color: var(--primary-yellow-dark);
}

.last-updated {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .ticket-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-container {
        padding: 30px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 640px) {
    .form-container {
        padding: 20px;
    }

    .contact-info {
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 14px;
    }
}

/* reCAPTCHA Container */
.recaptcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
}

.recaptcha-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.4;
}

.recaptcha-note a {
    color: var(--primary-blue);
    text-decoration: none;
}

.recaptcha-note a:hover {
    text-decoration: underline;
}

/* Responsive reCAPTCHA */
@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}
