.offcanvas-header{
    background: #001232c7;
    color: white;
}
.seat {
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 50px;
    height: 30px;
    margin: 2px;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}
.seat:hover{
    background-color: #007bff; /* Change the background color */
    color: #fff; /* Change the text color to white */
    transform: scale(1.1); /* Slightly increase the size of the seat */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}
.section-title{
    font-size: 17px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    margin-bottom: -20px;
}
.title-vip{
    color: red;
}
.available {
    background-color: #4CAF50;
    color: white;
}
.reserved {
    background-color: #FF9800;
    color: white;
}
.selected {
    background-color: #2196F3;
    color: white;
}
.sold {
    background-color: #f44336;
    color: white;
    cursor: not-allowed;
}
.cart-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}
.loading {
    opacity: 0.6;
    pointer-events: none;
}
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.loading-text {
    text-align: center;
    padding: 20px;
    color: #666;
}
.error {
    color: #d9534f;
    padding: 10px;
    text-align: center;
}
.empty-cart, .no-seats {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}
/* Steps progress */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    margin: 0 auto 10px;
    font-weight: bold;
    position: relative;
}

.step.completed .step-number {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.step.active .step-number {
    background: #007bff;
    border-color: #007bff;
    color: white;
}

.step-text {
    font-size: 14px;
    font-weight: 500;
}

/* Payment methods */
.payment-methods {
    margin: 20px 0;
}

.payment-method {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.payment-method.selected {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.payment-method label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.payment-method input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
}

.payment-method img {
    height: 24px;
    margin-right: 10px;
}

.payment-method i {
    font-size: 24px;
    margin-right: 10px;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .steps {
        align-items: flex-start;
    }

    .steps::before {
        display: none;
    }

    .step {
        align-items: center;
        margin-bottom: 15px;
        width: 100%;
    }

    .step-number {
        margin: 0 15px 0 0;
        flex-shrink: 0;
    }

    .payment-method label {
        font-size: 14px;
    }
}
.payment-btn {
    /* Basic Button Styling */
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 8px;

    /* Color Scheme (Green for "Go") */
    background-color: #28a745; /* A standard Bootstrap green */
    color: #fff;

    /* Hover and Focus States */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.payment-btn:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.payment-btn:active {
    background-color: #1e7e34; /* Even darker green on click */
    transform: translateY(0); /* Return to original position */
}
.captcha-field {
    /* Aligns items vertically in the middle */
    display: flex;
    align-items: center;
    gap: 15px; /* Adds space between the image and the input field */
}

/* Specific styling for the Captcha image and container */
.captcha-image-container {
    flex-shrink: 0; /* Prevents the image from shrinking */
}

.captcha-image-container img {
    border: 1px solid #ddd;
    border-radius: 4px;
    vertical-align: middle;
}

/* Specific styling for the input field */
.captcha-input-container {
    flex-grow: 1; /* Allows the input field to take up remaining space */
}

.captcha-input-container input[type="text"] {
    width: 100%;
    /* Ensures the input field is aligned with other form elements */
}
.contact-form .form-group input{
    background: transparent;
}
.section-header-3{
    margin-bottom: 20px;
}
.field-resetpassword-verifycode .invalid-feedback,.field-passwordresetrequest-verifycode .invalid-feedback,.field-contactform-verifycode .invalid-feedback{
    display: block;
}
/*css view ghế*/
.row-group-container{
    margin-bottom: 5px;
}
.concert-seat-map {
    /*padding: 20px;*/
    max-width: 100%;
    overflow: hidden;
    max-height: 756px;
}

.concert-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #ddd;
}

.legend-color.available {
    background: #d4edda;
    border-color: #28a745;
}
.legend-color.reserved {
    background: #fff3cd;
    border-color: #ffc107;
}
.legend-color.sold {
    background: #f8d7da;
    border-color: #dc3545;
}
.legend-color.selected {
    background: #007bff;
    border-color: #0056b3;
}

.seat-map-container {
    position: relative;
    width: 100%;
    /*    margin-bottom: 20px;*/
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.stage-area {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.3em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.seats-scroll-container {
        width: 100%;
        height: 600px;          /* 👈 cố định chiều cao */
        overflow: auto;
        padding: 15px 0;
        cursor: grab;
        user-select: none;
        touch-action: auto;
        scrollbar-width: none; /* Firefox */
    }

.seats-scroll-container.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.seats-grid {
    min-width: max-content;
    transform-origin: 0 0; /* zoom từ góc trái trên */
    transition: transform 0.1s linear;
}

.floor-container {
    margin-bottom: 10px;
}

.floor-title {
    color: #2c3e50;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 3px solid #3498db;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 20px;
}

.floor-stats {
    font-size: 0.9em;
    color: #6c757d;
    font-weight: normal;
}

.sections-container {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
    /*padding: 15px;*/
    background: white;
    /*    border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        margin-bottom: 20px;*/
    overflow-x: auto;
}

.section-card {
    min-width: 380px;
    background: #fafafa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    /*padding: 20px;*/
    flex-shrink: 0;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
}

.section-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.section-type {
    font-size: 0.8em;
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
}

.section-stats {
    display: flex;
    gap: 15px;
}

.section-stats span {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

.total-seats {
    background: #e9ecef;
    color: #495057;
}

.available-seats {
    background: #d4edda;
    color: #155724;
}

.section-content {
    /*    max-height: 400px;
        overflow-y: auto;*/
    padding-right: 5px;
}

.row-container {
    /*    margin-bottom: 15px;
        padding: 12px;*/
    background: white;
    /*    border-radius: 8px;
        border: 1px solid #dee2e6;*/
}

.row-label {
    font-weight: bold;
    color: #495057;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1f1f1;
}

.seats-row {
    display: flex;
    gap: 1px;
    flex-wrap: nowrap;
    padding: 2px;
    background: #f8f9fa;
    border-radius: 6px;
    overflow-x: auto;
}

.seat {
    width: 35px;
    height: 35px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    font-size: 11px;
    flex-shrink: 0;
    position: relative;
}

.seat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background: #95A5A6 !important;
}

/*.seat.available {
    border-color: #28a745;
    background: #d4edda;
}*/

.seat.reserved {
    border-color: #95A5A6;
    background: #95A5A6 !important;
    cursor: not-allowed;
}

.seat.sold{
    border-color: #95A5A6;
    background: #95A5A6 !important;
    cursor: not-allowed;
    opacity: 0.7;
}
.seat.cancelled {
    border-color: #ddd;
    background: #ddd !important;
    cursor: not-allowed;
    opacity: 0.01;
}

.seat.selected {
    border-color: #95A5A6;
    background: #95A5A6 !important;
    color: white;
}

.seat.selected .seat-price {
    color: white;
}

.seat-number {
    font-weight: bold;
    font-size: 12px;
}

.seat-price {
    font-size: 9px;
    color: #666;
    margin-top: 1px;
}

.selected-seats-panel {
    position: fixed;
    right: 20px;
    top: 120px;
    width: 320px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.selected-seats-panel h4 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selected-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.selected-seat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.seat-label {
    font-weight: 500;
}

.seat-price {
    font-weight: bold;
    color: #28a745;
}

.btn-remove-seat {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-remove-seat:hover {
    background: #f8d7da;
}

.total-section {
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    margin-bottom: 15px;
}

.total-price, .total-seats-count {
    margin: 5px 0;
    font-size: 1.1em;
}

.btn-book {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
}
.seats-scroll-container, .sections-container {
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}
/* Scrollbar styling */
.seats-scroll-container::-webkit-scrollbar {
    /*height: 12px;*/
    display: none;
}

.seats-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.seats-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
}

.seats-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.sections-container::-webkit-scrollbar {
    height: 8px;
}

.sections-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sections-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.sections-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive design */
@media (max-width: 1200px) {
    .selected-seats-panel {
        position: static;
        width: 100%;
        margin-top: 20px;
        max-height: none;
    }

    .sections-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        /*flex-direction: column;*/
    }

    .section-card {
        min-width: auto;
        width: auto;
    }
}

@media (max-width: 768px) {
    .seats-scroll-container{
        height: 300px
    }
    .concert-seat-map {
        padding: 10px;
    }

    .concert-info {
        flex-direction: column;
        gap: 10px;
    }

    .legend {
        gap: 15px;
    }

    .seat-map-container {
        padding: 15px;
    }

    .section-card {
        padding: 15px;
    }

    .seat {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 576px) {
    .floor-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .section-stats {
        flex-direction: column;
        gap: 8px;
    }

    .seat {
        width: 30px;
        height: 30px;
    }

    .seat-number {
        font-size: 11px;
    }

    .seat-price {
        font-size: 8px;
    }
}
.button-link a.off{
    background: #a8a8a8;
    opacity: 0.7;
}