:root {
    --bg: #ffffff;
    --text: #111315;
    --muted: #f3f4f6;
    --muted-2: #e5e7eb;
    --accent: #5a5f66; /* your button color */
    --accent-contrast: #ffffff;
    --overlay: rgba(17, 19, 21, 0.5);
    --ring: 2px solid #9aa1a9; /* subtle focus ring */
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.08);
}

html {
    background-color: #cccc;
}

html, body {
    margin: 0px;
    font-family: 'Verdana', 'Geneva', 'sans-serif';
    position: relative;
}


a:link {
    text-decoration: none;
    color: black;
}

a:visited {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

a:active {
    text-decoration: none;
    color: black;
}

#header {
    display: flex;
    justify-content: space-between;
    padding: 6px 30px 15px 5px;
    background-color: white;
}

#view-banner {
    background-color: dimgray;
    padding: 10px 35px;
    margin: auto;
    visibility: var(--CompanyTraining);
}

.banner-text {
    color: white;
    margin: 0px;
}

#welcome-area {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin: auto 5px;
    padding-top: 10px;
    font-size: 12px;
}

#welcome {
    padding-right: 5px;
}

#welcome-area-email {
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: gray;
    padding-right: 5px;
    color: var(--CompanyText);
    text-decoration-color: var(--CompanyText);
}

#welcome-area a {
    padding: 7px 2px;
}

.search-label {
    margin: auto 0px;
    font-size: 12px;
}

.search-input {
    width: 275px;
    height: 25px;
    margin: auto 10px;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 0px;
    box-sizing: border-box;
}

.route-search-input {
    width: 200px;
}

.login-container {
    background-color: lightgray;
    width: 100vw;
    margin: 0px;
}

#login-box {
    position: relative;
    top: 30px;
    font-family: Verdana, Geneva, sans-serif;
    margin: 0px auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: hidden;
    perspective: 1px;
    max-height: 600px;
    max-width: 600px;
}

#login-box h1 {
    font-weight: lighter;
    font-size: 20px;
    text-align: center;
    margin: 10px auto 35px auto;
         /* top right bottom left */
}

#login-box p {
    font-size: 10px;
    color: red;
    text-align: center;
    margin: 0px auto;
}

#login-box button {
    transition: background-color 0.5s ease;
    transition: box-shadow 0.25s ease;
    width: 40%;
    height: 115px;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    color: black;
    border: none;
    background-color: lightgrey;
    padding: 30px;
    margin: 10px auto;
    display: block;
    border-radius: 5px;
}

#login-box button:hover {
    background-color: dimgray;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    color: white;
    cursor: pointer;
}

#login-box button:active {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.icon-box {
    background-color: white;
    margin: 0px;
    padding: 15px;
    border-bottom: 1px solid #ccc
}

.icon-image {
    margin: auto;
    display: block;
    padding: 10px;
}

.login-content {
    background-color: white;
    margin: 0px;
    padding: 20px;
}

.login-btn-container {
    display: flex;
}

.btn-employee {
    margin-bottom: 20px;
}

    .btn-employee img, .btn-customer img {
        margin: 5px;
        height: 32px; 
        width: 32px;
    }

#ribbon {
    display: flex;
    padding: 0px 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    background-color: white;
    border-bottom: 0px;
}

#ribbon img {
    padding: 0px;
    margin: 0px;
}

.ribbon-section {
    border-right: solid;
    border-left: solid;
    border-width: 1px;
    border-color: #ccc;
    padding: 0px 5px;
}

.ribbon-item {
    transition: background-color 0.5s ease;
    padding: 10px 5px 2px 5px;
    margin: 2px 2px;
    border: none;
    font-size: 12px;
    background-color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    cursor: pointer;
    font-family: 'Verdana', 'Geneva', 'sans-serif';
}

    .ribbon-item:hover {
        background-color: lightblue;
        border: solid;
        border-width: 1px;
        padding: 9px 4px 1px 4px;
        border-color: dimgray;
    }

.ribbon-item:active {
    background-color: #cccc;
}

.ribbon-item img {
    width: 32px;
    height: 32px;
}

label {
    margin: auto 0px; font-size: 12px;
}

input {
    margin: 10px 5px;
}

input[type=text] {
    width: 275px;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=date] {
    width: 200px;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Verdana', 'Geneva', 'sans-serif' !important;
}

select {
    margin: 10px 5px;
    width: 200px;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#main-area {
    font-size: 12px;
}

#embedContainer {
    height: 73vh;
    width: 99vw;
    margin: auto;
}

#section-container {
    background-color: var(--CompanySecondary);
}

.section-container {
    font-size: 12px;
    padding: 0px;
    margin: 0px;
    background-color: dimgrey;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#section-title {
    font-size: 20px;
    font-weight: normal;
    color: white;
    padding: 10px 30px;
    margin: 0px;
}

.section-title {
    font-size: 20px;
    font-weight: normal;
    color: white;
    padding: 10px 30px;
    margin: 0px;
}

.loading-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: none; /* Hide by default */
    justify-content: center;
    align-items: center;
    display: flex; /* Ensure flex centering */
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(60, 60, 60, 0.35);
    z-index: 1;
    animation: fadeIn .2s ease;
}

.loading-container {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: 90vw;
}

.loading-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-top: 12px;
    letter-spacing: 0.5px;
    text-align: center;
}

.loader {
    border: 5px solid #eee;
    border-top: 5px solid var(--CompanySecondary, #688c41);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: spin .9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes popIn {
    from {
        transform: translateY(6px) scale(.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #ff5050; /* Black background color */
    color: black; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
    border-radius: 5px;
    font-size: 18px;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. However, delay the fade out process for 2.5 seconds */
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

#training-area {
    padding: 20px;
}

.loader {
    border: 4px solid lightgray;
    border-top: 4px solid var(--CompanySecondary);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#training-area img {
    width: 975px;
    height: auto;
    padding: 0px;
    margin: 10px 0px;
}

#training-area h1 {
    font-size: 23px;
    font-weight: bold;
    text-decoration: underline;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#training-area h2 {
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#training-area h3 {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#training-area h4 {
    font-weight: normal;
    font-size: 16px;
    font-style: italic;
    padding: 0px;
    margin: 0px;
}

#training-area a {
    color: olivedrab;
}

#training-area li {
    font-size: 15px;
}

#training-area ol li {
    padding-top: 10px;
}

#training-area ol {
    padding-left: 20px;
}

#training-area ul {
    padding-left: 30px;
}

.tabContent {
    background-color: #FDFEFF;
    color: #333333;
    height: 170px;
    width: 100%;
}

.tabContent td {
    vertical-align: top;
    padding: 8px 8px 8px 3px;
}

.tabContent td:first-child {
    vertical-align: top;
    width: unset !important;
    padding: 18px 8px 8px 10px;
}

.tabTemplate, tabTemplate .label {
    border-collapse: collapse;
    font: 12px Tahoma;
    color: #333333;
}

.tabTemplate img {
    margin: 0;
    display: block;
}

.pcTemplates .dxtc-leftIndent,
.pcTemplates .dxtc-tab,
.pcTemplates .dxtc-activeTab,
.pcTemplates .dxtc-rightIndent {
    border-width: 0px !important;
}

.pcTemplates .dxtc-leftIndent,
.pcTemplates .dxtc-tab,
.pcTemplates .dxtc-rightIndent {
    border-bottom-width: 1px !important;
}

#shipment-infoarea {
    display: flex;
    margin: 0px;
    padding: 0;
    width: 100%;
}

.shipment-infobox {
    flex-grow: 1;
    margin: 5px 10px;
    border: solid var(--CompanySecondary) 1px;
    max-width: contain;
}

.shipment-infobox-header {
    display: flex;
    margin: 0px;
    padding: 0px;
    background-color: grey;
    color: white;
}

.shipment-infobox-header h1 {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
}

.shipment-infobox-header img {
    padding: 5px;
}

.shipment-infobox-content {
    height: 500px;
    margin: 0px;
    padding: 0px 10px;
    background-color: lightgrey;
    text-align: center;
}

.shipment-infobox-content {
    height: 500px;
    display: grid;
    grid-column: 1;
    margin: 0px;
    padding: 20px;
    background-color: lightgrey;
    text-align: center;
}

.shipment-infobox-content input[type=text] {
    width: 165px;
    font-size: 12px;
    margin: 0px;
    padding: 0px 5px;
}

.shipment-infobox-content label {
    height: 25px;
    margin: 0px;
    padding: 3px;
    font-size: 12px;
}

.delivery {
    background-color: lightblue;
    border: solid dodgerblue 1px;
    margin: 10px 5px;
    padding: 20px;
    text-align: left;
}

.delivery p {
    font-size: 15px;
}
.dxgvFocusedRow_Office365 .dxGridView_gvDetailExpandedButton_Office365 {
    background-position: -14px -138px !important;
}
.dxgvFocusedRow_Office365 .dxGridView_gvDetailCollapsedButton_Office365 {
    background-position: -306px -120px !important; 
}
div#claims_LD {
    background-color: rgba(0, 0, 0, 0.1);
}

.error-container {
    min-height: 25rem;
}

.error-title {
    color: #d9534f;
    text-align: center;
    margin-top: 3rem;
    font-size: 36px;
}

.error-message {
    color: #d9534f;
    text-align: center;
    margin-top: 2rem;
    font-size: 16px;
}

.error-home {
    display: flex;
    justify-content: center;
}

    .error-home a {
        padding: 10px;
        background-color: dimgrey;
        color: #fff;
        border: none;
        cursor: pointer;
        width: 85%;
        box-sizing: border-box;
        margin-top: 1.9rem;
        margin-bottom: .8rem;
    }

.btn-dark {
    color: #fff;
    border-color: #212529;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    font-size: 1rem;
    border-radius: .25rem;
    background-color: #000;
    color: #fff;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content {
    flex: 1;
}
.layout-bottom-border {
    background-color: dimgrey;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    bottom: 0px;
}

.privacy-policy-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

a.privacy-link {
    text-decoration: underline !important;
}

.privacy-policy-container .privacy-link, .privacy-policy-container p {
    margin: 0; /* Removes default margin */
    padding: 15px; /* Adds some padding, adjust as needed */
    text-decoration: none; /* Optional: removes underline from the link */
    color: #fff; /* Optional: sets the link color */
}
#file-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#ProfileDisplay {
    display: flex;
    gap: 50px;
    /*margin-top: 15px;*/ /*causes a gap between the heading and the table*/
}

#ProfileSingle {
    display: flex;
    gap: 50px;
    margin-top: 15px;
}

.no-bullets {
    list-style-type: none;
}

#video-container {
    padding-bottom: 30px;
}

#training-video {
    width: 700px !important;
}

#contact-info {
    padding-bottom: 50px;
}

.training-content-container {
    padding-bottom: 15px;
}

.extra-space {
    padding-bottom: 25px;
}
li.claim-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
}

.dashboard-img {
    width: 100%;
    height: 100%;
}

.width-half {
    width: 50%;
}

.width-48 {
    width: 48%;
}

.align-right {
    text-align: right;
}

.align-center {
    align-items: center;
}

.tiny-margin-top {
    margin-top: 2px;
}

.tiny-margin-left {
    margin-left: 4px;
}

.flex {
    display: flex;
}

.clear {
    clear: both;
}

.layout-icon {
    width: 250px;
    height: auto;
    padding: 5px 10px;
}

.label-width-80 {
    width: 80px;
}

.label-width-40 {
    width: 40px;
}

.label-include-closed {
    margin-right: 10px;
    font-size: 12px;
}

#claim-include-closed-div {
    margin-top: 0;
    align-items: right; /**/
}


.loader {
    margin-left: 10px;
}

.include-closed-container {
    align-items: center;
    margin-top: 3px;
    margin-left: 5px;
    margin-right: 10px;
}

#header {
    background-color: var(--CompanyPrimary);
}

.bold {
    font-weight: bold;
}

.profile-container {
    border-radius: 10px;
    border: 2px solid black;
    padding: 20px;
    width: 500px;
    margin: 50px auto;
    position: relative;
    background-color: white;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    font-family: 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
}

.profile-heading {
    display: inline;
    font-size: 14px;
}

.profile-close-top {
    cursor: pointer;
    float: right;
    display: inline;
    font-size: 14px;
}

.profile-close-container {
    position: absolute;
    bottom: 20px;
    right: 30px;
}

.profile-close-bottom {
    padding: 5px 10px;
    cursor: pointer;
}

.profile-content {
    margin-top: 20px;
}

.profile-photo-container {
    float: left;
    border: 1px solid black;
    position: relative;
    width: 250px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.profile-img {
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}

.profile-img-preview {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.profile-information {
    float: right;
    width: calc(100% - 270px);
}

.profile-text-area {
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
    padding: 5px;
    width: calc(100% - 20px);
    font-family: 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
}

.profile-question {
    margin-bottom: 10px;
}

.profile-submit-container {
    right: 100px; 
    position: absolute;
    bottom: 20px;
}

.profile-submit {
    padding: 5px 10px;
    cursor: pointer;
}

.driver-profile-not-found {
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    font-weight: bold;
    height: 400px;
}

.req-text {
    font-size: 12px;
    color: red;
}

.claim-image-item {
    cursor: pointer;
}

.claim-file-item:hover {
    background-color: #f0f0f0; /* Highlight color on hover */
    cursor: pointer;
}

.claim-file-item.selected {
    background-color: #d0d0d0; /* Highlight color when selected */
}

.claim-file-item.highlight {
    background-color: #d4edda; /* Light green background */
}

.claim-details-container {
    width: 50%;
    margin: 15px auto;
    padding: 20px;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

    .claim-details-container h2 {
        color: darkgray;
        font-size: 1.5em;
        margin-bottom: 15px;
    }

.claim-details-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    margin-left: 20px;
}

.claim-details-column {
    width: 48%;
}

.claim-details-section {
    margin-bottom: 5px;
}

    .claim-details-section.reduced-spacing {
        margin-bottom: 2.5px;
    }

    .claim-details-section label {
        font-weight: bold;
        color: #555;
        display: inline-block;
        width: 40%;
        vertical-align: bottom;
        line-height: 30px;
    }

    .claim-details-section input {
        width: 55%;
        padding-left: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        height: 30px;
        vertical-align: bottom;
        box-sizing: border-box;
    }

    .claim-details-section select {
        width: 55%;
        padding-left: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        height: 30px;
        vertical-align: bottom;
        box-sizing: border-box;
    }

.submit-button.custom-submit {
    background-color: #5a5f66;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 140px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    right: 0;
    margin-right: 15px;
}

    .submit-button.custom-submit:hover {
        background-color: #4d5158;
    }

.claim-item-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 10px;
}

.claim-item-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 48%;
}

.claim-item-section {
    margin-bottom: 10px;
}

.section-header {
    color: dimgray;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

.top-justified-label {
    text-align: left;
    margin-bottom: 5px;
    display: block;
}

.claim-input {
    width: 100%;
    padding-left: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Ensure the Loss/Damage textarea fills available width */
.claim-item-section textarea {
    width: 100%;
    padding: 10px;
    resize: none; /* Prevent resizing the textarea */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Verdana', 'Geneva', 'sans-serif';
}

.legal-text {
    border: 3px solid darkgray;
    border-radius: 8px;
    padding: 10px;
    background-color: white;
    min-height: 133px;
    line-height: 1.2;
    color: #333;
}

.currency-mask {
    text-align: right;
}

.claim-details-title {
    text-align: center;
    margin-bottom: 20px;
    background: #eee;
}

    .claim-details-title h2 {
        color: dimgray;
        font-size: 2em;
        font-weight: bold;
        margin: 0;
        padding: 10px;
        display: inline-block;
        text-transform: uppercase;
    }

.claim-file-item button {
    background-color: #d4edda;
    color: black;
    border: none;
    font-weight: bold;
    font-size: 14px;
}

.existing-file {
    color: #007bff; /* Link color */
    text-decoration: underline; /* Underline text */
    cursor: pointer; /* Pointer cursor on hover */
}

    .existing-file:hover {
        color: #0056b3; /* Darker link color on hover */
        text-decoration: none; /* Remove underline on hover */
    }

.claim-partial-container {
    border-radius: 10px;
    border: 2px solid black;
    padding: 20px;
    width: 500px;
    margin: 50px auto;
    position: relative;
    background-color: white;
}

.claim-partial-heading {
    display: inline;
    font-size: 14px;
}

.claim-partial-close {
    cursor: pointer;
    float: right;
    display: inline;
    font-size: 14px;
}

.claim-inputs-container {
    margin-top: 20px;
}

.claim-input-label {
    font-weight: bold;
}

.input-width {
    width: calc(100% - 20px) !important;
}

.no-details {
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    font-weight: bold;
    height: 400px;
}

.claim-submit-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.claim-submit-btn {
    padding: 5px 10px;
    cursor: pointer;
}

.claim-close-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.claim-close-btn {
    padding: 5px 10px;
    cursor: pointer;
}

.claim-details-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 150px;
}

.claim-details-logo {
    max-width: 100%;
    max-height: 150px;
}

.loss-damage-date-container {
    padding-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.claimed-items-section {
    margin-right: 30px;
    margin-left: 20px;
}

.loss-damage-section {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.documented-label {
    flex: 1;
    float: left;
}

.documented-field {
    margin-right: 13px;
}

.damage-section {
    display: block;
    text-align: right;
}

.damage-label {
    vertical-align: bottom;
    width: 40%;
    display: inline-block;
    text-align: left;
    float: left;
}

.damage-input {
    width: 27%;
    padding-left: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 30px;
    margin-right: 13px;
}

.documentation-header {
    margin-right: 30px;
    margin-left: 20px;
}

.documentation-container {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.documentation-column {
    flex: 1;
    min-width: 48%;
    margin-right: 10px;
}

.documentation-section {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.documentation-drop-area {
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
    position: relative;
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.documentation-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.documentation-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.documentation-img {
    display: block;
    margin-bottom: 5px;
}

.documentation-text {
    text-align: center;
    color: dimgray;
}

.claim-file-container {
    flex: 1;
    min-width: 48%;
}

.details-container {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.statement-column {
    flex: 1;
    min-width: 48%;
    margin-right: 10px;
}

.remarks-input {
    width: 100%;
}

.legal-text p {
    text-transform: uppercase;
}

.claimant-fields-container {
    flex: 1;
    min-width: 48%;
}

.shipment-image-slider-container {
    width: 100%;
    margin: 5px 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
}

.shipment-messages-container {
    display: flex;
    gap: 50px;
    margin-top: 15px;
    justify-content: center;
}

.shipment-message-container {
    border: solid black 2px;
    width: 450px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: hidden;
}

.shipment-cons-sms {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin: 10px;
}

.shipment-message-detail {
    list-style-type: none;
    border-top: solid black 1px;
    padding: 0px 0px 30px 0px;
    margin: 0px;
    overflow: hidden scroll;
    scrollbar-width: thin;
    height: 600px;
}

.message-blue {
    padding: 15px;
    background-color: cornflowerblue;
    border-radius: 10px;
    color: white;
    margin: 10px;
    margin-top: 30px;
    width: 250px;
    margin-left: 150px;
}

.network-message-delivered {
    margin-right: 15px;
    float: right;
    margin-top: -10px;
    font-size: 12px;
}

.network-message-failed {
    margin-left: 380px;
    color: red;
    font-size: 12px;
    margin-top: -10px;
}

.message-gray {
    padding: 15px;
    background-color: darkgray;
    border-radius: 10px;
    color: black;
    margin: 10px;
    margin-top: 30px;
    width: 250px;
}

.message-delivered {
    margin-left: 15px;
    float: left;
    margin-top: -10px;
    font-size: 12px;
}

.message-failed {
    margin-left: 15px;
    color: red;
    font-size: 12px;
    margin-top: -10px;
}

.width-100 {
    width: 100px;
}

#PhoneDisplay {
    display: flex;
    gap: 50px;
    margin-top: 15px;
    justify-content: center;
}

.message-field-container {
    gap: 50px;
    margin-top: 15px;
    justify-content: center;
    border-radius: 10px;
    width: 400px;
    background-color: white;
    border: 2px solid black;
}

.message-field {
    padding-left: 5px;
}

.message-container {
    display: flex;
    gap: 50px;
    margin-top: 15px;
    justify-content: left;
}

.message-section {
    top: 20px
}

.message-textbox-container {
    display: flex;
    gap: 50px;
    margin-top: 15px;
    justify-content: center;
}

.message-textbox {
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    width: 370px;
}

.message-send-container {
    display: flex;
    gap: 50px;
    margin-top: 15px;
    justify-content: center;
}

.send-text-btn {
    padding: 15px;
    background-color: lightsteelblue;
    border-radius: 10px;
    width: 400px;
}

.phone-display-container {
    background-color: white;
    border: solid black 2px;
    width: 500px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: hidden;
}

.driver-name {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin: 10px;
}

#driverPhone {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    margin: 10px;
}

#messageList {
    list-style-type: none;
    border-top: solid black 1px;
    padding: 0px 0px 30px 0px;
    margin: 0px;
    overflow: hidden scroll;
    height: 600px;
}

.driver-blue-message {
    padding: 15px;
    background-color: cornflowerblue;
    border-radius: 10px;
    color: white;
    margin: 10px;
    margin-top: 30px;
    width: 250px;
    margin-left: 150px;
}

.driver-from-number {
    margin-right: 15px;
    float: right;
    margin-top: -10px;
    font-size: 12px;
}

.green-message {
    padding: 15px;
    background-color: lightgreen;
    border-radius: 10px;
    color: black;
    margin: 10px;
    margin-top: 30px;
    width: 250px;
}

.green-number {
    margin-left: 15px;
    font-size: 12px;
    margin-top: -10px;
}

.no-messages {
    padding: 15px;
    background-color: lightgray;
    border-radius: 10px;
    color: white;
    margin: 10px;
    margin-top: 30px;
    width: 250px;
    margin-left: 150px;
}

.claims-custom-search-panel {
    width: 200px; /* Set desired width */
    padding: 8px; /* Adjust padding */
    border-radius: 5px; /* Rounded corners */
    border: 1px solid #ddd; /* Border styling */
    font-size: 14px;
    color: #333;
}

    .claims-custom-search-panel::placeholder {
        color: #999; /* Placeholder text color */
        font-style: italic;
    }

/*<!-- Custom CSS to make it look like cards with grouping and whitespace -->*/
.claims-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
}

.claim-card {
    width: 500px;
    padding: 20px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

.claim-header {
    background-color: dimgray;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-left h3 {
    margin: 0;
    font-size: 1.2em;
    color: white;
}

.header-left p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #fff;
}

.header-right {
    margin-left: auto;
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.claim-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.claim-upper {
    display: flex;
    justify-content: space-between;
}

.claim-upper-left {
    width: 60%;
}

.claim-upper-right {
    width: 35%;
}

.claim-upper-left p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

.claim-upper-right .claim-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #ddd;
}

.claim-upper-right label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #555;
    margin-right: 10px;
}

.claim-upper-right span {
    font-size: 0.9rem;
    color: #333;
}

.claim-lower .claim-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.claim-lower label {
    font-weight: bold;
    font-size: 0.9rem;
    color: #555;
    margin-right: 10px;
}

.claim-lower span {
    font-size: 0.9rem;
    color: #333;
}

/* Button Styling */
.claim-edit-btn {
    text-decoration: none;
    background-color: #a1a1a1;
    color: white !important;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    border: 1px solid lightgray;
    display: inline-block;
}

.claim-edit-btn:hover {
    background-color: #8e8e8e;
    color: white !important;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .2s;
    transition: .2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ===== Modal ===== */
#claimsModal.modal-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1000;
}

    #claimsModal.modal-overlay[data-open="true"] {
        opacity: 1;
        pointer-events: auto;
    }

.modal {
    width: min(560px, calc(100vw - 32px));
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(8px) scale(.98);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
    text-align: center; /* Center all text inside */
}

    .modal[data-open="true"] {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px 10px;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    display: none;
}

.modal-body {
    padding: 0 20px 20px;
    text-align: center;
}

.modal-footer {
    display: flex;
    justify-content: center;
    padding: 12px 20px 20px;
}

.divider {
    display: none;
}

/* Prevent background scroll when modal is open */
.no-scroll {
    overflow: hidden;
}

.modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--accent);
    color: var(--accent-contrast);
    font-weight: 600;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    width: 100%; /* Fill the footer space */
}

    .modal-btn:hover {
        filter: brightness(1.05);
    }

    .modal-btn:active {
        transform: translateY(1px);
    }
