@import url('https://fonts.googleapis.com/css2?family=Momo+Trust+Sans:wght@200..800&display=swap');

/* #E0243A #1F3B79 */

/* DeepNavyblue: #073763
 MagentaRed: #b61547 */
:root {
    --primary: #073763;
    --tred: #B61547;
    --gradient-primary: linear-gradient(90deg, #073763 0%, #B61547 100%);
}


* {
    font-family: "Momo Trust Sans", Century, sans-serif;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.refresh-btn {
    cursor: pointer;
    position: absolute;
    right: -4rem;
    text-align: center;
    top: 50.8%;
    transform: translateY(-50%);
    z-index: 9999;
    font-size: 1.4rem;
    border-radius: 0.375rem;
    background-color: #fff;
    height: 30px;
    width: 30px;
    color: var(--primary) !important;
}

.refresh-btn .spinner {
    display: inline-block;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    z-index: 999;
    scale: 0.8;
}


.refresh-btn.spin i {
    animation: spin 0.5s linear;
}

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

.header .header-content {
    padding-left: 5rem !important;
}

.footer .copyright a {
    color: var(--primary) !important;
}


.hide-pass.eye {
    position: absolute;
    right: 25px;
    bottom: 3px;
    font-size: 18px;
}


.elevation-0 {
    box-shadow: none !important;
}

.elevation-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;
}

.elevation-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
}

.elevation-3 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23) !important;
}

.elevation-4 {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) !important;
}

.elevation-5 {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22) !important;
}

.card {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23) !important;
}

.card-body:not(.no-cbs) {
    border-radius: 0.5rem !important;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    --bs-border-opacity: 1;
    border-color: var(--primary) !important;
    margin: 1rem !important;
    padding: 1rem !important;
}

hr {
    margin: 0.5rem 0 !important;
}

.formerror {
    border: 1px ridge red !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23FF5E5E'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23FF5E5E' stroke='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    border-radius: 0.25rem !important;
    background-color: white;
}

.formvalid:not(.select2-search__field) {
    border: 1px ridge green !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%233A9B94' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    border-radius: 0.25rem !important;
    background-color: white;
}

.form-label.formerror {
    border: none !important;
    color: red !important;
}

.form-label.formvalid {
    border: none !important;
    color: rgb(35, 150, 96) !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 0.25rem;
}

.form-check-inline .form-check-input {
    margin-right: 0 !important;
}



select[readonly],
input[readonly],
textarea[readonly] {
    cursor: no-drop !important;
}

.readonly {
    background-color: #f5f5f5 !important;
}

/* ------------------------------------------------------------------------ */
/*------------------ FOR THIS THEME ONLY----------------- */
/* ------------------------------------------------------------------------ */
.header,
.deznav {
    /* background-color: #073763; */

    background: hsla(221, 60%, 30%, 1);
    background: linear-gradient(315deg, #073763 40%, #B61547 100%);
    background: -moz-linear-gradient(315deg, #073763 40%, #B61547 100%);
    background: -webkit-linear-gradient(315deg, #073763 40%, #B61547 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#073763", endColorstr="#B61547", GradientType=1);
}

.nav-header {
    background-color: #073763;
}

.btn-secondary,
.btn-warning {
    color: #000000 !important;
}





.metismenu li>ul>li>a {
    color: #5efefe !important;
}

.metismenu li>ul>li>ul>li>a {
    color: #98FF98 !important;
    /* padding-left: .5rem !important; */
}

.metismenu li>ul>li>a:hover,
.metismenu li>ul>li.mm-active>a,
.metismenu li>ul>li>ul>li>a:hover,
.metismenu li>ul>li>ul>li>a.mm-active {
    color: #F8B940 !important;
}



.content-body .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 1rem !important;
}

.footer {
    margin-top: -8px !important;
}

.preload-image {
    width: 75% !important;
    display: block;
    margin: 0 auto;
}


#profilePreview {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
}


.copyright p {
    line-height: 35px !important;
}

.copyright {
    padding: 0px !important;
}

.user-img {
    border-radius: 50% !important;
    background-color: white;
    height: 55px !important;
    width: 55px !important;
    border: 1px ridge black;
    margin-right: 5px !important;
    object-fit: cover !important;
}

.username {
    color: yellow !important;
    font-size: 18px;
    margin-bottom: 0 !important;
    text-align: center;
}

.designation {
    color: cyan !important;
    font-size: 14px;
    margin-bottom: 0 !important;
    text-align: center;
}



.brand-img {
    width: 85%;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-logo {
    margin-top: 3px;
}

.brand-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    margin-left: 0.5rem !important;
}

.form-control[type="file"] {
    line-height: 175% !important;
    padding-left: 10px !important;
}



.name-div {
    display: none;
}

.header-profile2 .dropdown-menu {
    width: fit-content !important;
}

.menu-icon i {
    font-size: 18px !important;
    margin-right: 8px !important;
    padding-bottom: 2px !important;
}

.deznav .metismenu>li.mm-active>a i {
    background: none !important;
    color: #F8B940 !important;
}


.tab-content {
    padding: 10px !important;
    border-radius: 0 0 0.25rem 0.25rem !important;
}


.btn:hover {
    transform: scale(1.05);
}


td,
th,
.table thead tr th:last-child {
    text-align: center !important;
    vertical-align: middle !important;
}



.dataTables_scrollHead {
    border-top: 1px ridge #dad8d4 !important;
}

.display th {
    color: #fff !important;
    background-color: var(--primary) !important;
    border-color: white !important;
}

.display td {
    color: black;
}

table.DTCR_clonedTable.dataTable {
    position: absolute !important;
    max-width: fit-content !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    z-index: 202
}

div.DTCR_pointer {
    width: 3px;
    background-color: #000;
    z-index: 201
}




table.display {
    width: 100% !important;
}

table.dataTable>tfoot>tr>th,
table.dataTable>tfoot>tr>td {
    padding: 8px 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);

}

.dataTables_wrapper .dataTables_paginate {
    margin-bottom: 0px !important;
}

.dataTables_info {
    padding-top: 0.25rem !important;
    color: black !important;
}

.dataTables_filter {
    margin-bottom: 0px !important;
    color: black !important;
}

.dataTables_scroll {
    padding-top: 0px !important;
}

.display tbody tr:nth-child(even) {
    background-color: #F5F5F5 !important;
}

.display tbody tr:hover {
    background-color: #FFF8E3 !important;
    transition: background-color 0.1s ease-in-out;
}

table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    content: "▼" !important;
}

.deznav .metismenu {
    padding-top: 0 !important;
}

tr.filters th {
    background-color: #FFDAB9 !important;
    padding: 2px !important;
    padding-left: 2px !important;
}


td textarea[readonly],
td input[readonly] {
    cursor: pointer !important;
    border: none !important;
    background-color: inherit !important;
    vertical-align: bottom !important;
}

.buttons-columnVisibility {
    background: grey !important;
    color: #fff !important;
}

.buttons-columnVisibility.active {
    background: #fff !important;
    color: var(--primary) !important;
    font-weight: 500 !important;
}

.form-label {
    margin-bottom: 0.05rem !important;
    margin-top: 0.75rem;
    font-size: 14px !important;
    color: black;
    margin-left: 2px !important;
}

.form-control {
    border-radius: 0.25rem !important;
    color: black !important;
    font-size: 14px !important;
    height: 2.5rem !important;

}



.form-check-label {
    font-size: 14px !important;
    margin-top: 4px !important;
    margin-left: 0 !important;
}

.form-check-input {
    top: 0.125rem !important;
    border-width: 2px !important;
    width: 1rem !important;
    height: 1rem !important;
}

.toast-container {
    padding-top: 70px !important;
}

.toast-header {
    border-bottom: 1px solid white !important;
}

.toast .btn-close {
    color: white !important;
}

.login-page {
    background-image: linear-gradient(235deg,
        rgba(7, 55, 99, 0.35), 
        rgba(7, 55, 99, 0.35)),
        url('../../images/loginbg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* .authincation-content {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22) !important;
    
} */

.authincation-content {
    backdrop-filter: blur(0px) saturate(200%);
    -webkit-backdrop-filter: blur(0px) saturate(200%);
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
}

.auth-form input {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px) !important;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.468) !important;
}

.auth-form {
    padding: 1rem;
    margin: 1rem;
    border: 1px solid var(--primary);
    border-radius: 16px;
}

.form-check-label {
    color: black;
    margin-top: 6px;
    font-size: 15px;
}

.mylist {
    list-style: decimal;
    text-align: left;
    line-height: 25px;
}

.preview-box {
    width: 100%;
    min-height: 100px;
    border: 1px solid #09122C;
    text-align: center;
    margin-top: 2px;
    padding: 2px;
    display: none;
    /* Hide preview box by default */
}

.preview-img {
    width: 100%;
}

.modal #body {
    text-align: justify;
}

.filters input {
    background: #fff !important;
}


.logintext {
    font-size: 75px;
    color: var(--primary);
    display: inline-block;
    font-weight: 1000;
    vertical-align: middle;
    margin-left: 2.5%;
}

.login-logo {
    width: 100% !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.menu-toggle .brand-img {
    width: 40% !important;
}

.select2-selection--multiple {
    max-height: 20vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.select2-search--dropdown {
    padding: 0 0.25rem;
    margin: 0;
}

.select2-container--open .select2-dropdown {
    padding: 0.25rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary);
}

.select2-selection__rendered {
    color: #7e7e7e !important;
}

.formvalid .select2-selection__rendered {
    color: black !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #dad8d4 !important;
}

.formvalid .select2-selection--single,
.formerror .select2-selection--single,
.formvalid .select2-selection--multiple,
.formerror .select2-selection--multiple {
    border-right: none !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 9px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0.36rem 0.75rem !important;
}

.select2-selection__choice__display {
    padding: 5px !important;
}



.select2-selection__choice__remove {
    color: white !important;
    font-size: 25px !important;
}

.select2-selection__choice__remove:hover {
    background-color: #8e5bac !important;
}


.select2-selection__choice,
.select2-selection__choice__display {
    background-color: var(--primary) !important;
    color: white !important;
    font-size: 14px !important;
}

.a-link,
p a {
    color: darkblue !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.modal-title {
    color: var(--primary) !important;
    margin-bottom: 0 !important;
}


td:has(.btn),
td:has(.badge),
td:has(i),
td:has(textarea) {
    padding: 0 5px !important;
}

.modal-header .btn-close {
    color: red !important;
    --bs-btn-close-opacity: 1 !important;
    font-size: 20px !important;
    padding-top: 0 !important;
}



.modal-header {
    padding: 0.5rem 1rem !important;
}

.modal-border {
    border: 1px solid var(--primary) !important;
    border-radius: 0.25rem !important;
    margin: 6px !important;
    padding: 10px !important;
}

.modal-body {
    padding: 1rem;
    color: #000000;
}



.input-group-text {
    font-size: 14px !important;
}

.selectdiv .select2-container {
    width: 1% !important;
    position: relative !important;
    flex: 1 !important;
}


.dashboard .d-cb {
    margin-top: 0 !important;
}

.mob-page-title {
    display: none !important;
}

#MyFilterDataTable2_filter {
    display: none !important;
}

.mobile-view {
    display: none !important;
}



.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: inherit;
}



.file-input-wrapper {
    position: relative;
}

.file-preview-icon {
    font-size: 20px;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #0d6efd;
    /* Bootstrap primary blue */
}

.file-preview-wrapper {
    position: relative;
}

#filePreviewModal .modal-body {
    padding: 0.25rem !important;
}

#previewImage,
#previewPdf {
    max-width: 100%;
    border-radius: 0.25rem;
    border: 1px solid var(--primary);
}


#filePreviewModal .modal-content {
    max-height: 90vh;
    overflow: auto;
    width: fit-content;
    margin: auto;
}


#filePreviewModal img {
    max-height: 80vh;
    max-width: 100%;
}

#filePreviewModal iframe {
    height: 80vh;
    width: 50vw;
    border: 1px solid var(--primary);
}

.eye {
    right: 30px;
    bottom: 8px;
}


.bg-primary-gradient {
    background: var(--gradient-primary);
}

.dashbaord .progress {
    height: 12px !important;
    background-color: #e4e6e8 !important;
}

.btn-gradient-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.btn-gradient-primary:hover {
    box-shadow: 0 4px 12px rgba(31, 59, 121, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.dashboard .event-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    background-color: #f9fafc;
}

.dashboard .event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(31, 59, 121, 0.2) !important;
}

.dashboard .seat-info {
    border-left: 6px solid var(--primary);
}


.dashboard .progress-bar {
    border-radius: 1rem;
}

.dashboard .card-footer {
    padding-top: 0rem !important;
    padding-bottom: 2rem !important;
}

.auditorium .seat-map-container {
    overflow: auto;
    background: #fff;
    margin: 0 auto;
    width: fit-content;
}

.auditorium .seat-map {
    display: inline-block;
    text-align: center;
    position: relative;
}

/* Stage */
.auditorium .stage-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.auditorium .stage {
    background: #0B666A;
    color: #fff;
    padding: 6px;
    border-radius: 6px;
    font-weight: 600;
    margin: auto 55px;
    border: 1px ridge #000;
    width: 250px;
    height: 50px;
    font-size: 16px;
    align-content: center;
}




.auditorium .blank-space {
    width: 30px;
    height: 30px;
    margin: 3px;
    display: inline-block;
}


/* Rows */
.auditorium .row-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pathway */
.auditorium .pathway {
    width: 66px;
    height: 12px;
    background: #ece3e3;
    border-radius: 4px;
    margin: 0 3px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

/* Seats */
.auditorium .seat {
    width: 30px;
    height: 30px;
    margin: 3px;
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
    border: 1px ridge #000;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.auditorium .seat.booked {
    background: var(--tred);
    cursor: not-allowed;
}

.auditorium[data-role="Admin"] .seat.booked {
    cursor: pointer;
}

.auditorium .seat.vip-seat {
    background: #720455;
    cursor: not-allowed;
}

.auditorium .seat.selected {
    background: green;
}


/* Legend */
.auditorium .bottom-labels {
    margin: auto -14px;
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    border-top: #CCCCCC solid 1px;
}

.auditorium .bottom-labels .label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #000;
}

.auditorium .bottom-labels .label .box {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 2px;
    margin-right: 3px;
}

.auditorium .bottom-labels .label.available {
    color: var(--primary);
}

.auditorium .bottom-labels .label.selected {
    color: green;
}

.auditorium .legend {
    font-size: 12px;
    color: #000;
}

.auditorium .legend .box {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 1px;
    margin-right: 2px;
}

.auditorium .box.available {
    background: var(--primary);
}

.auditorium .box.selected {
    background: green;
}

.auditorium .box.booked {
    background: var(--tred);
}

.auditorium .box.vip {
    background: #720455;
}

.auditorium .box.entry {
    background: #F05941;
}

.auditorium .entry-wall.left {
    margin-left: -14px !important
}

.auditorium .entry-wall.right {
    margin-right: -14px !important;
}

.auditorium .entry-wall.last {
    margin-left: -26px !important;
    margin-top: -5px !important;
}

.auditorium .entry-wall {
    width: 25px;
    height: 35px;
    /* taller than normal seat to look like a wall */
    background: #F05941;
    color: #fff;
    border-radius: 4px;
    border: 1px ridge #000;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    /* makes "E/E" read top→bottom */
}

.text-tred {
    color: var(--tred) !important;
}


#detail-view .detail-row {
    display: flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
    font-size: 15px;
}

#detail-view .detail-label {
    width: 120px;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
    margin: auto 0;
}

#detail-view .detail-value {
    flex-grow: 1;
    color: var(--tred);
}

.qr-scanner #qr-reader {
    width: 320px !important;
    height: 320px !important;
    margin: 10px auto;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.qr-scanner #qr-highlight-box {
    position: relative;
    display: inline-block;
    border: 3px solid #72FFFF !important;
    /* Always blue */
    border-radius: 22px;
    background: #000;
    transition: none;
    padding: 6px;
}

.qr-scanner #qr-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 80vh !important;
}

.qr-scanner #paused-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.96);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: white;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: background 0.6s ease;
}

.qr-scanner #paused-overlay .paused-text {
    font-size: 22px;
    /* Reduced from 24px */
    line-height: 1.4;
}

.qr-scanner #paused-overlay small {
    font-size: 15px;
    opacity: 0.9;
    display: block;
    margin-top: 6px;
}

/* Background colors */
.overlay-start {
    background: linear-gradient(60deg, #073763 30%, #B61547 100%) !important;
}

/* Start, Switching, Initial */
.overlay-success {
    background: #1F7D53 !important;
}

/* Success */
.overlay-error {
    background: #DC0E0E !important;
}

/* Error */