
/* =========================================
   MY TICKETS PAGE
========================================= */

.my-tickets-shell {
    max-width: 1000px;
    margin: 42px auto 100px;
    padding: 0 24px;
}

.my-tickets-heading {
    margin-bottom: 28px;
}

.my-tickets-heading h1 {
    margin: 8px 0;
    font-size: 30px;
    font-weight: 800;
    color: var(--ink);
}

.my-tickets-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   LOGIN PANEL
========================================= */

.my-tickets-panel {
    max-width: 460px;
    margin: 45px auto 0;
    padding: 36px;
    text-align: center;
}

.login-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: var(--light);
    color: var(--purple);
    font-size: 25px;
}

.my-tickets-panel h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}

.login-description {
    margin: 0 auto 26px;
    max-width: 340px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.my-tickets-panel form {
    text-align: left;
}

.my-tickets-panel label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.mobile-input-wrap {
    height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--white);
}

.mobile-input-wrap span {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    padding-right: 12px;
    border-right: 1px solid var(--line);
}

.mobile-input-wrap input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 15px;
}

.otp-input {
    width: 100%;
    height: 56px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: none;
    text-align: center;
    letter-spacing: 12px;
    font-size: 23px;
    font-weight: 800;
    color: var(--deep);
}

.mobile-input-wrap:focus-within,
.otp-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .10);
}

.my-tickets-panel .btn {
    min-height: 50px;
    font-size: 14px;
}

.otp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.text-button:disabled {
    color: var(--muted);
    cursor: not-allowed;
}

.page-message {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.page-message.error {
    background: #FEF3F2;
    color: var(--danger);
}

.page-message.success {
    background: #ECFDF3;
    color: #067647;
}

/* =========================================
   BOOKINGS SECTION
========================================= */

.bookings-section {
    margin-top: 38px;
}

.bookings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.bookings-header h2 {
    margin: 6px 0;
    color: var(--ink);
    font-size: 23px;
    font-weight: 800;
}

.bookings-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.logout-button {
    white-space: nowrap;
}

.bookings-summary {
    margin-bottom: 18px;
    padding: 15px 18px;
    border-radius: 13px;
    background: var(--white);
    color: #4c1d95;
    font-size: 13px;
}

.bookings-summary strong {
    color: var(--ink);
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* =========================================
   BOOKING CARD
========================================= */

.booking-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(49, 26, 89, .04);
}

.booking-card-main {
    min-width: 0;
    flex: 1;
}

/* Booking ID + View Tickets */

.booking-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.booking-number {
    min-width: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* Booking date below ID */

.booking-date {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

/* View Tickets text link */

.booking-card-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.view-tickets-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0 4px 8px;
    border: 0;
    background: transparent;
    color: var(--purple);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.view-tickets-link:hover {
    color: var(--deep);
}

.view-tickets-arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.view-tickets-link:hover .view-tickets-arrow {
    transform: translateX(4px);
}

/* Booking statistics */

.booking-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 4px;
}

.booking-stat {
    color: var(--muted);
    font-size: 12px;
}

.booking-stat strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

/* =========================================
   EMPTY STATE & LOADING
========================================= */

.empty-icon {
    margin-bottom: 12px;
    color: var(--purple);
    font-size: 38px;
}

.empty-state h3 {
    margin: 0 0 8px;
    color: var(--ink);
}

.empty-state p {
    max-width: 360px;
    margin: 0 auto 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.loading-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

/* =========================================
   MENU
========================================= */

.vendor-menu-link.active {
    background: var(--bg);
    color: var(--purple);
    font-weight: 700;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 640px) {

    .my-tickets-shell {
        margin: 25px auto 80px;
        padding: 0 16px;
    }

    .my-tickets-heading h1 {
        font-size: 25px;
    }

    .my-tickets-panel {
        margin-top: 28px;
        padding: 26px 20px;
    }

    .bookings-header {
        align-items: flex-start;
    }

    .bookings-header h2 {
        font-size: 20px;
    }

    .booking-card {
        padding: 16px;
        gap: 13px;
    }

    .booking-card-top {
        align-items: center;
        gap: 8px;
    }

    .booking-number {
        font-size: 12px;
    }

    .booking-date {
        font-size: 11px;
    }

    .view-tickets-link {
        font-size: 12px;
    }

    .booking-stats {
        gap: 18px;
    }

    .otp-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {

    .booking-card-top {
        align-items: flex-start;
    }

    .booking-number {
        font-size: 11px;
    }

    .view-tickets-link {
        font-size: 11px;
    }

    .booking-stats {
        gap: 14px;
    }
}
/* My Tickets - Header alignment */
.home-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.home-header .brand-logo {
    display: inline-flex;
    align-items: center;
    margin: 0;
    text-decoration: none;
}

.home-header .vendor-menu-btn {
    margin-left: auto;
    flex-shrink: 0;
}