
.card-with-shadow {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
}

.card-hover-zoom {
  transition: transform 0.10s ease;
}

.card-hover-zoom:hover {
  transform: scale(1.08);
}

.card-equal-height {
  display: flex;
  flex-direction: column;
  height: 100%; /* Set the height of the card to 100% */
}

.card-title .line1,
.card-title .line2 {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-img-top{
    padding: 40px;
    height: 100%;
}

.container {
  position: relative;
  width: 100%; /* Make container responsive */
  max-width: 800px; /* Limit maximum width */
  margin: 0 auto; /* Center container horizontally */
}
.number-plate {
  width: 100%;
  max-width: 100%; /* Ensure image stays within container */
  height: auto; /* Maintain aspect ratio */
}
.overlay {
  position: absolute;
  color: black;
  font-family: 'DIN 1451 Mittelschrift', sans-serif;
  transform: translate(-50%, -50%);
}
.overlay.top-left {
  top: 70%;
  left: 54%;
  font-size: 2vw; /* Adjust font size relative to viewport width */
  transform-origin: center;
  font-weight: bold;
}
.overlay.bottom-right {
  top: 27%;
  left: 57%;
  font-size: 2vw; /* Adjust font size relative to viewport width */
  transform-origin: center;
  font-weight: bold;
}

#numberInput {
  width: 80%; /* Adjust input width relative to container width */
  max-width: 100%; /* Ensure input stays within container */
  margin: 10px auto; /* Center input horizontally */
  font-size: 2vw; /* Adjust font size relative to viewport width */
  padding: 10px; /* Add padding for better appearance */
}
#downloadBtn {
  display: block; /* Ensure button takes full width */
  width: 80%; /* Adjust button width relative to container width */
  max-width: 100%; /* Ensure button stays within container */
  margin: 0 auto; /* Center button horizontally */
  font-size: 3vw; /* Adjust font size relative to viewport width */
  padding: 10px; /* Add padding for better appearance */
}

.document-image {
    width: 200px; /* Adjust width as needed */
    height: 200px; /* Adjust height as needed */
}

.mandatory-indicator {
    color: #ff0000; /* Red color */
}

.datatables-pending-traffic-decision tbody tr,
.datatables-traffic-document-uploaded tbody tr,
.datatables-ready-for-auction tbody tr,
.datatables-general-authority-for-minors-affairs tbody tr,
.datatables-qatar-international-court-center tbody tr,
.datatables-waiting-for-administrative-decision tbody tr,
.datatables-public-prosecution tbody tr,
.datatables-movables-initial-photo-file-upload tbody tr,
.datatables-movables tbody tr,
.datatables-evaluators tbody tr,
.datatables-add-movables-photos tbody tr,
.datatables-auction-schedule tbody tr,
.datatables-pending-evaluation-submission tbody tr,
.datatables-vehicle-pending-traffic-decision tbody tr,
.datatables-vehicle-traffic-upload-segregate tbody tr,
.datatables-upload-more-vehicle-photos tbody tr,
.datatables-vehicle-update-case-status tbody tr,
.datatables-auction-plates tbody tr,
.datatables-auction-schedule tbody tr,
.datatables-vehicle-marhoona-departments-list tbody tr,
.datatables-vehicle-marhoona-department-vehicles-list tbody tr,
.datatables-vehicle-marhoona-departments-letters-pending-list tbody tr,
.datatables-vehicle-marhoona-letters-list tbody tr,
.datatables-vehicle-auction-schedule-vehicles-add-list tr,
.datatables-vehicle-parking-yards-list tr,
.datatables-vehicle-ready-for-auction tr,
.datatables-search-vehicles tr,
.datatables-vehicle-marhoona-update-case-status tr,
.datatables-vehicle-auction-schedule-vehicles-show-list tr,
.datatables-vehicles-shifts tr,
.datatables-vehicle-parking-yard-vehicles-list tr,
.datatables-handed-over-vehicles tr,
.datatables-sold-vehicles tr,
.datatables-search-plates tr,
.datatables-pending-owner-details tr,
.datatables-pending-property-details tr,
.datatables-property-waiting-staff-approval-list,
.datatables-property-waiting-hod-approval-list tr,
.datatables-property-waiting-manager-approval-list tr,
.datatables-property-waiting-judge-approval-list tr,
.datatables-pending-staff-assigning tr,
.datatables-property-waiting-assistant-manager-approval-list tr,
.datatables-management-decision-pending-list tr,
.datatables-irshad-letter-pending tr,
.datatables-irshad-letter-completed tr,
.datatables-movables-ikhlaa tr,
.datatables-property-auction-schedule-properties-show-list tr,
.datatables-pending-property-correction tr, 
.datatables-search-properties tr,
.datatables-all-properties-list tr,
.datatables-properties-auction-schedule tr,
.datatables-property-rental-owner-signature-pending-list tr,
.datatables-valuation-property-pending-payment-confirmation-list tr,
.datatables-valuation-property-pending-valuation-file-list tr,
.datatables-valuation-property-valuation-completed-list tr,
.datatables-sold-properties-list tr,
.datatables-properties-completed-auction tr,
.datatables-finance-valuation-property-pending-payment-confirmation-list tr,
.datatables-finance-vehicles-pending-case-checking-list tr,
.datatables-finance-vehicles-pending-case-sharing-approval-list tr,
.datatables-finance-vehicles-ready-for-transfer-to-court-account-list tr,
.datatables-finance-vehicles-all-approved-case-sharing-list tr,
.datatables-finance-vehicles-court-account-transfer-list tr,
.datatables-vehicle-auction-schedule tr,
.datatables-finance-vehicle-auction-schedule tr,
.datatables-finance-property-pending-share-distribution-list tr,
.datatables-finance-property-distribution-amount-approval-list tr,
.datatables-finance-property-court-account-transfer-list tr,
.datatables-finance-plates-pending-case-chekcing-list tr,
.datatables-finance-plates-pending-case-sharing-approval-list tr,
.datatables-finance-plates-ready-for-transfer-to-court-account-list tr,
.datatables-finance-plates-court-account-transfer-list tr,
.datatables-finance-plate-auction-schedule tr,
.datatables-finance-plate-auction-schedule tr {
    cursor: pointer;
}

.datatables-pending-traffic-decision tbody tr:hover,
.datatables-traffic-document-uploaded tbody tr:hover,
.datatables-ready-for-auction tbody tr:hover,
.datatables-general-authority-for-minors-affairs tbody tr:hover,
.datatables-qatar-international-court-center tbody tr:hover,
.datatables-waiting-for-administrative-decision tbody tr:hover,
.datatables-public-prosecution tbody tr:hover,
.datatables-movables-initial-photo-file-upload tbody tr:hover,
.datatables-movables tbody tr:hover,
.datatables-evaluators tbody tr:hover,
.datatables-add-movables-photos tr:hover,
.datatables-auction-schedule tr:hover,
.datatables-pending-evaluation-submission tr:hover,
.datatables-vehicle-pending-traffic-decision tr:hover,
.datatables-vehicle-traffic-upload-segregate tr:hover,
.datatables-upload-more-vehicle-photos tr:hover,
.datatables-vehicle-update-case-status tr:hover,
.datatables-auction-plates tr:hover,
.datatables-auction-schedule tr:hover,
.datatables-vehicle-marhoona-departments-list tr:hover,
.datatables-vehicle-marhoona-department-vehicles-list tr:hover,
.datatables-vehicle-marhoona-departments-letters-pending-list tr:hover,
.datatables-vehicle-marhoona-letters-list tr:hover,
.datatables-vehicle-auction-schedule-vehicles-add-list tr:hover
.datatables-vehicle-parking-yards-list tr:hover,
.datatables-vehicle-ready-for-auction tr:hover,
.datatables-search-vehicles tr:hover,
.datatables-vehicle-marhoona-update-case-status tr:hover,
.datatables-vehicle-auction-schedule-vehicles-show-list tr:hover,
.datatables-vehicles-shifts tr:hover,
.datatables-vehicle-parking-yard-vehicles-list tr:hover,
.datatables-handed-over-vehicles tr:hover,
.datatables-sold-vehicles tr:hover,
.datatables-search-plates tr:hover,
.datatables-pending-owner-details tr:hover,
.datatables-pending-property-details tr:hover,
.datatables-property-waiting-staff-approval-list tr:hover,
.datatables-property-waiting-hod-approval-list tr:hover,
.datatables-property-waiting-manager-approval-list tr:hover,
.datatables-property-waiting-judge-approval-list tr:hover,
.datatables-pending-staff-assigning tr:hover,
.datatables-property-waiting-assistant-manager-approval-list tr:hover,
.datatables-management-decision-pending-list tr:hover,
.datatables-irshad-letter-pending tr:hover,
.datatables-irshad-letter-completed tr:hover,
.datatables-movables-ikhlaa tr:hover,
.datatables-property-auction-schedule-properties-show-list tr:hover,
.datatables-pending-property-correction tr:hover,
.datatables-search-properties tr:hover,
.datatables-all-properties-list tr:hover,
.datatables-properties-auction-schedule tr:hover,
.datatables-property-rental-owner-signature-pending-list tr:hover,
.datatables-valuation-property-pending-payment-confirmation-list tr:hover,
.datatables-valuation-property-pending-valuation-file-list tr:hover,
.datatables-valuation-property-valuation-completed-list tr:hover,
.datatables-sold-properties-list tr:hover,
.datatables-properties-completed-auction tr:hover,
.datatables-finance-valuation-property-pending-payment-confirmation-list tr:hover,
.datatables-finance-vehicles-pending-case-checking-list tr:hover,
.datatables-finance-vehicles-pending-case-sharing-approval-list tr:hover,
.datatables-finance-vehicles-ready-for-transfer-to-court-account-list tr:hover,
.datatables-finance-vehicles-all-approved-case-sharing-list tr:hover,
.datatables-finance-vehicles-court-account-transfer-list tr:hover,
.datatables-vehicle-auction-schedule tr:hover,
.datatables-finance-vehicle-auction-schedule tr:hover,
.datatables-finance-property-pending-share-distribution-list tr:hover,
.datatables-finance-property-distribution-amount-approval-list tr:hover,
.datatables-finance-property-court-account-transfer-list tr:hover,
.datatables-finance-plates-pending-case-chekcing-list tr:hover,
.datatables-finance-plates-pending-case-sharing-approval-list tr:hover,
.datatables-finance-plates-ready-for-transfer-to-court-account-list tr:hover,
.datatables-finance-plates-court-account-transfer-list tr:hover,
.datatables-finance-plate-auction-schedule tr:hover, 
.datatables-finance-plate-auction-schedule tr:hover{
    background-color: #fafafa; /* Change to the desired hover background color */
}

.uploaded-image {
    width: 60px; /* Adjust the maximum width as needed */
    height: 60px; /* Adjust the maximum height as needed */
}

.light-style .swal2-popup .swal2-title{
  font-size: 30px; /* Adjust the font size as needed */
  margin-top: 0; /* Reset the default margin */
  margin-bottom: 20px; /* Add some margin to separate title from content */
}

.rtl-form {
    direction: rtl;
    text-align: right;
}

.rtl-form .input-group.input-group-merge {
    direction: ltr;
    text-align: left;
}

.rtl-form .input-group.input-group-merge .form-control {
    direction: rtl;
    text-align: right;
}
.dataTables_wrapper table.dataTable td {
    font-size: 1.2em; /* Change this value to adjust the font size */
}

.border-dashed {
    color: #dbdade !important;
}

.select2-container .select2-selection--single {
    height: calc(1.5em + 1rem + 2px) !important; /* Match the height of form-select-lg */
    padding: 0.5rem 0.75rem !important; /* Adjust padding to match form-select-lg */
    font-size: 1.25rem; /* Match the font size of form-select-lg */
    line-height: 1.5;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 2.2rem !important; /* Center the text vertically */
}

/* Adjust the padding for the dropdown arrow */
.select2-container .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 1rem + 2px) !important;
}

.visually-hidden {
    position: absolute;
    left: -9999px;
}

.image-input-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.image-input-label img {
    display: block;
    width: 100%;
    height: auto;
}

.image-input-label span {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}
.vehicle-image {
    width: 100%; /* This ensures that the image takes up the entire width of its parent container */
    height: auto; /* This maintains the aspect ratio of the image */
    max-height: 200px; /* Set a maximum height to maintain consistency */
}


#horizontal-scrollbar {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
    cursor: pointer;
}
.custom-btn-group .btn {
    height: 50px; /* Set the desired height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-check:checked + .btn {
    background-color: #007bff;
    color: #fff;
}

.img-thumbnail, .uploaded-image {
    width: 150px; /* Set a fixed width */
    height: 150px; /* Set a fixed height */
    object-fit: cover; /* Ensure images are properly cropped to fit */
}

.disabled-button {
    opacity: 0.6;
    pointer-events: unset !important;
    cursor: not-allowed !important;
}

.expired-message {
    color: red;
}

.daysleft-message {
    color: green;
}

.arabic-date {
    unicode-bidi: embed;
    direction: ltr;
}

.custom-radio-group {
    width: 100%;
    height: 100%; /* Adjust height as needed */
}

.custom-radio-input {
    display: none; /* Hide the actual radio input */
}

.custom-radio-label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 0.25rem; /* Example border radius */
    transition: all 0.3s ease;
}

.custom-radio-label:hover {
    border: 1px solid #0F1D5C; /* Example hover border color */
}

.custom-radio-input:checked + .custom-radio-label {
    border: 2px solid #0F1D5C; /* Example selected border color */
}

.custom-card-style {
    /* Adjust card styling as needed */
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}


.toggle-container {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 2px solid #8A1538;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.toggle-button {
    display: inline-block;
    padding: 4px 14px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.toggle-button.active {
    background-color: #8A1538;
    color: #ffffff;
}

.toggle-button:not(.active) {
    color: #8A1538;
}

.top-corner-right {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    z-index: 1000; /* Ensure it's above other elements */
}

.top-corner-left {
    position: absolute;
    top: 10px; /* Adjust as needed */
    left: 10px; /* Adjust as needed */
    z-index: 1000; /* Ensure it's above other elements */
}

  /* Basic styles for the draggable window */
  .window {
    position: absolute;
    width: 45%;
    height: 80%;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.window-header {
    background-color: #0F1D5C;
    color: white;
    padding: 10px;
    cursor: move;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.window-content {
    height: calc(100% - 40px);
    /* Adjust for the header height */
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: white;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
    background: #f6f7f8;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #f6f7f8 0%, #ecebeb 50%, #f6f7f8 100%);
    animation: shimmer 1.5s infinite;
}

.shimmer-danger::after {
    background: linear-gradient(
        to right,
        #ffe5e5 0%,   /* light red */
        #ffcccc 50%, /* medium red */
        #ffe5e5 100%
    );
}

.shimmer-warning::after {
    background: linear-gradient(
        to right,
        #fff8e1 0%,   /* light yellow */
        #ffe082 50%, /* gold */
        #fff8e1 100%
    );
}

.shimmer-success::after {
    background: linear-gradient(
        to right,
        #e0f7e9 0%,   /* light green */
        #a5d6a7 50%, /* medium green */
        #e0f7e9 100%
    );
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.highlight-row {
    background-color: #f0f8ff; /* Example light blue color */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.button-gap {
    margin-right: 5px;
}

.loading-container {
    text-align: center;
    padding: 20px;
}

.progress-bar {
    width: 80%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin: 10px auto;
    overflow: hidden;
    position: relative;
}

.progress-bar-inner {
    height: 100%;
    background-color: #4caf50;
    width: 0%;
    transition: width 0.3s;
}

.loading-text {
    font-size: 14px;
    color: #333;
}
.file-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between cards */
    justify-content: flex-start;
}

.file-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: calc(50% - 15px); /* Adjusts to show two cards per row with gap */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #f9f9f9;
}

.file-name {
    font-size: 14px;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.file-actions {
    display: flex;
    justify-content: space-around;
    gap: 5px;
}

.file-actions .btn {
    font-size: 12px;
    padding: 5px 10px;
}

/* Add a gap between the grid and the Upload Files button */
.upload-button-container {
    text-align: center; /* Center-align the button */
    margin-top: 20px; /* Add space above the button */
}

.upload-button-container .btn {
    padding: 8px 15px;
    font-size: 14px;
}

/* Unique class for the popup */
.popup-tab {
    position: absolute;
    background: #fff;
    width: 85%;
    height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

.popup-tab-header {
    background: #173556;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-tab-header span {
    font-weight: bold;
}

.popup-tab-header button {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

.popup-tab-header button:hover {
    background: #e0e0e0;
}

.popup-tab-content {
    height: calc(100% - 35px);
    padding: 0;
}

#adobe-dc-view {
    height: 100%;
}

/* Prevent the body styles from being applied globally */
body.popup-tab-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

  /* Styles for the drop area */
#dropArea {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    background-color: #f8f9fa;
}

#dropArea:hover {
    background-color: #e9ecef;
    border-color: #0056b3;
}

#dropArea.drag-over {
    background-color: #d4edda;
    border-color: #28a745;
}

#dropArea1 {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    background-color: #f8f9fa;
}

#dropArea1:hover {
    background-color: #e9ecef;
    border-color: #0056b3;
}

#dropArea1.click-zoom-image {
    background-color: #d4edda;
    border-color: #28a745;
}

#dropArea2 {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    background-color: #f8f9fa;
}

#dropArea2:hover {
    background-color: #e9ecef;
    border-color: #0056b3;
}

#dropArea2.drag-over {
    background-color: #d4edda;
    border-color: #28a745;
}
/* Icon styling */
.upload-icon {
    font-size: 50px;
    color: #007bff;
    margin-bottom: 10px;
}

/* Centering content */
.drop-area-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.property-group {
    margin-bottom: 20px;
}

.property-header {
    background-color: #f8f9fa;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: bold;
}

.table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table tbody tr:nth-child(even) {
    background-color: #ffffff;
}
.signature-pad {
    background-color: #ffffff; /* Light background color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border: 1px solid #d1d1d1; /* Light border */
    margin-bottom: 10px;
}

.click-zoom-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.click-zoom-image.zoomed {
    transform: scale(2);
    cursor: zoom-out;
}

@keyframes flashHighlight {
    0%   { background-color: #d4edda; }  /* light green */
    100% { background-color: transparent; }
}

.flash-update {
    animation: flashHighlight 5s ease-out;
}

.table-no-stripe tr {
    background-color: white !important;
}

.active-card {
    border: 2px solid #0d6efd !important; /* highlight border */
    background: #e7f1ff !important;      /* light blue background */
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3) !important;
}