.modal-programs-area-details {
    background-color: white;
    /* width: 100%; */
    height: auto;
    width: 680px;
    position: fixed;
    top: 2vh;
    left: 440px;
    z-index: 999 !important;
    /* overflow-y: scroll; */
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #EEEEEE;
}

@media screen and (max-width: 1130px) {
    .modal-programs-area-details {
        width: 400px;
    }
}

@media screen and (max-width: 850px) {
    .modal-programs-area-details {
        width: 350px;
    }
}

@media screen and (max-width: 800px) {
    .modal-programs-area-details {
        width: 70%;
        right: 20px;
        left: unset;
        min-width: 375px;
    }
}

.modal-programs-area-details .modal-programs-area-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; 
}

.modal-programs-area-details .modal-programs-area-details-header img {
    width: 20px;
    height: 20px;
}

.modal-programs-area-details .modal-programs-area-footer {
    display: flex;
    justify-content: space-between;
}
.modal-programs-area-details .modal-programs-area-footer .btn-success {
    background-color: #33795B;
    border-color: #33795B;
    align-self: end;
}

.modal-programs-area-details select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%23009036" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') 
                no-repeat right 10px center;
    padding-right: 35px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    height: 34px;
}

.modal-programs-area-details .programs-area-details-table .programs-area-details-table-header {
    text-transform: uppercase;
    /* margin-bottom: 20px; */
    color: rgba(20,20,20,0.6);
    font-weight: 600;
    font-size: 12px;
    background-color: #33795B;
    color: white;
    padding: 10px;
    display: block;
    width: 100%;
}

.modal-programs-area-details .programs-area-details-table table {
    width: 100% !important;
    border-collapse: separate;
    border-radius: 4px;
    overflow-y: auto;
    height: 66vh;
    display: grid;
    background-color: #F5F5F5;
    /* padding: 0 20px; */
    /* border-spacing: 0 10px; */
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

/* .modal-programs-area-details .programs-area-details-table table tbody tr:nth-of-type(1) {
    position: sticky;
    top: 0;
} */

.modal-programs-area-details .btn-group .btn {
    border: 1px solid #33795b;
    padding: 8px 16px;
    color: #33795B;
    border-radius: 4px;
}
.modal-programs-area-details .btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: 2px;
}
.modal-programs-area-details .programs-area-details-table .square-btn {
    width: 16px;
    height: 16px;
    color: white;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
    border-radius: 4px;
    cursor: pointer;
}
.modal-programs-area-details .programs-area-details-table .square-btn.green-square-btn {
    background-color: #33795B;
    line-height: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-programs-area-details .programs-area-details-table .square-btn.red-square-btn {
    background-color: #EA3030;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-programs-area-details .programs-area-details-table table tr {
    background-color: #F5F5F5;
    padding: 0 10px;
}
.modal-programs-area-details .programs-area-details-table table tr td,
.modal-programs-area-details .programs-area-details-table table tr th {
    border: none;
}
.modal-programs-area-details .programs-area-details-table table tr td,
.modal-programs-area-details .programs-area-details-table table tr th {
    padding: 0;
}

.modal-programs-area-details .programs-area-details-table .section-header {
    color: rgba(20,20,20,0.6);
    padding: 10px 0;
    font-weight: bold;
    width: 33.333%;
}

.modal-programs-area-details .programs-area-details-table tr {
    display: flex;
}

.modal-programs-area-details .programs-area-details-table .section-data {
    border-top: 1px solid #dee2e6;
}

.modal-programs-area-details .programs-area-details-table .section-data td {
    padding: 10px 0;
    width: 33.333%;
}