﻿body.modal-open {
    overflow: hidden !important; /* Disable scrolling when modal is open */
    padding-right: 0 !important; /* Prevent Bootstrap from adding padding */
}

#modalProgramare {
    z-index: 1060;
}

    #modalProgramare.in {
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(7px) !important;
        background: #ffffff40 !important;
    }

    #modalProgramare .modal-dialog {
        width: unset;
        max-width: 1000px;
    }

    #modalProgramare .modal-content {
        background-color: transparent;
        box-shadow: unset;
        border: unset;
    }

    #modalProgramare #divModalLogo {
        text-align: center;
        max-height: 550px;
        overflow: hidden;
    }

#imgModalLogo {
    width: 150px;
    max-width: 150px;
    height: 150px;
    max-height: 150px;
    object-fit: contain;
    border-style: solid;
    border-width: 8px 8px 8px 8px;
    border-color: #FFFFFF;
    border-radius: 1000px 1000px 1000px 1000px;
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 50%);
    margin-bottom: 20px;
    background: white;
}

#modalProgramare .tooltip-modal {
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 10%);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 24px 24px 24px 24px;
    background-color: #FFFFFF;
    position: relative;
    border-radius: 10px;
    color: #50596C;
}

    #modalProgramare .tooltip-modal .tooltip-title {
        font-weight: bold;
        font-size: 20px;
        margin-bottom: 20px;
        color: #50596C;
    }

#modalProgramare #divModalProgramare {
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin: 0px;
    padding: 40px 40px 40px 40px;
    background-color: #FFFFFF;
    border-radius: 10px;
    line-height: 1.5;
    position: relative;
    color: #50596C;
}

.datepicker table tr td.active.active {
    background-color: #00d463 !important;
    background-image: none;
}

#modalProgramare #divModalProgramare .header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    line-height: normal;
}

    #modalProgramare #divModalProgramare .header img {
        margin-right: 10px;
        float: left;
        margin-top: 6px;
    }

    #modalProgramare #divModalProgramare .header .close {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 30px;
        font-weight: 400;
    }

#modalProgramare .txtBox {
    outline: none;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    padding: 8px;
    border: 2px solid rgba(200,200,200,.6);
    font-size: 16px;
    line-height: 20px;
    resize: none;
    display: block;
    min-width: 100%;
    border-radius: 5px;
}

    #modalProgramare .txtBox.eroare {
        border: 1px solid red;
    }

#modalProgramare .checkmark.eroare {
    border: 2px solid red;
}

#cboListaMedici {
    cursor: pointer;
    background: transparent;
    max-width: none;
    width: 100%;
    padding: 6px;
    border: 2px solid rgba(200, 200, 200, .6);
    margin: 5px 0;
    font-size: 16px;
    line-height: 20px;
    resize: none;
    display: block;
    min-width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../Icons/Admin/arrow-gray.png");
    background-repeat: no-repeat;
    background-position: right 20px center;
    border-radius: 5px;
}

.customChkContainer {
    justify-content: start;
    flex-direction: row-reverse;
}

#modalProgramare .btnSaveCls:link, #modalProgramare .btnSaveCls:hover, #modalProgramare .btnSaveCls:visited {
    background-color: #7563F8;
    color: #fff;
    padding: 10px 40px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px 6px 6px 6px;
    padding: 13px 24px 13px 24px;
    width: 100%;
    display: block;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
}

#modalProgramare .fa-arrow-right {
    position: absolute;
    top: 17px;
    color: white;
    right: 30px;
}

#modalProgramare .bifa a:link, #modalProgramare .bifa a:hover, #modalProgramare .bifa a:visited {
    color: #147BC6;
    text-decoration: none;
    font-weight: 500;
}

#modalProgramare #divZonaCalendar {
    position: relative;
}

#modalProgramare #divCalendarDataProgramare {
    display: none;
    position: absolute;
    background: white;
    z-index: 1;
    width: 100%;
    top: 35px;
    left: 0px;
    right: 0px;
    border: 1px solid rgba(200,200,200,.6);
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%);
}

#modalProgramare .perfect-datetimepicker {
    margin: 0px auto;
}

#modalProgramare #divOreProgramareContainer {
    display: none;
}

#modalProgramare .iconProgramare {
    color: #50596C;
    font-size: 20px !important;
}

#modalProgramare .close {
    color: #50596C;
}

@media all and (max-width:990px) {
    #modalProgramare #divModalProgramare {
        margin-top: 20px;
    }

        #modalProgramare #divModalProgramare .header .close {
            position: fixed;
            background: white;
            padding: 4px 13px;
            border-radius: 50%;
        }
}

@media all and (max-width:767px) {
    #modalProgramare #divModalProgramare {
        margin-top: 20px;
    }

    #modalProgramare #divModalProgramare {
        padding: 20px;
    }

    .divModalProgramareInputuri > * {
        padding: 0;
    }
}
