.ticket-page {
    --color-main: #2FA084;

    --ticket-accent: #547792;
    --ticket-accent-dark: #466781;
    --ticket-accent-soft: rgba(84, 119, 146, 0.09);
    --ticket-accent-border: rgba(84, 119, 146, 0.28);
    --ticket-accent-focus: rgba(84, 119, 146, 0.13);

    --color-green: #5D866C;
    --color-orange: #DF6D14;

    --step-one: #87B6BC;
    --step-two: #DAA464;
    --step-three: #3F2305;

    --ticket-dark-text: #111827;
    --ticket-hero-title: #3f4b5c;
    --ticket-body-text: #475569;
    --ticket-muted-text: #64748b;
    --ticket-white: #ffffff;
    --ticket-border: rgba(15, 23, 42, 0.08);

    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    color: var(--ticket-dark-text);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

.ticket-page a {
    text-decoration: none;
}

.ticket-page button,
.ticket-page input,
.ticket-page select,
.ticket-page textarea {
    font-family: inherit;
}

/* Hero */

.ticket-hero {
    position: relative;
    min-height: 560px;
    padding: 120px 10% 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #ffffff;
}

.ticket-hero-content {
    position: relative;
    z-index: 3;
    max-width: 980px;
}

.ticket-hero h1 {
    margin-bottom: 34px;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -2.5px;
    color: var(--ticket-hero-title);
}

.ticket-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Emojis */

.ticket-hero-emojis {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ticket-emoji {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    opacity: 0.22;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.06));
    animation: ticketFloat 7s ease-in-out infinite;
}

.ticket-emoji-1 {
    top: 16%;
    right: 9%;
    font-size: 74px;
    animation-delay: 0s;
}

.ticket-emoji-2 {
    top: 17%;
    left: 11%;
    font-size: 62px;
    animation-delay: 0.8s;
}

.ticket-emoji-3 {
    bottom: 15%;
    right: 14%;
    font-size: 66px;
    animation-delay: 1.2s;
}

.ticket-emoji-4 {
    bottom: 18%;
    left: 15%;
    font-size: 68px;
    animation-delay: 1.8s;
}

.ticket-emoji-5 {
    top: 47%;
    right: 22%;
    font-size: 48px;
    animation-delay: 2.4s;
}

.ticket-emoji-6 {
    top: 46%;
    left: 22%;
    font-size: 50px;
    animation-delay: 3s;
}

.ticket-emoji-7 {
    bottom: 10%;
    left: 34%;
    font-size: 44px;
    animation-delay: 3.6s;
}

.ticket-emoji-8 {
    bottom: 11%;
    right: 34%;
    font-size: 44px;
    animation-delay: 4.2s;
}

@keyframes ticketFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Buttons */

.ticket-primary-btn,
.ticket-secondary-btn,
.ticket-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 15px 30px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 900;
    transition: 0.3s ease;
    cursor: pointer;
}

.ticket-primary-btn {
    border: none;
    background: var(--color-main);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(47, 160, 132, 0.16);
}

.ticket-primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(47, 160, 132, 0.22);
}

.ticket-secondary-btn {
    background: #ffffff;
    color: var(--color-main);
    border: 1.5px solid var(--color-main);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.ticket-secondary-btn:hover {
    transform: translateY(-4px);
    background: rgba(47, 160, 132, 0.04);
    box-shadow: 0 18px 42px rgba(47, 160, 132, 0.10);
}

/* Timeline */

.ticket-timeline-section {
    width: 82%;
    max-width: 1180px;
    margin: 0 auto 95px;
}

.ticket-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.ticket-timeline::before {
    content: "";
    position: absolute;
    top: 36px;
    right: calc(16.666% + 36px);
    left: calc(16.666% + 36px);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--step-three) 0%,
        var(--step-two) 50%,
        var(--step-one) 100%
    );
    opacity: 0.28;
    z-index: 0;
}

.ticket-timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding: 0 14px;
}

.ticket-timeline-item-1 {
    --step-color: var(--step-one);
    --step-rgb: 135, 182, 188;
}

.ticket-timeline-item-2 {
    --step-color: var(--step-two);
    --step-rgb: 218, 164, 100;
}

.ticket-timeline-item-3 {
    --step-color: var(--step-three);
    --step-rgb: 63, 35, 5;
}

.ticket-timeline-number {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--step-color);
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 18px 44px rgba(var(--step-rgb), 0.24);
    transition: 0.3s ease;
}

.ticket-timeline-number::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 999px;
    background: rgba(var(--step-rgb), 0.10);
    z-index: -1;
}

.ticket-timeline-item:hover .ticket-timeline-number {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(var(--step-rgb), 0.32);
}

.ticket-timeline-content h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.7;
    color: var(--ticket-dark-text);
}

.ticket-timeline-content p {
    max-width: 290px;
    margin: 0 auto;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 2;
    color: var(--ticket-body-text);
}

/* Form Section */

.ticket-form-section {
    width: 82%;
    max-width: 1180px;
    margin: 0 auto 110px;
}

.ticket-form-card {
    position: relative;
    padding: 38px;
    border-radius: 38px;
    background:
        radial-gradient(circle at 0% 0%, rgba(84, 119, 146, 0.22) 0%, rgba(84, 119, 146, 0.10) 18%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(84, 119, 146, 0.16) 0%, rgba(84, 119, 146, 0.07) 20%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
    border: 2px solid rgba(84, 119, 146, 0.26);
    box-shadow:
        0 26px 70px rgba(15, 23, 42, 0.06),
        0 18px 44px rgba(84, 119, 146, 0.12);
    overflow: visible;
}

.ticket-form-head {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
    padding-left: 90px;
}

.ticket-form-head h2 {
    margin-bottom: 12px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.5;
    color: var(--ticket-accent);
}

.ticket-form-head p {
    max-width: 780px;
    font-size: 16px;
    font-weight: 600;
    line-height: 2;
    color: var(--ticket-body-text);
}

/* Help Button */

.ticket-help-trigger {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: var(--ticket-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow:
        0 18px 40px rgba(84, 119, 146, 0.16),
        0 0 0 1px rgba(84, 119, 146, 0.18);
    transition: 0.3s ease;
}

.ticket-help-trigger::before,
.ticket-help-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(84, 119, 146, 0.34);
    animation: helpPulse 2s infinite;
}

.ticket-help-trigger::after {
    animation-delay: 0.8s;
}

.ticket-help-trigger:hover {
    transform: translateY(-3px) scale(1.04);
}

.ticket-help-icon {
    position: relative;
    z-index: 2;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

@keyframes helpPulse {
    0% {
        transform: scale(1);
        opacity: 0.70;
    }

    70% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

/* Form */

.ticket-form {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.ticket-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-field-full {
    grid-column: 1 / -1;
}

.ticket-field label {
    font-size: 15px;
    font-weight: 900;
    color: var(--ticket-dark-text);
}

/* Inputs */

.ticket-form input,
.ticket-form textarea,
.ticket-input {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 2px solid rgba(84, 119, 146, 0.28);
    background: rgba(255, 255, 255, 0.96);
    outline: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--ticket-dark-text);
    transition: 0.25s ease;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.02),
        0 10px 24px rgba(84, 119, 146, 0.045);
}

.ticket-form input:hover,
.ticket-form textarea:hover,
.ticket-input:hover {
    border-color: rgba(84, 119, 146, 0.42);
}

.ticket-form input:focus,
.ticket-form textarea:focus,
.ticket-input:focus {
    border-color: rgba(84, 119, 146, 0.70);
    box-shadow:
        0 0 0 5px rgba(84, 119, 146, 0.13),
        inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.ticket-form input::placeholder,
.ticket-form textarea::placeholder {
    color: #8a94a6;
}

.ticket-native-select {
    display: none;
}

/* Custom Select */

.ticket-custom-select {
    position: relative;
    z-index: 20;
}

.ticket-custom-select-trigger {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 2px solid rgba(84, 119, 146, 0.32);
    background:
        linear-gradient(135deg, rgba(84, 119, 146, 0.08), rgba(255, 255, 255, 0.98));
    color: var(--ticket-dark-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    box-shadow:
        0 12px 28px rgba(84, 119, 146, 0.06),
        inset 0 1px 2px rgba(15, 23, 42, 0.02);
    transition: 0.25s ease;
}

.ticket-custom-select-trigger svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: var(--ticket-accent);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: 0.25s ease;
}

.ticket-custom-select-trigger:hover {
    border-color: rgba(84, 119, 146, 0.50);
    box-shadow:
        0 16px 34px rgba(84, 119, 146, 0.10),
        inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.ticket-custom-select.is-open .ticket-custom-select-trigger {
    border-color: rgba(84, 119, 146, 0.72);
    box-shadow:
        0 0 0 5px rgba(84, 119, 146, 0.12),
        0 16px 34px rgba(84, 119, 146, 0.10);
}

.ticket-custom-select.is-open .ticket-custom-select-trigger svg {
    transform: rotate(180deg);
}

.ticket-custom-select-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(84, 119, 146, 0.22);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.12),
        0 14px 36px rgba(84, 119, 146, 0.14);
    backdrop-filter: blur(10px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: 0.22s ease;
    max-height: 260px;
    overflow-y: auto;
}

.ticket-custom-select.is-open .ticket-custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ticket-custom-select-option {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: var(--ticket-dark-text);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 800;
    transition: 0.22s ease;
}

.ticket-custom-select-option:hover {
    background: rgba(84, 119, 146, 0.09);
    color: var(--ticket-accent);
}

.ticket-custom-select-option.is-selected {
    background: rgba(84, 119, 146, 0.13);
    color: var(--ticket-accent);
    box-shadow: inset 3px 0 0 rgba(84, 119, 146, 0.65);
}

.ticket-custom-select-option.is-placeholder {
    color: #8a94a6;
}

.ticket-custom-select-menu::-webkit-scrollbar {
    width: 7px;
}

.ticket-custom-select-menu::-webkit-scrollbar-track {
    background: rgba(84, 119, 146, 0.06);
    border-radius: 999px;
}

.ticket-custom-select-menu::-webkit-scrollbar-thumb {
    background: rgba(84, 119, 146, 0.36);
    border-radius: 999px;
}

.ticket-form textarea,
.ticket-textarea {
    min-height: 220px;
    resize: vertical;
    line-height: 2;
}

.ticket-field ul {
    list-style: none;
}

.ticket-field li {
    margin-top: 4px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
}

/* Submit */

.ticket-submit-btn {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    min-height: 62px;
    border: none;
    border-radius: 20px;
    background: var(--ticket-accent);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 20px 46px rgba(84, 119, 146, 0.24);
}

.ticket-submit-btn:hover {
    background: var(--ticket-accent-dark);
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(84, 119, 146, 0.30);
}

/* Modal */

.ticket-help-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.28s ease;
}

.ticket-help-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ticket-help-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.40);
    backdrop-filter: blur(5px);
}

.ticket-help-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 520px);
    padding: 34px 28px 28px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(84, 119, 146, 0.12);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
    animation: modalUp 0.28s ease;
}

@keyframes modalUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ticket-help-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(84, 119, 146, 0.08);
    color: var(--ticket-accent);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: 0.25s ease;
}

.ticket-help-close:hover {
    background: rgba(84, 119, 146, 0.14);
    transform: rotate(90deg);
}

.ticket-help-badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(84, 119, 146, 0.10);
    color: var(--ticket-accent);
    font-size: 14px;
    font-weight: 900;
}

.ticket-help-dialog h3 {
    margin-bottom: 14px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.6;
    color: var(--ticket-dark-text);
}

.ticket-help-dialog p {
    font-size: 16px;
    font-weight: 600;
    line-height: 2.1;
    color: var(--ticket-body-text);
}

.ticket-help-note {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(84, 119, 146, 0.08);
    border: 1px solid rgba(84, 119, 146, 0.14);
    color: var(--ticket-accent);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.9;
}

/* Responsive */

@media (max-width: 1100px) {
    .ticket-timeline-section,
    .ticket-form-section {
        width: 88%;
    }

    .ticket-timeline {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ticket-timeline::before {
        top: 36px;
        bottom: 36px;
        right: 50%;
        left: auto;
        width: 3px;
        height: auto;
        transform: translateX(50%);
        background: linear-gradient(
            180deg,
            var(--step-one) 0%,
            var(--step-two) 50%,
            var(--step-three) 100%
        );
    }
}

@media (max-width: 768px) {
    .ticket-hero {
        min-height: auto;
        padding: 90px 20px 100px;
    }

    .ticket-hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
        margin-bottom: 28px;
    }

    .ticket-emoji {
        opacity: 0.16;
    }

    .ticket-emoji-1 {
        top: 10%;
        right: 4%;
        font-size: 54px;
    }

    .ticket-emoji-2 {
        top: 11%;
        left: 5%;
        font-size: 48px;
    }

    .ticket-emoji-3 {
        bottom: 10%;
        right: 7%;
        font-size: 50px;
    }

    .ticket-emoji-4 {
        bottom: 12%;
        left: 7%;
        font-size: 52px;
    }

    .ticket-emoji-5,
    .ticket-emoji-6,
    .ticket-emoji-7,
    .ticket-emoji-8 {
        display: none;
    }

    .ticket-primary-btn,
    .ticket-secondary-btn,
    .ticket-submit-btn {
        width: 100%;
    }

    .ticket-timeline-section {
        width: calc(100% - 32px);
        margin-bottom: 70px;
    }

    .ticket-form-section {
        width: calc(100% - 32px);
        margin-bottom: 80px;
    }

    .ticket-form-card {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .ticket-help-trigger {
        top: 20px;
        left: 20px;
        width: 58px;
        height: 58px;
    }

    .ticket-help-icon {
        font-size: 28px;
    }

    .ticket-form-head {
        padding-left: 78px;
    }

    .ticket-form-head h2 {
        font-size: 28px;
    }

    .ticket-form-head p {
        font-size: 15.5px;
    }

    .ticket-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ticket-form textarea,
    .ticket-textarea {
        min-height: 180px;
    }

    .ticket-help-dialog {
        width: calc(100% - 24px);
        border-radius: 24px;
        padding: 30px 22px 22px;
    }

    .ticket-help-dialog h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ticket-hero {
        padding: 70px 16px 90px;
    }

    .ticket-hero h1 {
        font-size: 30px;
    }

    .ticket-form-card {
        border-radius: 22px;
    }

    .ticket-help-trigger {
        top: 16px;
        left: 16px;
        width: 54px;
        height: 54px;
    }

    .ticket-form-head {
        padding-left: 70px;
    }

    .ticket-form-head h2 {
        font-size: 24px;
    }

    .ticket-submit-btn {
        font-size: 16px;
        min-height: 58px;
    }

    .ticket-help-dialog {
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticket-page,
    .ticket-page *,
    .ticket-help-modal,
    .ticket-help-modal * {
        scroll-behavior: auto !important;
    }

    .ticket-emoji,
    .ticket-help-trigger::before,
    .ticket-help-trigger::after,
    .ticket-help-dialog {
        animation: none !important;
    }

    .ticket-primary-btn,
    .ticket-secondary-btn,
    .ticket-submit-btn,
    .ticket-timeline-number,
    .ticket-help-trigger,
    .ticket-help-close {
        transition: none !important;
    }
}