﻿.modal-content{
    max-height:650px;
    overflow:auto;
    padding-top:5%;
}
.ccswb-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    z-index: 10;
    height: 100px;
}

.ccswb-user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9;
}

.welcome-text {
    font-size: 16px;
    color: #333;
}
.truncate-name{
    display: inline-block;
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    cursor: pointer;
}
/*.logout-btn {
    background-color: #d32f2f;*/
    /*color: #fff;*/
    /*border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}*/

    .logout-btn:hover {
        background-color: #b71c1c;
    }


.login-again-btn:hover {
    background-color: #0d47a1;
}

.disabled-btn {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

#sendPaperwork:disabled {
    background-color: #333;
    color: Background;
    cursor: not-allowed;
}

.text-danger {
    color: red;
    margin-left: 10px;
}

label.label-error {
    color: red;
}

.validation-message {
    margin-left: 18px;
    color: red;
}


.input-validation-error {
    border-color: red;
}

error-highlight {
    border: 2px solid red !important;
    border-radius: 6px;
    padding: 2px;
}

.error-radio {
    border: 2px solid red !important;
    border-radius: 6px;
    padding: 6px;
}

.error-checkbox {
    border: 2px solid red !important;
    border-radius: 6px;
    padding: 6px;
}

/File Upload/
#uploadPanel {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s;
    cursor: pointer;
}

#uploadPanel.drag-over {
    border-color: #666;
}

#uploadPanel.error {
    border-color: red;
}

.input-error {
    border: 1px solid red !important;
}

.truncate-text-25 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 25ch !important;
    padding-left: 5%;
}

.error-highlight {
    border: 2.5px solid red !important;
    border-radius: 6px;
    padding: 2px;
}

.error-radio {
    border: 2.5px solid red !important;
    border-radius: 6px;
    padding: 6px;
}

.error-checkbox {
    border: 2.5px solid red !important;
    border-radius: 6px;
    padding: 6px;
}

/* Default state */
#uploadPanel {
    border: 2px solid #ccc;
    transition: border-color 0.3s ease;
}


    #uploadPanel.error {
        border-color: red !important;
    }
.text-gray-600 {
    color: #4b5563;
    font-weight: normal;
}

.text-red-600 {
    color: red !important;
    font-weight: normal;
}

#fileIcon {
    width: 2rem !important;
    height: 2rem !important;
    object-fit: contain !important;
}



.icon-input {
    position: relative;
   /* display: flex;*/
    align-items: center;
}

.dollar-icon-left::before {
    content: "$";
    position: absolute;
    left: 10px;
    color: #4b5563;
    font-size: 1rem;
    pointer-events: none;
}


.icon-input .icon-btn.left {
    padding-left: 28px !important;
}


.error-highlight {
    border: 2px solid red !important;
}

#sendPaperwork:disabled {
    background-color: #333;
    color: Background;
    cursor: not-allowed;
}

.bgblackTrans {
    background-color: rgba(0, 0, 0, 0.5);
}


.error-Select {
    border: 2.5px solid red !important;
    border-radius: 6px;
    padding: 2px;
}

.noBorder_wrapper {
    border: none !important;
    box-shadow: none !important;
}

#TblPastDonationRequest_wrapper .dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 0px solid rgba(0, 0, 0, 0.3) !important;
    border-top: 0px solid rgba(0, 0, 0, 0.3) !important;
}

#PastDonationRequestcontainer .dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 0px solid rgba(0, 0, 0, 0.3);
    border-top: 0px solid rgba(0, 0, 0, 0.3);
}

#TblPastDonationRequest_wrapper table.dataTable thead th, table.dataTable thead td {
    padding: 0px;
    border-bottom: 0px solid rgba(0, 0, 0, 0.3);
}

.header-label-text {
    font-size: 15px !important;
    font-weight: 600;
    color: #252627;
    margin: 6px 5px 10px 5px;
}

.asterisk-red { 
}

    .asterisk-red::after {
        content: "*"; /* Adds a space and an asterisk */
        color: red;
        font-size: 0.9em; /* Adjust as needed */
        vertical-align: top; /* Helps align with the text */
    }
  .flex-center h4 {
    font-size: 13px;    
    margin-right: 20px;
}
.breadcrumb-no-space {
    gap: 0 !important;
}
    .breadcrumb-no-space h4 {
        margin: 1px;
        padding: 1px;
        margin-bottom: 10px;
    }
.responsive-scroll-div {
    min-height: 100px; /* Minimum height for the div */
    max-height: 30vh; /* Maximum height, responsive to viewport height */
    overflow-y: auto; /* Enable vertical scrolling when content exceeds max-height */
    overflow-x: hidden; /* Hide horizontal scrollbar if not needed */
    /* Add other styling as needed for responsiveness, e.g., width, padding, etc. */
    width: 100%; /* Example: full width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
@media (max-width:768px) {
    .ccswb-user-actions {
        gap: 6px!important;
    }
    .truncate-name {
        max-width: 140px;
    }
}
@media (max-width:1366px) {
    .modal-content {
        max-height: 550px;
    }
}
@media only screen and (min-device-width : 640px) and (max-device-width : 1024px) and (orientation : landscape) {
    .modal-content {
        max-height: 296px !important;
    }
}
@media only screen and (min-device-width: 360px) and (max-device-width: 740px) and (orientation: landscape) {
    .modal-content {
        max-height: 270px!important;
    }
}

#TblPastDonationRequest tbody td {
    min-height: 55px; /* Adjust the value as needed */
    line-height: 55px; /* Helps center single-line content vertically */
    /* Optional: Prevents text wrapping to maintain the minimum height appearance */
    white-space: nowrap;
    overflow: hidden;
}

/* Ensure table rows also adhere to the height constraint */
#TblPastDonationRequest tbody tr {
    min-height: 45px; /* Ensures the row container is at least this height */
    height: auto; /* Allows rows to grow with content if necessary */
}
.documentation-process-container-product {
    border: 1px solid #252627;
    background-color: #EDDAFF;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 24px;
    position: relative;
}

    .documentation-process-container-product .dp-details {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        /* margin-bottom: 24px; */
    }

        .documentation-process-container-product .dp-details img {
            width: 32px;
            height: 32px;
        }

        .documentation-process-container-product .dp-details p {
            font-size: 13px;
            font-weight: 700;
            color: #000;
            padding: 6px;
        }

.close-alert-btn {
    position: absolute;
    top: 0px;
    right: 5px;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
}

.overlay {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    height: 100vh;
    width: 100%;
    position: fixed; /* Fix the position relative to the viewport */
    top: 0;
    left: 0;
    z-index: 9999; /* Ensure it's on top of other content */
    display: none; /* Hidden by default */
    pointer-events: auto; /* Re-enable pointer events for the overlay itself if needed, but the main content will be naturally unclickable underneath a fixed overlay */
}

/* Style for the actual loading spinner (e.g., a GIF or CSS spinner) */
.loader {
    position: fixed; /* Fixed position so it stays in the center of the screen */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the spinner perfectly */
    z-index: 10000; /* Ensure it's on top of the overlay */
    /* Add your spinner styles here, e.g., background-image: url('loading.gif'); */
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}