[v-cloak] {
    display: none;
}

body, #app {
    background-color: #d1cbcb !important;
    font-family: 'Segoe UI', Arial, sans-serif;
}

#app {
    max-width: 100% !important;
    padding: 0 !important;
}

#login-flash {
    margin: 0 !important;
}

#login-toast {
    right: 0;
    z-index: 10;
    margin-top: 5px;
    position: absolute;
    border-radius: 10px;
}

#login-toast .toast-header {
    float: right;
    background: #C6EAE5;
    border: none;
}

#login-toast .toast-body {
    color: #835894;
    background: #C6EAE5;
    border-radius: 10px;
}

#login-toast .toast-body p {
    margin-bottom: 0;
}

#login-section {
    height: 100vh !important;
    background: url('/static/img/login.png') no-repeat center center fixed;
    background-size: cover;
}

#login-section #login-panel-card {
    background-color: rgb(195 187 187 / 50%);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#login-section .card-body, #login-section .img-fluid {
    height: 100% !important;
}

#login-section button {
    width: 100% !important;
}

#login-section .alert-warning {
    margin: 0 !important;
    padding: 5px !important;
    text-align: center !important;
}

#login-section .register-lbl {
    color: #393f81;
    text-align: center;
}

#login-section label {
    width: 100%;
    margin-bottom: 5px !important;
}

#not-found-icon {
    font-size: 60px;
    margin-top: 7px;
    color: red;
}

#toggle-pwd, #toggle-confirm-pwd {
    cursor: pointer;
    margin-top: -27px;
    margin-right: 10px;
    float: right;
    z-index: 10;
}

.container {
    width: 100% !important;
}

.sticky-action-header {
    position: sticky;
    top: 55px;
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}

#pwd-strength {
    font-size: 10px;
    font-weight: bold;
    line-height: 23px;
    float: right;
}

#login-section input::-webkit-outer-spin-button,
#login-section input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#login-section, input[type=number] {
    -moz-appearance: textfield;
}


input[type=number] {
    text-align: right !important;
}

.file-uploader .file-uploader {
    position: relative;
}

.file-uploader .delete-btn {
    position: absolute;
    z-index: 10;
    right: 80px;
    top: 35px;
    border: none;
    width: 15px;
    height: 30px;
    font-size: 14px;
    justify-content: center;
    display: flex;
    background: white;
}

.file-uploader:hover .delete-btn {
    background: white !important;
    color: red !important;
}

.file-uploader .pr-4 {
    padding-right: 30px !important;
}

.file-uploader .upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(255, 255, 255, 0.7);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 999;
    border-radius: 6px;
}

.pagination-nav {
    position: sticky;
    bottom: 0;
    background: white;
}

.pagination-nav .pagination {
    margin-right: 5px;
}

.pagination-nav .page-link {
    cursor: pointer;
}

.pagination-nav .pagination-label-count {
    position: absolute;
    margin: 10px;
}

.bootstrap-select {
    width: 100% !important;
}

.bootstrap-select button {
    background: transparent;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.bootstrap-select .btn-group {
    width: 100% !important;
}

.rating-card {
    width: max-content;
    border: none;
    box-shadow: 5px 6px 6px 2px #e9ecef;
    border-radius: 12px;
    background: lightblue;
}

.rating-card .circle-image img {
    border: 6px solid #fff;
    border-radius: 100%;
    padding: 0px;
    top: -28px;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    z-index: 1;
    background: #e7d184;
    cursor: pointer;
}

.rating-card .name {
    margin-top: -21px;
    font-size: 18px;
}

.rating-card .rating-submit {
    color: white;
}

.rating-card .fw-500 {
    font-weight: 500 !important;
}


.rating-card .start {
    color: green;
}

.rating-card .stop {
    color: red;
}

.rating-card .rate {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center
}

.rating > input {
    display: none
}

.rating > label {
    position: relative;
    width: 1em;
    font-size: 30px;
    font-weight: 300;
    color: #FFD600;
    cursor: pointer
}

.rating > label::before {
    content: "\2605";
    position: absolute;
    opacity: 0
}

.rating > label:hover:before,
.rating > label:hover ~ label:before {
    opacity: 1 !important
}

.rating > input:checked ~ label:before {
    opacity: 1
}

.rating:hover > input:checked ~ label:before {
    opacity: 0.4
}

.custom-grid {
    margin-left: 1rem;
    margin-right: 0;
}

.custom-grid.table-responsive {
    margin-right: 1rem !important;
}

.custom-grid th, .custom-grid td {
    vertical-align: middle !important;
}

.custom-grid .input-group-append {
    position: absolute;
    z-index: 5;
    right: 0;
}

.custom-grid .input-group-append .input-group-text {
    height: 38px;
    border-radius: 0;
}

.custom-grid .col-border-left::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px; /* Outline thickness */
    background-color: lightgrey; /* Outline color */
}

.custom-grid .col-border-right::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px; /* Outline thickness */
    background-color: lightgrey; /* Outline color */
}

.terms-conditions ol {
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}

.terms-conditions ol > li {
    display: table;
    counter-increment: item;
    margin-bottom: 0.6em;
}

.terms-conditions ol > li:before {
    content: counters(item, ".") ". ";
    display: table-cell;
    padding-right: 0.6em;
}

.terms-conditions li ol > li {
    margin: 0;
}

.terms-conditions li ol > li:before {
    content: counters(item, ".") " ";
}

.rounded-circle {
    object-fit: cover !important;
}

.notification-group #notification-dropdown .fa-bell {
    font-size: 25px;
}

.notification-group #view-all {
    font-size: 14px !important;
    text-decoration: auto !important;
}

.notification-group .unread {
    background: lightgrey !important;
}

.notification-group .unread:hover {
    background: lightgrey !important;
}

.notification-group .badge {
    border-radius: 80%;
    position: absolute;
    right: -5px;
    background: green;
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    padding: 4px;
    line-height: 13px;
}

.notification-group .dropdown-item {
    cursor: pointer !important;
}

.dashboard .card {
    transition: all 0.3s ease;
}

.dashboard .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

.dashboard .card-body .display-4 {
    transition: all 0.3s ease;
}

.dashboard .card:hover .card-body .display-4 {
    transform: scale(1.1);
}

/*admin navbar*/
.admin-navbar {
    top: 0;
    z-index: 20;
    position: sticky;
}

.admin-navbar .navbar-toggler {
    border: none;
    outline: none;
    padding: 0;
    width: 40px;
    height: 40px;
}

.admin-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.admin-navbar .dropdown-menu {
    min-width: max-content !important;
}

.admin-navbar .dropdown-menu.dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
}

.admin-navbar .dropdown-menu .show {
    margin-left: 1rem;
}

@media (max-width: 575px) {
    .admin-navbar .navbar-collapse {
        position: absolute;
        z-index: 1050;
        top: 46px;
        left: 0;
        width: 100%;
        background: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
        padding: 0 12px;
    }
}

.label-invalid {
    color: red;
}

.is-invalid {
    border-color: red !important;
}

.invalid-feedback {
    color: red;
}

.form-check-input {
    width: 1.4em;
    height: 1.4em;
    cursor: pointer;
    border: 1px solid grey !important;
}

.form-check-input:checked {
    background-color: #4f46e5; /* nice indigo */
    border-color: #4f46e5;
}

.form-check-label {
    margin-left: 8px;
    font-weight: 500;
    cursor: pointer;
}

#add-sub-acc-btn {
    float: right;
    padding: 2px 7px 2px 7px;
}

.popover {
    max-width: max-content !important;
}

.bootstrap-select {
    background: white;
}

.form-control:disabled, .bootstrap-select.disabled, .bootstrap-select.disabled .dropdown-toggle.disabled {
    opacity: 1 !important;
    border-radius: 6px !important;
    background: #e8eaec !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

.table-fixed-layout {
    table-layout: fixed;
}

#customFilterModal .modal-header .close {
    background: transparent;
    border: none;
    font-size: 30px;
}

.input-prefix .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -3px;
}

.grid-sort-icon {
    top: 7px;
    cursor: pointer;
    position: absolute;
    color: lightslategrey;
}

.cursor-pointer {
    cursor: pointer;
}

.report-export-icon-option {
    height: 0;
    float: right;
    width: min-content;
}

.report-export-icon-option .fa-file-export {
    color: grey;
    font-size: 20px;
}

.report-export-icon-option button {
    border: none;
    background: transparent;
}

.report-export-icon-option button::after {
    color: grey;
}

.report-export-icon-option button:hover, .report-export-icon-option :disabled {
    background: transparent !important;
}

.hyper-link-btn {
    position: absolute;
    background: transparent;
    border: none;
    display: inline;
    margin-left: -60px;
    margin-top: 1px;
}

.hyper-link-btn svg {
    color: green;
}

#loader .loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;

    display: flex;
    align-items: center;
    justify-content: center;

    /* THIS BLOCKS ALL INTERACTION */
    pointer-events: all;

    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(6px);
}

#loader .secure-loader {
    position: relative;
    width: 160px;
    height: 160px;
}

/* Rotating ring */
#loader .loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(0, 200, 255, 0.15);
    border-top: 3px solid #00c8ff;
    border-right: 3px solid rgba(0, 200, 255, 0.6);
    animation: spin 1.2s linear infinite;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.15);
}

/* Center content */
#loader .loader-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #e6f7ff;
    text-align: center;
}

/* Lock icon */
#loader .lock {
    font-size: 28px;
    animation: pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.4));
}

/* Text */
#loader .text {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.6px;
    color: rgba(230, 247, 255, 0.8);
}

/* Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
}

.text-ellipsis {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
