﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* progressbar */
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

    #progressbar .active {
        color: #000000
    }

    #progressbar li {
        list-style-type: none;
        font-size: 12px;
        width: 25%;
        float: left;
        position: relative;
        font-weight: 900;
    }

    /* Dynamic width when survey step is present */
    #progressbar:has(#survey) li {
        width: 20%;
    }

    /* Fallback for browsers that don't support :has() */
    #progressbar.with-survey li {
        width: 20%;
    }

    #progressbar li.hidden {
        display: none;
    }

    #progressbar #tickets:before {
        font-family: "Font Awesome 5 Free";
        content: "\f3ff"
    }

    #progressbar #personal:before {
        font-family: "Font Awesome 5 Free";
        content: "\f007"
    }

    #progressbar #survey:before {
        font-family: "Font Awesome 5 Free";
        content: "\f0ca";
        font-weight: 900;
    }

    #progressbar #payment:before {
        font-family: "Font Awesome 5 Free";
        content: "\f09d"
    }

    #progressbar #confirm:before {
        font-family: "Font Awesome 5 Free";
        content: "\f00c"
    }

    #progressbar li:before {
        width: 50px;
        height: 50px;
        line-height: 45px;
        display: block;
        font-size: 18px;
        color: #ffffff;
        background: lightgray;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 2px
    }

    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: lightgray;
        position: absolute;
        left: 0;
        top: 25px;
        z-index: -1
    }

    #progressbar li.active:before,
    #progressbar li.active:after {
        background: skyblue
    }

/* Layout customizations by Axel */
html {
    background-color: #e8e4e0;
}

body {
    color: #2b3e50;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    background-color: transparent;
    margin-bottom: 100px;
}

.main {
    margin-top: -120px;
}

h2 {
    line-height: 1.5;
}

header .navbar {
    border-bottom: 0px solid #2b3e50 !important;
    border-top: 10px solid #2b3e50 !important;
    background-image: url("/Content/Images/General/header.jpg");
    padding-bottom: 20px;
    padding-top: 25px;
    height: 280px;
    background-position: center top;
    background-size: cover;
    align-items: start;
}

.menu-close-button-container {
    position: absolute;
    top: 72px;
    right: 45px;
}

.menu-close-button {
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
}

    .menu-close-button:hover {
        color: #ffbb8e;
    }

footer {
    background-color: #df691a;
    color: white;
}

    footer a {
        color: white;
    }

        footer a:hover, footer a:active {
            color: #2b3e50;
        }

.navbar-toggler {
    border-color: #2b3e50 !important;
    background-color: #e8e4e0;
}

    .navbar-toggler:focus {
        outline: none;
    }

.navbar-expand-lg .navbar-nav .nav-link {
    font-size: 1.6rem;
    color: #2b3e50 !important;
}

.navbar-nav {
    justify-content: space-evenly;
    flex-direction: column;
    padding-top: 130px;
    padding-left: 20px;
    padding-right: 20px;
}

.nav-item {
    display: flex;
    align-items: start;
    padding-bottom: 20px;
}

.navbar-collapse {
    background-color: #2b3e50;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 40%;
    height: 100%;
    opacity: 0.97;
    margin-top: 0px !important;
    z-index: 1000;
    overflow-y: auto;
}

    .navbar-collapse.collapsing {
        right: -40%;
        transition: height 0s ease;
    }

    .navbar-collapse.show {
        right: 0;
        transition: right 300ms ease-in-out;
    }

.navbar-toggler.collapsed ~ .navbar-collapse {
    transition: right 500ms ease-in-out;
}

.menu-icon {
    color: #ffbb8e;
    font-size: 3.7rem;
    text-align: center;
    min-width: 120px;
}
/* underline animation for menu items */
.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffbb8e;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.navbar-nav .nav-link:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar-nav .nav-link {
    display: inline-block;
    position: relative;
    color: #ffffff !important;
    font-size: 1.7rem;
    width: 95%;
}

    .navbar-nav .nav-link:hover {
        color: #ffbb8e !important;
    }

#culture-options {
    border: 0;
    background-color: transparent;
    color: #ffffff;
    -moz-appearance: none;
}

    #culture-options option {
        color: #2b3e50;
    }

#app {
    /*background-color: #ffffff;*/
    /*opacity: 0.9;*/
    background-color: rgb(255 255 255 / 90%);
    z-index: 0;
    position: relative;
    padding: 20px;
    padding-top: 14px;
    border-radius: 10px;
    box-shadow: 1px 5px 15px -2px rgb(0 0 0 / 65%);
}

h1 {
    font-size: 2.4rem;
}

.header-logo {
    height: 90px;
}

.btn-outline-primary {
    color: #2b3e50;
    background-color: #ffbb8e;
    border: 0;
}

    .btn-outline-primary:hover, .btn-outline-primary:active {
        color: #2b3e50 !important;
        background-color: #ffbb8e !important;
        border: 0;
        transform: scale(0.97);
    }

    .btn-outline-primary:focus {
        box-shadow: none !important;
    }

.btn-primary {
    color: #ffffff !important;
    background-color: #2b3e50;
    border: 0;
}

    .btn-primary:hover, .btn-primary:active {
        color: #2b3e50 !important;
        background-color: #ffbb8e;
    }

    .btn-primary:focus {
        box-shadow: none !important;
    }

.btn-secondary {
    color: #ffffff !important;
    background-color: #8cb1d6;
    border: 0;
}

    .btn-secondary:hover, .btn-secondary:active {
        color: #ffffff !important;
        background-color: #497098;
    }

    .btn-secondary:focus {
        box-shadow: none !important;
    }
/* Shop page */
.shop_start {
    max-width: 1600px; /* Added max-width for wider container */
    margin: 0 auto; /* Center the container */
    padding: 0 1rem; /* Add some padding */
}

.shop_start .card-deck .card {
    border-radius: 28px;
    box-shadow: none !important;
    padding: 3px;
    background-color: #2b3e50;
    color: #ffffff;
    min-width: 30%;
    max-width: 30%;
}

    .shop_start .card-deck .card:nth-child(odd) {
        transform: rotate(1deg);
        -webkit-transform: rotate(1deg);
    }

    .shop_start .card-deck .card:nth-child(even) {
        transform: rotate(-1deg);
        -webkit-transform: rotate(-1deg);
    }

    .shop_start .card-deck .card .card-header {
        color: #ffbb8e;
        border-bottom: 2px dashed #ffffff;
        background-color: transparent;
    }

    .shop_start .card-deck .card a:not(.btn) {
        color: #ffbb8e;
    }

        .shop_start .card-deck .card a:not(.btn):hover, .shop_start .card-deck .card a:not(.btn):active {
            color: #d2946a;
        }

.shop_start .card-deck {
    align-items: center;
    justify-content: center;
}

#progressbar {
    padding-inline-start: 0px;
}

    #progressbar li.active:before, #progressbar li.active:after, .badge {
        background-color: #df691a;
    }

.progressbar_img {
    max-width: 90%;
    width: 300px;
}

.btn-google {
    background-color: #DB4437;
    color: white;
    font-weight: 500;
}

    .btn-google:hover {
        background-color: #c33d30;
        color: white;
    }

.btn-facebook {
    background-color: #4267B2;
    color: white;
    font-weight: 500;
}

    .btn-facebook:hover {
        background-color: #3a5a9e;
        color: white;
    }

/* Survey Styles - Enhanced */
.survey-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.survey-question {
    background-color: white;
    border: none;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.2s ease-in-out;
}

    .survey-question:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

    .survey-question legend {
        color: #495057;
        border: none;
        padding: 0;
        margin-bottom: 1rem;
        font-size: 1.25rem;
        font-weight: 500;
    }

    .survey-question .form-label {
        color: #2b3e50;
        font-size: 1.1rem;
        margin-bottom: 15px;
        font-weight: 500;
    }

    .survey-question .text-danger {
        font-weight: bold;
    }

    .survey-question .form-control,
    .survey-question .form-select {
        border: 2px solid #e9ecef;
        border-radius: 4px;
        padding: 10px 15px;
        font-size: 1rem;
        transition: border-color 0.2s ease-in-out;
    }

        .survey-question .form-control:focus,
        .survey-question .form-select:focus {
            border-color: #df691a;
            box-shadow: 0 0 0 0.2rem rgba(223, 105, 26, 0.25);
        }

    .survey-question .form-check {
        margin-bottom: 10px;
        padding-left: 2rem;
        margin-bottom: 0.75rem;
    }

    .survey-question .form-check-input {
        margin-left: -2rem;
        margin-top: 4px;
    }

        .survey-question .form-check-input:checked {
            background-color: #df691a;
            border-color: #df691a;
        }

        .survey-question .form-check-input:focus {
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }

    .survey-question .form-check-label {
        font-size: 1rem;
        color: #2b3e50;
        cursor: pointer;
    }

/* Enhanced Rating Container Styles */
.rating-container {
    margin-bottom: 1rem;
}

    .rating-container .rating-stars {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .rating-container .form-check-inline {
        margin-right: 0;
    }

    .rating-container .form-check-input {
        display: none;
    }

    .rating-container .star-label {
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0.25rem;
        border-radius: 0.25rem;
        font-size: 1.2rem;
    }

        .rating-container .star-label:hover,
        .rating-container .star-label:focus {
            background-color: rgba(255, 193, 7, 0.1);
            transform: scale(1.1);
        }

    .rating-container .fas.fa-star {
        color: #dee2e6;
        transition: color 0.2s ease;
        font-size: 1.5rem;
    }

    .rating-container input:checked ~ label .fas.fa-star,
    .rating-container input:checked ~ * label .fas.fa-star {
        color: #ffc107;
    }

    .rating-container:hover .star-label:hover .fas.fa-star,
    .rating-container:hover .star-label:hover ~ .form-check-inline .star-label .fas.fa-star {
        color: #ffc107;
    }

    .rating-container .form-text {
        color: #6c757d;
        font-size: 0.875rem;
        text-align: center;
    }

/* Badge Styling */
.badge {
    font-size: 0.8rem;
}

/* Form Validation Styles */
.survey-question .invalid-feedback {
    display: block;
}

.survey-question .validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.survey-question .form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 5px;
}

    .survey-question .form-text.text-info {
        color: #0dcaf0 !important;
    }

    .survey-question .form-text .fas {
        margin-right: 0.25rem;
    }

/* Character Counter Warning */
.survey-question .form-control.border-warning,
.survey-question .form-select.border-warning {
    border-color: #ffc107 !important;
}

/* Mobile Responsive Design for Survey */
@media (max-width: 767.98px) {
    .survey-question {
        margin-bottom: 1.5rem;
        padding: 15px;
    }

    .rating-container .rating-stars {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .rating-container .star-label {
        padding: 0.125rem;
    }

    .rating-container .fas.fa-star {
        font-size: 1.25rem;
    }

    .survey-question .form-check {
        padding-left: 1.5rem;
    }

    .survey-question .form-check-input {
        margin-left: -1.5rem;
    }
}

/* Wizard Step Completed Page Styles */
.completed-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

    .completed-page .alert {
        border: none;
        border-radius: 8px;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    }

    .completed-page .alert-success {
        border-left: 4px solid #198754;
    }

    .completed-page .alert-warning {
        border-left: 4px solid #ffc107;
    }

    .completed-page .alert-danger {
        border-left: 4px solid #dc3545;
    }

    .completed-page .alert-info {
        border-left: 4px solid #0dcaf0;
    }

    .completed-page .spinner-border-sm {
        width: 1rem;
        height: 1rem;
    }

/* Wizard Step Token Page Styles - Enhanced with Better Text Visibility and Wider Layout */
.token-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.loading-container {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 5px solid #ffc107;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

    /* Add subtle pattern overlay for better text contrast */
    .loading-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
        pointer-events: none;
        z-index: 1;
    }

.error-container {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.15);
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 5px solid #dc3545;
    padding: 2rem;
}

.loading-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Enhanced Text Section with Better Visibility and Wider Layout */
.loading-text-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(223, 105, 26, 0.1);
}

    .loading-text-section .alert-heading {
        color: #2b3e50;
        font-weight: 700;
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

.loading-message {
    color: #495057;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.progress-text {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(223, 105, 26, 0.15);
}

.progress-status {
    color: #6c757d;
    font-style: italic;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Ticket Loading Animation - Enhanced */
.ticket-loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 120px;
    margin-bottom: 2rem;
}

.ticket-icon {
    font-size: 3.5rem;
    color: #df691a;
    animation: ticketBounce 2s ease-in-out infinite;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
    text-shadow: 0 3px 6px rgba(223, 105, 26, 0.3);
}

.loading-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

    .loading-dots span {
        width: 12px;
        height: 12px;
        background: linear-gradient(45deg, #df691a, #ff8c42);
        border-radius: 50%;
        animation: dotPulse 1.5s ease-in-out infinite;
        box-shadow: 0 3px 6px rgba(223, 105, 26, 0.3);
    }

        .loading-dots span:nth-child(2) {
            animation-delay: 0.2s;
            background: linear-gradient(45deg, #ffc107, #ffdd57);
        }

        .loading-dots span:nth-child(3) {
            animation-delay: 0.4s;
            background: linear-gradient(45deg, #df691a, #ff8c42);
        }

@keyframes ticketBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
    }
}

/* Error Icon Animation */
.error-icon {
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Mobile Optimizations */
@media (max-width: 991.98px) {
    .loading-container {
        padding: 2.5rem 2rem;
        margin: 1rem;
    }

    .loading-content {
        max-width: 500px;
    }

    .loading-text-section {
        padding: 1.75rem 2rem;
    }

    .loading-message {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .loading-container {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }

    .loading-content {
        max-width: 100%;
    }

    .loading-text-section {
        padding: 1.5rem;
    }

    .ticket-icon {
        font-size: 3rem;
    }

    .loading-message {
        font-size: 1.1rem;
    }

    .progress-status {
        font-size: 1rem;
    }

    .ticket-loader {
        height: 100px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .loading-container {
        padding: 1.75rem 1.25rem;
    }

    .loading-text-section {
        padding: 1.25rem;
    }

        .loading-text-section .alert-heading {
            font-size: 1.25rem;
        }

    .loading-message {
        font-size: 1rem;
    }

    .progress-status {
        font-size: 0.95rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .ticket-icon,
    .loading-dots span {
        animation: none;
    }

    /* Provide alternative indication for reduced motion users */
    .loading-dots span {
        opacity: 0.8;
        transform: scale(1.2);
    }

    .ticket-icon {
        transform: scale(1.05);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .loading-text-section {
        background: rgba(255, 255, 255, 0.98);
        border: 3px solid #6c5d03;
    }

    .loading-container {
        border: 3px solid #ffc107;
    }

    .alert-heading,
    .loading-message,
    .progress-status {
        color: #000;
        text-shadow: none;
        font-weight: 700;
    }
}

/* Wizard Step Token Page Styles - Full Page Experience */
.token-page-fullscreen {
    min-height: 100vh;
    background: #ffffff;
    padding: 0;
}

.loading-container-fullscreen {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 50%, #ffffff 100%);
    border: 2px solid rgba(223, 105, 26, 0.1);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    margin: 2rem 1rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Subtle background pattern */
    .loading-container-fullscreen::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(223, 105, 26, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(223, 105, 26, 0.05) 0%, transparent 50%);
        pointer-events: none;
        z-index: 1;
    }

.error-container-fullscreen {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #fef7f7 50%, #ffffff 100%);
    border: 2px solid rgba(220, 53, 69, 0.1);
    padding: 3rem 2.5rem;
    margin: 2rem 1rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content-fullscreen,
.error-content-fullscreen {
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Cleaner Ticket Loading Animation */
.ticket-loader-large {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 160px;
    margin-bottom: 2.5rem;
}

.ticket-icon-large {
    font-size: 5rem;
    color: #df691a;
    animation: ticketBounceLight 2.5s ease-in-out infinite;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.loading-dots-large {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

    .loading-dots-large span {
        width: 14px;
        height: 14px;
        background: linear-gradient(45deg, #df691a, #ff8c42);
        border-radius: 50%;
        animation: dotPulseLight 2s ease-in-out infinite;
        box-shadow: 0 2px 6px rgba(223, 105, 26, 0.2);
    }

        .loading-dots-large span:nth-child(2) {
            animation-delay: 0.3s;
            background: linear-gradient(45deg, #ffc107, #ffdd57);
        }

        .loading-dots-large span:nth-child(3) {
            animation-delay: 0.6s;
            background: linear-gradient(45deg, #df691a, #ff8c42);
        }

/* Cleaner Text Section */
.loading-text-section-fullscreen {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(223, 105, 26, 0.1);
    text-align: center;
}

.alert-heading {
    color: #2b3e50;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.loading-message {
    color: #495057;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.progress-text {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(223, 105, 26, 0.15);
}

.progress-status {
    color: #6c757d;
    font-style: italic;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Cleaner Error Styling */
.error-icon-large {
    font-size: 4rem;
    color: #dc3545;
    animation: errorShakeLight 0.6s ease-in-out;
    filter: drop-shadow(0 2px 8px rgba(220, 53, 69, 0.15));
}

.error-text-section {
    text-align: center;
}

    .error-text-section .alert-heading {
        color: #721c24;
        font-weight: 700;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

.error-message {
    color: #6c757d;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Lighter Animations */
@keyframes ticketBounceLight {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.03);
    }
}

@keyframes dotPulseLight {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes errorShakeLight {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* Responsive Design - Lighter */
@media (max-width: 1199.98px) {
    .loading-container-fullscreen,
    .error-container-fullscreen {
        padding: 2.5rem 2rem;
        margin: 1.5rem 0.5rem;
    }

    .loading-text-section-fullscreen {
        padding: 2rem 2.5rem;
    }

    .ticket-icon-large {
        font-size: 4.5rem;
    }

    .alert-heading-large {
        font-size: 2rem;
    }

    .loading-message-large {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .loading-container-fullscreen,
    .error-container-fullscreen {
        padding: 2.5rem 1.5rem;
        margin: 1rem 0.5rem;
    }

    .loading-text-section-fullscreen {
        padding: 2rem;
    }

    .ticket-icon-large {
        font-size: 4rem;
    }

    .alert-heading-large {
        font-size: 1.8rem;
    }

    .loading-message-large {
        font-size: 1.2rem;
    }

    .progress-status-large {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .loading-container-fullscreen,
    .error-container-fullscreen {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
        min-height: 70vh;
    }

    .loading-text-section-fullscreen {
        padding: 1.5rem;
    }

    .ticket-icon-large {
        font-size: 3.5rem;
    }

    .alert-heading-large {
        font-size: 1.6rem;
    }

    .loading-message-large {
        font-size: 1.1rem;
    }

    .progress-status-large {
        font-size: 0.95rem;
    }

    .ticket-loader-large {
        height: 140px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .loading-container-fullscreen,
    .error-container-fullscreen {
        padding: 1.5rem 1rem;
        margin: 0.25rem;
        border-radius: 12px;
        max-height: 90vh;
    }

    .loading-text-section-fullscreen {
        padding: 1.25rem;
        border-radius: 8px;
    }

    .ticket-icon-large {
        font-size: 3rem;
    }

    .alert-heading-large {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .loading-message-large {
        font-size: 1rem;
    }

    .progress-status-large {
        font-size: 0.9rem;
    }

    .error-icon-large {
        font-size: 3.5rem;
    }

    .error-text-section .alert-heading {
        font-size: 1.6rem;
    }

    .error-message-large {
        font-size: 1.1rem;
    }
}

/* Ensure content fits in viewport */
@media (max-height: 600px) {
    .token-page-fullscreen .row {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .loading-container-fullscreen {
        margin-top: 0.5rem;
        padding: 1rem;
    }

    .ticket-loader-large {
        height: 60px;
        margin-bottom: 0.5rem;
    }

    .ticket-icon-large {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .loading-text-section-fullscreen {
        padding: 0.75rem;
    }

    .alert-heading-large {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-height: 500px) {
    .loading-container-fullscreen {
        padding: 0.5rem;
        max-height: 85vh;
        display: flex;
        align-items: center;
    }

    .loading-content-fullscreen {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .ticket-loader-large {
        height: 40px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .loading-text-section-fullscreen {
        padding: 0.5rem;
        flex: 1;
    }

    .alert-heading-large {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .loading-message-large {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    .ticket-icon-large,
    .loading-dots-large span,
    .error-icon-large {
        animation: none;
    }

    .loading-dots-large span {
        opacity: 0.8;
        transform: scale(1);
    }
}

@media (prefers-contrast: high) {
    .loading-text-section-fullscreen {
        background: rgba(255, 255, 255, 0.98);
        border: 2px solid #2b3e50;
    }

    .loading-container-fullscreen {
        border: 2px solid #df691a;
    }

    .alert-heading-large,
    .loading-message-large,
    .progress-status-large {
        color: #000;
        font-weight: 700;
    }
}

/* Wizard Step Token Page Styles - Minimal Page Height with Normal Content */
.token-page-minimal {
    min-height: 60vh; /* Smaller page background */
    background: #ffffff;
    padding: 1rem 0;
    overflow: visible;
}

.loading-container-normal {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 50%, #ffffff 100%);
    border: 2px solid rgba(223, 105, 26, 0.1);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

    /* Subtle background pattern */
    .loading-container-normal::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(223, 105, 26, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(223, 105, 26, 0.05) 0%, transparent 50%);
        pointer-events: none;
        z-index: 1;
    }

.error-container-normal {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #fef7f7 50%, #ffffff 100%);
    border: 2px solid rgba(220, 53, 69, 0.1);
    padding: 2.5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.loading-content-normal,
.error-content-normal {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Normal Ticket Loading Animation */
.ticket-loader-normal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 120px;
    margin-bottom: 2rem;
}

.ticket-icon-normal {
    font-size: 3.5rem;
    color: #df691a;
    animation: ticketBounceNormal 2.5s ease-in-out infinite;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.loading-dots-normal {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

    .loading-dots-normal span {
        width: 12px;
        height: 12px;
        background: linear-gradient(45deg, #df691a, #ff8c42);
        border-radius: 50%;
        animation: dotPulseNormal 2s ease-in-out infinite;
        box-shadow: 0 2px 6px rgba(223, 105, 26, 0.2);
    }

        .loading-dots-normal span:nth-child(2) {
            animation-delay: 0.3s;
            background: linear-gradient(45deg, #ffc107, #ffdd57);
        }

        .loading-dots-normal span:nth-child(3) {
            animation-delay: 0.6s;
            background: linear-gradient(45deg, #df691a, #ff8c42);
        }

/* Normal Text Section */
.loading-text-section-normal {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(223, 105, 26, 0.1);
    text-align: center;
}

.alert-heading-normal {
    color: #2b3e50;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.loading-message-normal {
    color: #495057;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.progress-text-normal {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(223, 105, 26, 0.15);
}

.progress-status-normal {
    color: #6c757d;
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
}

/* Normal Error Styling */
.error-icon-normal {
    font-size: 3.5rem;
    color: #dc3545;
    animation: errorShakeNormal 0.6s ease-in-out;
    filter: drop-shadow(0 2px 8px rgba(220, 53, 69, 0.15));
}

.error-text-section .alert-heading {
    color: #721c24;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.error-message-normal {
    color: #6c757d;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Normal Animations */
@keyframes ticketBounceNormal {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.03);
    }
}

@keyframes dotPulseNormal {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes errorShakeNormal {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

/* Responsive Design - Keep content normal size */
@media (max-width: 991.98px) {
    .token-page-minimal {
        min-height: 70vh; /* Slightly taller on tablets */
        padding: 0.5rem 0;
    }

    .loading-container-normal,
    .error-container-normal {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .loading-text-section-normal {
        padding: 1.5rem 2rem;
    }

    .ticket-icon-normal {
        font-size: 3rem;
    }

    .alert-heading-normal {
        font-size: 1.6rem;
    }

    .loading-message-normal {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .token-page-minimal {
        min-height: 80vh; /* Taller on mobile for better proportion */
        padding: 0.25rem 0;
    }

    .loading-container-normal,
    .error-container-normal {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .loading-text-section-normal {
        padding: 1.25rem 1.5rem;
    }

    .ticket-icon-normal {
        font-size: 2.5rem;
    }

    .alert-heading-normal {
        font-size: 1.4rem;
    }

    .loading-message-normal {
        font-size: 1rem;
    }

    .progress-status-normal {
        font-size: 0.9rem;
    }

    .ticket-loader-normal {
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .loading-dots-normal {
        gap: 0.5rem;
    }

        .loading-dots-normal span {
            width: 10px;
            height: 10px;
        }
}

@media (max-width: 575.98px) {
    .loading-container-normal,
    .error-container-normal {
        padding: 1.25rem 0.75rem;
        margin: 0 0.25rem;
        border-radius: 12px;
    }

    .loading-text-section-normal {
        padding: 1rem 1.25rem;
        border-radius: 8px;
    }

    .ticket-icon-normal {
        font-size: 2.25rem;
    }

    .alert-heading-normal {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .loading-message-normal {
        font-size: 0.95rem;
    }

    .progress-status-normal {
        font-size: 0.85rem;
    }

    .error-icon-normal {
        font-size: 3rem;
    }

    .error-text-section .alert-heading {
        font-size: 1.4rem;
    }

    .error-message-normal {
        font-size: 1rem;
    }
}

/* Ensure page doesn't get too tall even on large screens */
@media (min-height: 900px) {
    .token-page-minimal {
        min-height: 50vh; /* Even smaller background on large screens */
    }
}

/* Landscape optimization for smaller background */
@media (max-height: 600px) and (orientation: landscape) {
    .token-page-minimal {
        min-height: 90vh; /* Use most of available height on landscape */
    }

    .loading-container-normal {
        padding: 1.5rem;
    }

    .ticket-loader-normal {
        height: 80px;
        margin-bottom: 1rem;
    }

    .loading-text-section-normal {
        padding: 1rem 1.5rem;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    .ticket-icon-normal,
    .loading-dots-normal span,
    .error-icon-normal {
        animation: none;
    }

    .loading-dots-normal span {
        opacity: 0.8;
        transform: scale(1.1);
    }

    .ticket-icon-normal {
        transform: scale(1.02);
    }
}

@media (prefers-contrast: high) {
    .loading-text-section-normal {
        background: rgba(255, 255, 255, 0.98);
        border: 2px solid #2b3e50;
    }

    .loading-container-normal {
        border: 2px solid #df691a;
    }

    .alert-heading-normal,
    .loading-message-normal,
    .progress-status-normal {
        color: #000;
        font-weight: 700;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}