.modal-footer{
    text-align: center;
}

.modal-footer .btn{
   margin-left: 50px;
}
.ui-datepicker{
    background-color: lightcyan;
}

table th{
    text-align: center;
}

.modal-dialog{
    width: 90%;
}
.modal { height: 100%;
    overflow: auto !important;
    text-align: center
}


.dataTables_length {
    margin-left: 100px;
}

.dataTables_info {
    margin-left: 100px;
}

.dataTables_filter {
    margin-right: 100px;
}

.dataTables_paginate {
    margin-right: 100px;
}


.assetText {
    font-size: 28px;
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.input{

    width: 95%;
    font-size: x-large;
}
.btn-bottom-primary{

     width: 95%;
     font-size: x-large;
 }
.modal{
    background-color: #1f191d;
}

.inspection-photo-section {
    clear: both;
    max-width: 1400px;
    margin: 24px auto;
    padding: 0 16px 24px;
}

.inspection-photo-section > h3 {
    text-align: center;
}

.inspection-photo-empty {
    color: #666;
    font-size: 16px;
}

.inspection-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    justify-content: center;
    gap: 16px;
}

.inspection-photo-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.inspection-photo-link {
    border: 0;
    padding: 0;
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    cursor: zoom-in;
}

.inspection-photo-image {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.inspection-photo-caption {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    text-align: left;
    min-height: 48px;
    word-break: break-word;
}

.inspection-photo-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 3000;
}

.inspection-photo-modal.is-open {
    display: block;
}

.inspection-photo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.inspection-photo-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 1200px);
    height: min(90vh, 900px);
    margin: 5vh auto;
    padding: 16px 16px 12px;
    background: #111;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inspection-photo-modal-close {
    align-self: flex-end;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.inspection-photo-modal-image {
    max-width: 100%;
    max-height: calc(100% - 64px);
    object-fit: contain;
}

.inspection-photo-modal-caption {
    margin-top: 8px;
    color: #f3f3f3;
    text-align: center;
    word-break: break-word;
}

