*{
    margin: 0;
    padding: 0;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-family: "Inter", sans-serif;
    font-style: normal;
}
a{
    text-decoration: none;
    color: inherit;
}
hr{
    border-color: #cccccc;
}
.width-100{
    width: 100% !important;
}
header {
    background: #eaffed;
    padding: 8px 24px;
    position: sticky;
    z-index: 9999;
    top: 0;
}
.logout-link a{
    font-size: 14px;
}
.main-form{
    padding: 24px;
}
.form-row.gr-3 {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1fr 1fr 1fr;
}
.form-block{
    margin-bottom: 24px;
    min-height: fit-content;
}
.form-check-input:checked {
    background-color: #056533 !important;
    border-color: #056533 !important;
}
.form-block-head {
    background: linear-gradient(90deg, #f6fefa 0%, #e6ffe8 100%);
    padding: 12px 16px;
    border: 1px solid #f1fff3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form-block-head h3{
    color: #111928;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0;
}
.form-block-head .form-check label{
    color: #111928;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}
.form-block-head .form-check{
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.form-check .form-check-input{
    margin-top: 0;
}
.form-block-head .form-check .form-check-input{
    margin-top: 0;
}
.form-block-body{
    padding: 16px;
    border: 1px solid #eee;
    float: left;
    width: 100%;
    height: calc(100% - 51px);
}
.form-block-body .section h4{
    color: #111928;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.form-block-body .section {
    display: flex
;
    flex-direction: column;
    float: left;
    width: 50%;
    margin-bottom: 16px;
    padding-right: 16px;
}
.form-block-body .section .form-check label{
    color: #4B5563;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    
}
.form-block-body .has-sub-ques .sub-checkbox .form-check-input{
    margin-top: 0;
}
.form-block-body .section .form-check{
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}
.form-block-body .section .form-control{
    
    height: 28px;
}
.form-block-body .section .form-check label input:nth-child(2){
    margin-top: 8px;
}
.form-block-body .has-sub-ques{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form-block-body .has-sub-ques .form-check-input{
    margin-top: 4px;
}
.form-block-body .has-sub-ques > div:first-child{
    width: 100%;  
}
.form-block-body .has-sub-ques .sub-checkbox{
    display: flex;
    align-items: center;
    gap: 12px;
}
.form-block-body .has-sub-ques .sub-checkbox .form-check-inline{
    display: flex;
    align-items: center;
    gap: 4px;
}
.other-inputs{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
 .form-group label{
    font-size: 12px;
}
.other-inputs .form-group{
    margin-bottom: 0;
}
.form-group .form-control{
    font-size: 12px;
}
.sup-notes-label{
    font-size: 12px;
    font-weight: 600;
}
.sup-notes-sec .form-check-label{
    font-size: 12px;
}
.form-submit{
    width: auto;
    font-size: 14px;
}
.basic-details .form-group{
    margin-bottom: 12px;
}
.basic-details .form-check-inline .form-check-input{
    margin-top: 6px;
}
.form-list-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-right{
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-right .input-group-text{
    background: transparent;
    border-right: 0;
    padding-right: 0;
}

.header-right .input-group-text .material-symbols-rounded{
    font-size: 20px;
}
.header-right input.form-control{
    border-left: 0;
    font-size: 14px;
}
.header-right input.form-control:focus{
    box-shadow: none;
    border-color: #ddd;
}
.form-list-header h1{
    font-size: 24px;
font-weight: 700;
}

.header-right .form-submit{
    white-space: nowrap;
}
.form-list-body .card-body{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form-list-body .card-body .card-left .card-title{
    font-size: 16px;
    font-weight: 700;
}
.form-list-body .card-body .card-left .card-text{
    font-size: 12px;
    color: #4B5563;
}
.form-list-body .card-body .card-right{
    display: flex;
    gap: 24px;
    text-align: center;
}
.form-list-body .card-body .card-right .form-data p:first-child {
    font-size: 14px;
    margin-bottom: 0;
}
.form-list-body .card-body .card-right .form-data p:last-child {
    font-size: 12px;
    color: #4B5563;
    margin-bottom: 0;
}
.form-list-body .card{
    
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    transition: 0.3s all ease-in-out;
}
.form-list-body .card:hover{
    transform: translateY(-2px);
    box-shadow: 0px 2px 6px 0px rgba(17, 25, 40, 0.05);
    
}









@media screen and (max-width: 767px) {
    .form-row.gr-3 {
        display: grid;
        align-items: stretch;
        grid-template-columns: 1fr;
    }
    .sup-notes-sec .col-12 .d-flex{
        flex-direction: column;
        align-items: flex-start !important;
    }
    .visit-sec .row.g-3 .col-auto{
    
        width: 100%;
    }
    .visit-sec .row.g-3{
        --bs-gutter-y: 0;
    }
    .visit-sec .row.g-3 input[type="time"]{
        width: 100%;
    }
    .form-list-header{
        flex-direction: column;
        align-items: flex-start;
    }
    .form-list-body .card-body{
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .form-list-body .card-body .card-right{
        padding-top: 12px;
        border-top: 1px solid #ddd;
        text-align: left;
        gap: 12px;
        justify-content: space-between;
        width: 100%;
    }
    .form-list-body .card-body .card-right .form-data p:first-child{
        font-size: 12px;
    }
  }

#loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    background: rgba(0,0,0,0.5);
    color: #ffffff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 1rem;
}

    #loading-wrapper .spinner-border {
        width: 5rem;
        height: 5rem;
        color: #5957b1;
        border-width: .7em;
        margin-bottom: 10px;
    }


.custom-green-color{
    background-color: #007639;
    border-color: #007639;
    color:white;
}

.custom-green-color:hover {
    background-color: #056533;
    border-color: #056533;
    color: white;
}

.signatureSvg {
    fill: lightgray;
}

.signatureSvg:hover {
    fill: #007639;
}
.clearSignatureSvg {
    fill: lightgray;
}

.clearSignatureSvg:hover {
    fill: #97111E;
}

.with-border {
    border: 1px solid lightgrey !important;
}
