
.login-screen-bg-img {
    background-image: url("../img/sample/misc/auth-bg.png");
}

.login-screen-bg-color {
    background: #06425E;
}

/*== To handle dropdown clear button issue ===*/
/*.select2-container--bootstrap5 .select2-selection__clear {*/
/*    -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--kt-gray-700%29'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");*/
/*    mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")*/
/*}*/

.max-h-700px {
    max-height: 700px;
}

.max-h-350px {
    max-height: 350px;
}

@media (min-width: 992px) {
    .app-content {
        padding-top: 18px;
        padding-bottom: 18px;

    }
}

:root, [data-bs-theme=light] {
    --bs-loading-indicator: #F9F9F9;
    --bs-loading-indicator-gradiant : #e5e5e5;
}

[data-bs-theme=dark] {
    --bs-loading-indicator: #15171C;
    --bs-loading-indicator-gradiant : #0F1014;
}

/*p {*/
/*    margin-top: unset;*/
/*    margin-bottom: unset !important;*/
/*}*/

.ml-auto {
    margin-left: auto;
}

/*============= Begin::Required Field ============*/
.validation-message {
    margin-top: 5px;
    color: #f1416c;
}

.invalid {
    border: 1px solid #FFE2E5 !important;
}

.required-filed:after {
    content: " *";
    font-weight: bold;
    color: #f1416c;
}

.validation-errors {
    background-color: #ffe2e5;
    border-color: transparent;
    color: #f1416c;
    padding: .75rem 1.25rem;
    border-radius: 5px;
    /*display: flex;*/
}

.validation-errors > li {
    /*margin-top: 1rem;*/
    margin-left: 1.5rem;
}

/*============= End::Required Field ============*/

.mb--10px {
    margin-bottom: -10px !important;
}

.timeline-label:before {
    left: 2px;
}

/* ============== begin:: page sizes ===============================*/

.a4-page {
    width: 210mm;
    min-height: 297mm;
}

.a4-page-height {
    min-height: 297mm;
}

.a4-page-width {
    width: 210mm;
}

@media (max-width: 768px) {
    .a4-page {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .a4-page-height {
        height: auto;
    }

    .a4-page-width {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .a4-page {
        padding: 5px;
    }
}

.a5-page {
    width: 148mm;
    min-height: 210mm;
}

.a5-page-height {
    min-height: 210mm;
}

.a5-page-width {
    width: 148mm;
}

@media (max-width: 768px) {
    .a5-page {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .a5-page-height {
        height: auto;
    }

    .a5-page-width {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .a5-page {
        padding: 5px;
    }
}

.a5-page-landscape {
    width: 210mm;
    min-height: 148mm;
}

.a5-page-landscape-height {
    min-height: 148mm;
}

.a5-page-landscape-width {
    width: 210mm;
}

@media (max-width: 768px) {
    .a5-page-landscape {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .a5-page-landscape-height {
        height: auto;
    }

    .a5-page-landscape-width {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .a5-page-landscape {
        padding: 5px;
    }
}

/* ============== end:: page sizes ===============================*/

.text-color-veloz {
    color: #054158;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}

.form-control-solid {
    border: 1px solid #ebebeb !important;
}

.form-select-solid {
    border: 1px solid #ebebeb !important;
}

/* =============== start::line with arrow =============================*/
.line-with-arrow {
    position: relative;
    height: 2px; /* Line thickness */
    width: 200px; /* Line length */
    background-color: #E1E3EA;
}

.line-with-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #E1E3EA;
    border-radius: 50%; /* Circle */
}

.line-with-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(45deg); /* Rotating to create an arrow */
    width: 8px;
    height: 8px;
    border-right: 2px solid #E1E3EA;
    border-top: 2px solid #E1E3EA;
}

/* =============== end::line with arrow =============================*/

/* ============ begin::file-upload ===================================*/
/* Container for file upload button */
.file-upload {
    position: relative;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
}

/* Actual hidden file input */
.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* Button styles */
/*.file-upload button {*/
/*    padding: 10px 20px;*/
/*    background-color: #4CAF50; !* green *!*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    font-size: 16px;*/
/*    cursor: pointer;*/
/*    transition: background-color 0.3s ease;*/
/*}*/

/* Button hover effect */
/*.file-upload button:hover {*/
/*    background-color: #45a049;*/
/*}*/
/* ============ end::file-upload ===================================*/

.test-item {
    border: 2px solid red;
    border-radius: 10px;
}

/*================ being::loading ====================================*/

/* HTML: <div class="loader"></div> */
.loader-bar {
    width: 120px;
    height: 20px;
    background:
            linear-gradient(to right, var(--bs-loading-indicator) 8%, var(--bs-loading-indicator-gradiant) 18%, var(--bs-loading-indicator) 33%),
            var(--bs-loading-indicator);
    background-size:300% 100%;
    animation: l1 1s infinite linear;
}
@keyframes l1 {
    0% {background-position: right}
}

.linear-background {
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background:
            linear-gradient(to right, var(--bs-loading-indicator) 8%, var(--bs-loading-indicator-gradiant) 18%, var(--bs-loading-indicator) 33%),
            var(--bs-loading-indicator);
    background-size: 1000px 104px;
    /*height: 338px;*/
    position: relative;
    overflow: hidden;
}

@keyframes placeHolderShimmer{
    0%{
        background-position: -468px 0
    }
    100%{
        background-position: 468px 0
    }
}


/*================ being::loading ====================================*/

.trip-dashboard {
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    height: calc(100vh - 60px);
    overflow-y: auto;
    border-right: 1px solid #dee2e6;
}

/* Content panel */
.content-panel {
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 1rem;
}

/* Boat column */
.boat-column .card-body {
    max-height: 500px;
    overflow-y: auto;
}

/* Drag and drop styles */
.ticket-item {
    cursor: move;
    transition: background-color 0.2s;
}

.ticket-item:hover {
    background-color: #f8f9fa;
}

.ticket-item.dragging {
    opacity: 0.5;
}

.tickets-container {
    max-height: 200px;
    overflow-y: auto;
}

/* Unassigned bookings */
.unassigned-booking {
    border-left: 4px solid #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trip-dashboard {
        flex-direction: column !important;
    }

    .sidebar {
        width: 100% !important;
        height: auto;
        max-height: 40vh;
    }

    .content-panel {
        height: auto;
    }
}

.trip-stop-hover-effect {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trip-stop-hover-effect:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/*================== begin::loading spinner ============================*/

.blazor-load-progress {
    width: 200px;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #1B84FF;
    border-radius: 10px;
    width: var(--blazor-load-percentage) !important;
    transition: width 0.05s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: bold;
    color: #333;
}

.progress-text::after {
    content: var(--blazor-load-percentage-text) !important;
}

.theme-light-show,
.theme-dark-show {
    display: none !important;
}

[data-bs-theme="light"] .theme-light-show,
html:not([data-bs-theme]) .theme-light-show {
    display: inline !important;
}

[data-bs-theme="dark"] .theme-dark-show {
    display: inline !important;
}

/*=================== end::loading spinner ============================*/