input[type="file"] {
    display: none;
}
.image_unit_form form .field input[type="date"] {
    color: #eee;
}
::-webkit-calendar-picker-indicator{
    background-color: var(--color-azure);
    padding: 8px;
    color: var(--color-primary);
    border-radius: 5px;
}
/* =============================== NAVBAR ============================== */
.nav_bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
    box-shadow: 0 0 10px -5px var(--color-primary);
    background: var(--color-primary);
}
.nav_bar .search_bar-container{
    background: var(--color-gray-900);
    width: 30rem;
}
.nav_bar .search_bar input {
    padding: 0;
}

.danger {
    color: var(--color-red);
}

.sch_logo {
    display: flex;
    align-items: center;
    background: var(--color-primary);
    padding: 8px 5px 8px;
    padding-left: 35px;
    color: var(--color-azure);
}
.sch_logo_det{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sch_logo img {
    height: 50px;
    width: 50px;
    margin-left: 20px;
}

.sch_logo i {
    font-size: 20px;
}
.sch_logo h3{
    font-size: 25px;
    font-family: meri;
    font-weight: 600;
}

.display_pic {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.display_pic img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
}

.display_pic i {
    margin-left: 20px;
    font-size: 20px;
    color: var(--color-white);
}
.display_pic .fa-search {
    margin-right: 20px;
}

/* =============================== DASHBOARD ============================== */
.dashboard {
    display: flex;
    justify-content: flex-end;
    background: var(--color-gray-200);
    padding: 66px 0 0;
    overflow: hidden;
    height: 100vh;
}

.dashboard aside{
    position: fixed;
    left: 0;
    width: 18%;
    height: 90vh;
    background: var(--color-primary);
    overflow-y: scroll;
}
.dashboard aside::-webkit-scrollbar {
    width: 5px;
    background: #eee;
}

.dashboard aside::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: inset 0 0 0px transparent;
}

.dashboard aside::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--color-gray-ccc);
}
.dashboard aside ul li a{
    background: var(--color-primary);
    padding: 20px 30px;
    color: var(--color-azure);
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: var(--font-18);
    transition: 0.4s ease-in-out;
}
.dashboard aside ul li a h5{
    font-size: var(--font-16);
}

.dashboard aside ul li.active a {
    background: var(--color-white);
    color: var(--color-primary);
    border-left: 5px solid var(--color-bg);
}

.dashboard aside ul li a:hover {
    background: var(--color-white);
    color: var(--color-primary);
}
.dashboard main{
    padding: 20px;
    width: 82%;
    overflow-y: scroll;
    font-size: 16px;
}
.dashboard main::-webkit-scrollbar {
    width: 5px;
    background: #eee;
}

.dashboard main::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: inset 0 0 0px transparent;
}

.dashboard main::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--color-gray-ccc);
}

.dashboard main .online_form form{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}
.online_form form button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    /* width: 450px; */
    font-size: 18px;
    font-weight: 400;
    background: var(--color-bg);
    color: var(--color-azure);
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    border: none;
    transition: 0.4s ease-in-out;
}
.online_form form button:hover {
    background: var(--color-gray-900);
}
.dashboard main .sch_pg_h1{
    text-align: center;
}
.dashboard main .band {
    background: var(--color-primary);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--color-azure);
    display: flex;
    justify-content: center;
    padding: 20px 5px;
    align-items: center;
    height: auto;
    text-align: center;
}
.dashboard main .band h1{
    font-size: var(--font-35);
}
.dashboard main .band h1 span{
    text-decoration: underline;
}
.dashboard main table {
    width: 100%;
    font-size: var(--font-16);
    text-transform: capitalize;
}
.dashboard main table .add_icon{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dashboard main table .add_icon a{
    color: var(--color-bg);
}
.dashboard main table .add_icon a:hover{
    color: var(--color-primary);
}
.dashboard main table .txt_left{
    text-align: left;
}
.dashboard main table th {
    background: var(--color-gray-900);
    padding: 0.8rem;
    color: var(--color-azure);
    text-align: center;
}
.dashboard main table th:not(:first-child) {
    border-left: 1px solid var(--color-gray-200);
}
.dashboard main table td {
    text-align: center;
    padding: 22px 10px;
    border-bottom: 1px solid var(--color-gray-300);
    word-wrap: break-word;
    word-break: break-all;
}
.dashboard main table td i{
    font-size: 17px;
}
.dashboard main table td .danger .fa-upload{
    color: var(--color-red);
    font-size: 25px;
}
.dashboard main table td img{
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.dashboard main table td:not(:first-child) {
    border-left: 1px solid var(--color-gray-200);
}
.dashboard main table tr:hover td {
    background-color: var(--color-gray-100);
    cursor: default;
    transition: var(--transition);
}
/* ------------------------==================== EDIT PROFILE ==================----------------------- */
.edit_unit {
    border-radius: 20px;
    background: var(--color-primary);
    padding: 20px;
    color: var(--color-azure);
}

.image_unit_form h1 {
    font-size: var(--font-35);
    text-align: center;
    padding: 0 0 20px;
}

.image_unit_form .image_unit {
    display: flex;
    flex-direction: row;
    width: 50%;
    position: relative;
    margin: 0 auto 10px;
}
.image_unit_form .image_unit h2 {
    text-align: center;
    font-size: 25px;
    padding-top: 10px;
}
.image_unit_form .image_unit img {
    border-radius: 20px;
    height: 250px;
    width: 100%;
    padding: 4px;
    border: 5px solid var(--color-azure);
    object-fit: cover;
}

.image_unit_form .image_unit .image_plus_icon .file {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--color-gray-900);
    height: 50px;
    width: 50px;
    font-size: 22px;
    padding: 10px;
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
}
.image_unit_form form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin: 0 30px;
}
.image_unit_form form label{
    font-size: var(--font-18);
}
.image_unit_form form .field .pdf_icon label{
    margin-top: 10px;
    font-size: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.image_unit_form form .field .pdf_icon label small{
    font-size: var(--font-20);
}
.image_unit_form form .field{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.image_unit_form form .field label {
    font-size: var(--font-16);
    color: var(--color-gray-200);
}
.image_unit_form form .field input, .field textarea {
    background: transparent;
    font-size: var(--font-18);
    border-bottom: 1px solid var(--color-gray-900);
    border-radius: 0;
    font-weight: var(--font-weight-600);
    margin-bottom: 10px;
    height: 50px;
    padding: 0 20px;
    color: var(--color-azure);
}
.image_unit_form form .field select {
    padding: 0 20px;
    height: 40px;
    width: 100%;
    background: none;
    resize: none;
    color: var(--color-azure);
    font-size: var(--font-16);
    border: none;
    border-bottom: 1px solid var(--color-gray-900);
    outline: none;
    border-radius: 3px;
}
.image_unit_form form .field select option{
    color: var(--color-primary);
}
.image_unit_form form .field textarea {
    height: 150px;
}
.image_unit_form form .field .faq_ans {
    height: 50px;
}
.image_unit_form form .field button {
    height: 40px;
    /* width: 450px; */
    font-size: var(--font-16);
    font-weight: 400;
    background: var(--color-bg);
    color: var(--color-primary);
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    border: none;
    margin-bottom: 10px;
    transition: 0.4s ease-in-out;
}
.image_unit_form form .field button:hover {
    background: var(--color-gray-900);
}
.image_unit_form .clasp_view {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.image_unit_form .view_cont {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.image_unit_form .view_cont label {
    font-size: 18px;
    color: var(--color-gray-200);
}
.image_unit_form .view_cont .view_val {
    background: transparent;
    font-size: 20px;
    border-bottom: 1px solid var(--color-gray-900);
    border-radius: 0;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 10px 20px;
    color: var(--color-azure);
}
.signin_form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 7rem auto 0;
}
.signin{
    background: var(--color-primary);
    padding: 20px 0;
    border-radius: 20px;
}
.signin .formheader{
    text-align: center;
    color: var(--color-azure);
}
.signin .formheader h1{
    padding: 10px 0 0;
    font-size: var(--font-25);
}
.signin form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin: 0 30px;
}
.error-txt{
    color: var(--color-red);
    background: var(--color-red-light);
    padding: 8px 10px;
    text-align: center;
    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    font-size: var(--font-16);
}
.success-txt{
    color: var(--color-green);
    background: var(--color-green-light);
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: var(--font-16);
}
.signin form .field{
    border-bottom: 1px solid var(--color-gray-900);
    position: relative;
    padding: 10px 0;
    margin-bottom: 10px;
}
.signin form .field input {
    background: transparent;
    font-size: var(--font-18);
    border-radius: 0;
    font-weight: var(--font-weight-600);
    padding: 0 10px;
    color: var(--color-azure);
}
.signin form .field i {
    position: absolute;
    right: 15px;
    color: var(--color-gray-ccc);
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.signin form .field i.active::before {
    color: #555;
    content: "\f070";
}
.signin form button {
    height: 40px;
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    background: var(--color-bg);
    color: var(--color-azure);
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    border: none;
    margin-bottom: 10px;
    transition: 0.4s ease-in-out;
}
.signin form button:hover {
    background: var(--color-gray-900);
}
/* =============================== MEDIA QUERY FOR 830px ============================== */
@media only screen and (max-width: 830px) {
    .nav_bar .search_bar-container{
        width: 100%;
    }
    .dashboard main::-webkit-scrollbar {
        width: 0;
    }
    .dashboard aside ul li a {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    .sch_logo img {
        height: 40px;
        width: 40px;
    }
    .nav_bar {
        padding: 8px 0;
        padding-right: 20px;
    }
    .image_unit_form .image_unit {
        width: 90%;
    }
}
/* =============================== MEDIA QUERY FOR 830px ============================== */
@media only screen and (max-width: 430px) {
    .sch_logo{
        position: relative;
        padding-left: 30px;
    }
    .display_pic .fa-search {
        display: block;
    }
    .search{
        position: absolute;
        top: 9.5vh;
        right: 2vw;
        left: 20vw;
    }
    .dashboard main {
        padding: 20px 10px 20px;
    }
    .dashboard main .online_form form{
        flex-direction: column;
    }
    .dashboard main table .txt_left{
        text-align: center;
    }
    .dashboard main table th {
        display: flex;
        flex-direction: column;
    }
    .dashboard main table .add_icon {
        flex-direction: row;
    }
    .dashboard main table tbody td {
        display: flex;
        flex-direction: column;
        padding: 18px 10px;
    }
    .dashboard aside ul li a{
        padding: 15px 0;
    }
    .dashboard aside ul li a h5 {
        font-size: var(--font-14);
        text-align: center;
        padding: 0 2px;
    }
    .dashboard main table td:is(:last-child) {
        border-bottom: 4px solid var(--color-gray-300);
    }
    .dashboard main .band h1{
        font-size: var(--font-30);
    }
    .edit_unit {
        padding: 20px 5px;
    }
    .edit_unit .O_form{
        padding: 0 10px;
    }
    .image_unit_form .image_unit img {
        height: 200px;
    }
    .image_unit_form .image_unit .image_plus_icon .file {
        height: 40px;
        width: 40px;
        font-size: 20px;
    }
    .image_unit_form .clasp_view {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* =============================== MEDIA QUERY FOR 375px ============================== */
@media only screen and (max-width: 375px) {
    /* =============================== NAV ============================== */
    .dashboard aside ul li a h5{
        font-size: 13px;
    }
    .image_unit_form form {
        margin: 0 15px;
    }
    .display_pic .fa-search {
        margin-right: 10px;
    }
    .display_pic i {
        margin-left: 10px;
    }
    .sch_logo {
        padding-left: 20px;
    }
}