﻿/* 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. */


.overlay {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20;
    cursor: pointer;
}

.overlay>div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#myOverlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    cursor: pointer;
}

#myOverlay>div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#layout-overlay-loading {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    cursor: pointer;

}

#layout-overlay-loading>div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}



#mailOverlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20002;
    cursor: pointer;
}

#mailOverlay>div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.card-red-rapidoo.card-outline {
    border-top: 3px solid #e01226;
}

.card-gray-rapidoo.card-outline {
    border-top: 3px solid #55575a;
}

#dtDetails {
    font-size: 14px !important;
    font-weight: 500 !important;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

#RegistryManager {
    overflow-y: auto;
    overflow-x: hidden;
}

/*.card-gray-rapidoo.card-header {
    background-color: #55575a;
    color:white;
}*/
.textbox-currency {
    text-align: right;
}

.col-button-small {
    padding: 1px !important;
}

.col-button-small a {
    padding: 0px !important;
    font-size: 90%;
    font-weight: 400;
}

.report_status_unassigned {
    background-color: red;
}

.report_status_assigned {
    background-color: blue;
}

.report_status_close {
    background-color: green;
}

.report_status_assignedToInsExp {
    background-color: orange;
}

.report_status_assignedToBodyShop {
    background-color: lime;
}

.report_status_videoReportAnalisys {
    background-color: pink;
}

.report_status_bodyShopWorkOn {
    background-color: gray;
}

.report_status_sendedOffer {
    background-color: violet;
}

.report_status_reportLoaded {
    background-color: brown;
}

.table td,
.table th {
    padding: 5px !important;
}

#description {
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
}

#infowindow-content .title {
    font-weight: bold;
}

#infowindow-content {
    display: none;
}

#expertise-map #infowindow-content {
    display: inline;
}

.pac-card {
    background-color: #fff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 0 0.5em;
    font: 400 18px Roboto, Arial, sans-serif;
    overflow: visible;
    /* Changed from hidden to allow dropdown to display */
    font-family: Roboto;
    padding: 0;
    position: relative;
    /* Required for dropdown positioning */
}

.pac-container {
    z-index: 10000 !important;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

.pac-controls label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}

#pac-input {
    background-color: #fff;
    font-family: Roboto;
    font-weight: 300;
    /*margin: 10px;*/
    text-overflow: ellipsis;
    width: 500px;
}

#pac-input:focus {
    border-color: #4d90fe;
}

#map-title {
    color: #fff;
    background-color: #4d90fe;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
}

.hidden {
    display: none;
}

/* Expert order CSS classes with green gradients */
.expert_order_0 {
    background-color: #FFFFFF !important;/white */
}

.expert_order_1 {
    background-color: #e8f9f2 !important;
}

.expert_order_2 {
    background-color: #ebf5fb !important;
}

.expert_order_3 {
    background-color: #fef9e7 !important;
}

.expert_order_4 {
    background-color: #fef5e7 !important;
}

.expert_order_5 {
    background-color: #fdf2e9 !important;
}

/* Timeline styles for ROL details modal */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 2px;
    width: 12px;
    height: 12px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-marker i {
    font-size: 6px;
    color: white;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 8px;
    bottom: -10px;
    width: 2px;
    background: #dee2e6;
}

.timeline-item:last-child .timeline-marker::after {
    display: none;
}

.timeline-content {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #007bff;
}

.timeline-header {
    margin-bottom: 5px;
}

/* ROL Response JSON Viewer Styles */
.json-viewer {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow-x: auto;
}

#rolResponseToggle {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

#rolResponseToggle:hover {
    background-color: #e9ecef;
}

#rolResponseIcon {
    transition: transform 0.3s ease;
    margin-right: 10px;
    color: #6c757d;
}

#rolResponseContent.show {
    display: block !important;
}

#rolResponseContent.collapse:not(.show) {
    display: none;
}
