/* ============================================
   MY TICKETS PAGE STYLES
   ============================================ */

/* Step Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

/* Register Link */
.register-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.register-link p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.register-link a {
    color: var(--bita-blue);
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* OTP Actions */
.otp-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

/* Tickets List */
.tickets-list {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.ticket-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
}

.ticket-item:last-child {
    margin-bottom: 0;
}

.ticket-item:hover {
    background: var(--bita-blue-light);
    border-color: var(--bita-blue);
}

.ticket-item-icon {
    width: 48px;
    height: 48px;
    background: var(--bita-blue);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ticket-item-info {
    flex: 1;
    min-width: 0;
}

.ticket-item-id {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.ticket-item-name {
    font-size: 13px;
    color: var(--text-medium);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-item-arrow {
    font-size: 18px;
    color: var(--text-light);
}

/* No Tickets State */
.no-tickets {
    text-align: center;
    padding: 40px 20px;
}

.no-tickets-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-tickets h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.no-tickets p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Tickets Footer */
.tickets-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--border-light);
    color: var(--text-dark);
}

.ticket-modal {
    position: relative;
    padding-top: 50px;
}

/* Loading State */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--bita-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .tickets-list {
        padding: 16px;
    }

    .ticket-item {
        padding: 14px;
    }

    .ticket-item-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}