* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}


/* ==== Color Variabels =====*/

:root {
    --main-color: #927851;
    --secondary-color: #555844;
    --link-color: #927851;
    --link-color-active: #fff;
    --link-color-active-bg: #927851;
    --button-bg: #1f1c24;
}


/* ===== Main Style =====*/

body,
html {
    width: 100%;
    margin: 0;
    font-family: cairo
}

body {
    display: flex;
    justify-content: center;
    background-image: url(../img/bg.webp);
    background-size: cover;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background-attachment: fixed
}

body:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../img/ethaaf_bg.webp);
    width: 100vw;
    height: 100vh;
    z-index: -1
}

a,
button {
    cursor: pointer
}

.btn-warning {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color)
}

.btn-warning:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color)
}

input[type="text"],
select,
input[type="number"],
input[type="password"],
input[type="email"] {
    display: block;
    padding: 5px;
    width: 100%;
    margin: 5px 0px 7px;
    border: 0;
    border-bottom: 2px solid var(--main-color)
}

ul {
    list-style: none;
}

.main-btns {
    border: 0;
    padding: 10px 30px;
    background-color: var(--main-color);
    color: white;
    border-radius: 50px
}

.secondary-btns {
    border: 0;
    padding: 10px 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px
}

.custoom-btn {
    border-radius: 0;
    color: white;
    font-size: 11px;
    padding-left: 10px;
    padding-right: 5px;
}

.main-btns.dropdown-toggle {
    padding-left: 10px;
    padding-right: 15px;
}

.main-btns svg {
    color: white;
    font-size: 12px
}


/* ===== Loader ===== */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 99999999;
    background-image: url(../img/Vector%20Smart%20Object.svg);
    background-repeat: no-repeat;
    background-position: center
}

.app-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: .4s ease-in-out;
    max-width: 1800px;
    /* position: */
}

.form-content {
    max-width: 1000px !important;
}

.app-content {
    display: flex;
    height: 100%;
    overflow: hidden;
    padding: 0 24px
}


/*Header*/

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px 12px 40px;
    margin: 10px 24px 10px 24px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1.4px) brightness(109%);
    -webkit-backdrop-filter: blur(1.4px) brightness(109%);
    border-radius: 20px;
    position: relative;
    z-index: 11;
    top: -25px;
    transition: .5s ease-in-out;
    opacity: 0;
    background-color: #FFF
}

.app-header-left,
.app-header-right {
    display: flex;
    align-items: center;
    position: relative
}

.app-header-right {
    cursor: pointer;
    transform: rotate(-270deg);
    transition: .5s ease-in-out
}

.app-header-right svg {
    font-size: 20px;
    color: var(--main-color);
}

.app-header-right.clicked {
    transform: rotate(0deg)
}

.add-btn {
    color: #fff;
    background-color: var(--main-color);
    padding: 0;
    border: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease-in-out
}

.add-btn.open-list {
    transform: rotate(315deg)
}

.adding-things {
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 3;
    background: var(--button-bg);
    transition: .4s ease-in-out;
    color: white;
    list-style: none;
    border-radius: 10px;
    height: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 22px;
}

.adding-things.slides {
    height: 160px;
}

.adding-things li {
    margin: 7px 0px;
    cursor: pointer
}

.profile-btn {
    padding: 0;
    border: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    padding-left: 12px
}

.profile-btn span {
    color: var(--main-color);
    font-size: 16px;
    line-height: 24px;
    font-weight: 700
}


/*Side bar*/

.app-sidebar {
    padding: 40px 20px 0;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1.4px) brightness(109%);
    -webkit-backdrop-filter: blur(1.4px) brightness(109%);
    height: 85vh;
    border-radius: 20px;
    position: relative;
    z-index: 12;
    right: -25px;
    transition: .5s ease-in-out;
    opacity: 0;
    overflow: hidden;
    overflow-y: scroll;
}

.scroll-arrow {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    visibility: hidden;
    color: var(--main-color);
}

.app-sidebar:hover .scroll-arrow {
    visibility: visible;
}

.app-sidebar::-webkit-scrollbar {
    display: none;
}

.app-sidebar-link {
    color: var(--main-color);
    color: var(--link-color);
    margin: 10px 0;
    transition: .4s ease-in-out;
    border-radius: 6px;
    height: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.app-sidebar-link p {
    right: 40px;
    margin: 0;
    white-space: nowrap;
    width: 0;
    overflow: hidden;
    transition: .4s ease-in-out
}

.app-sidebar-link li {
    right: 40px;
    margin: 0;
    white-space: nowrap;
    width: 0;
    overflow: hidden;
    transition: .4s ease-in-out
}

.app-sidebar:hover .app-sidebar-link p,
.app-sidebar:hover .app-sidebar-link li,
.app-sidebar-link.show-titles p {
    margin-right: 20px;
    width: 100px
}

.app-sidebar-link svg {
    font-size: 19px
}

.app-sidebar-link:hover,
.app-sidebar-link.activated {
    background-color: var(--link-color-active-bg);
    color: var(--link-color-active)
}

.sign-out {
    position: absolute;
    bottom: 20px;
}


/*Project section*/

.projects-section {
    flex: 2;
    border-radius: 32px;
    padding: 32px;
    min-height: 500px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1.4px) brightness(109%);
    -webkit-backdrop-filter: blur(1.4px) brightness(109%);
    margin-right: 20px;
    position: relative;
    z-index: 9;
    bottom: -25px;
    transition: .5s ease-in-out;
    opacity: 0;
}

.projects-section-line {
    padding-bottom: 32px
}

.projects-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    color: var(--main-color)
}

.projects-section-header p {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    opacity: .9;
    margin: 0;
}

.projects-section-header .time {
    font-size: 20px
}

.item-status {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 16px;
    background-color: var(--main-color);
    color: #FFF !important;
    margin: 0px 10px
}

.status-number {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-align: center
}

.status-type {
    position: relative;
}

.view-actions {
    display: flex;
    align-items: center;
    margin-right: 15px
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    border-radius: 4px;
    background-color: transparent;
    border: none;
    color: var(--main-color);
    margin-left: 8px;
    transition: .2s
}

.view-btn.active {
    background-color: var(--link-color-active-bg);
    color: var(--link-color-active)
}

.view-btn:not(.active):hover {
    background-color: var(--link-color-hover);
    color: var(--link-color-active)
}

.project-box {
    border-radius: 30px;
    padding: 16px;
}

.project-box-content-header {
    text-align: center;
    margin-bottom: 16px
}

.project-box-content-header p {
    margin: 0
}

.project-box-wrapper {
    padding: 8px;
}

.box-content-header {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700
}

.box-content-subheader {
    font-size: 14px;
    line-height: 24px;
    opacity: .7
}

.box-progress {
    display: block;
    height: 4px;
    border-radius: 6px
}

.box-progress-bar {
    width: 100%;
    height: 4px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    margin: 8px 0
}

.box-progress-header {
    font-size: 14px;
    line-height: 16px;
    margin: 0
}

.box-progress-percentage {
    text-align: right;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px
}

@media screen and (max-width: 980px) {
    .status-number {
        font-size: 19px
    }

    .status-type {
        font-size: 14px
    }

    .status-type:after {
        width: 4px;
        height: 4px
    }

    .item-status {
        margin-right: 0;
        margin-bottom: 10px
    }
}

@media screen and (max-width: 720px) {
    .projects-section {
        overflow: auto;
        background-color: #FFF !important
    }

    .projects-section {
        margin-right: 0;
    }

    .app-name,
    .profile-btn span {
        display: none
    }

    .add-btn {
        width: 20px;
        height: 20px
    }

    .add-btn svg {
        width: 16px;
        height: 16px
    }

    .app-header-right button {
        margin-left: 4px
    }
}

@media screen and (max-width: 520px) {
    .project-boxes {
        overflow-y: visible
    }

    .app-icon,
    .app-sidebar {
        display: none
    }

    .app-content {
        padding: 0px;
        margin: 10px !important;
        margin-bottom: 80px !important
    }

    .projects-section {
        border-radius: 5px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, .3)
    }

    .view-btn {
        width: 24px;
        height: 24px
    }

    .app-header {
        padding: 16px 10px
    }

    .search-input {
        max-width: 120px
    }

    .projects-section {
        padding: 24px 16px 0 16px
    }

    .app-header {
        padding: 10px
    }

    .projects-section-header .time,
    .projects-section-header p {
        font-size: 18px
    }

    .status-type {
        padding-right: 4px
    }

    .status-type:after {
        display: none
    }

    .search-input {
        font-size: 14px
    }

    .box-content-header {
        font-size: 17px;
        line-height: 16px
    }

    .box-content-subheader {
        font-size: 12px;
        line-height: 16px
    }

    .box-progress-header {
        font-size: 12px
    }

    .box-progress-percentage {
        font-size: 10px
    }
}


/*========== Students page ============*/

.d-flex {
    align-items: center;
}

.generat-report {
    margin-right: 15px;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white
}

.my-modal-color {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white
}

.generat-report svg {
    margin-left: 5px
}

.toggle-menu {
    cursor: pointer
}

.toggle-menu svg {
    font-size: 17px;
    margin-right: 5px
}

.tabels-list {
    padding: 20px;
    position: absolute;
    background: var(--main-color);
    color: white;
    z-index: 2;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, .2);
    top: 70px;
    display: none;
}

.tabels-list li {
    margin: 4px 0px;
    cursor: pointer
}


/* ====== Profile page =====*/

.profile .row {
    margin: 10px 0px
}

.profile > p {
    font-size: 19px;
    margin: 20px 0px 10px;
    padding: 0;
}

.profile .row label {
    margin: 5px 0px
}


/* ========== Bottom navbar ========== */

.cont_menu_bottom {
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: #fff;
    width: 100%;
    z-index: 99999;
    height: 70px;
}

.cont_menu_list ul {
    display: flex;
    position: relative;
    z-index: 9999999;
    margin-right: 60px;
    flex-wrap: wrap;
}

.cont_icon_menu {
    width: 75px;
    height: 70px;
    position: absolute;
    right: 0px;
    bottom: 0 !important;
    background-color: #fff;
    box-shadow: -10px 0px 20px -10px rgba(0, 0, 0, 0.2);
    top: 0px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    transition-delay: 0.05s;
    -webkit-transition-delay: 0.05s;
}

.cont_menu_list > ul > li > a,
.cont_menu_list > ul > li {
    text-decoration: none;
    color: var(--main-color);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer
}

.cont_menu_list > ul > li {
    position: relative;
    width: 25%;
    height: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    list-style-type: none;
    -wenkit-transition: all 0.15s;
    transition: all 0.15s;
    text-align: center;
}

.cont_sub_icon_cont {
    position: absolute;
    right: 20px;
    margin: 30px 5px;
    bottom: 0px;
}

.icon_burgue_span_1 {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    -webkit-transition: all 0.1s;
    transition: all 300ms cubic-bezier(0.000, 0.640, 0.620, 1.275);
}

.icon_burgue_span_2 {
    margin-top: 5px;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    -webkit-transition: all 0.1s;
    transition: all 300ms cubic-bezier(0.000, 0.640, 0.620, 1.275);
}

.cont_menu_active > .cont_icon_menu > .cont_sub_icon_cont > .icon_burgue_span_1 {
    transform: rotate(50deg) translate(30%, 50%);
}

.cont_menu_active > .cont_icon_menu > .cont_sub_icon_cont > .icon_burgue_span_2 {
    transform: rotate(-50deg) translate(10%, 50%);
}

.cont_menu_active > .cont_icon_menu {
    width: 100%;
    top: -130px;
    z-index: 1;
    height: 200px;
    transition: 0.15s;
    -webkit-transition: 0.15s;
}

.cont_menu_active > .cont_menu_list > ul > li {
    -webkit-transform: translate(0, -100px);
    transform: translate(0, -100px);
    animation-timing-function: ease-out;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(1) {
    -webkit-transition-delay: 0.02s;
    transition-delay: 0.02s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(2) {
    -webkit-transition-delay: 0.04s;
    transition-delay: 0.04s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(3) {
    -webkit-transition-delay: 0.06s;
    transition-delay: 0.06s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(4) {
    -webkit-transition-delay: 0.08s;
    transition-delay: 0.08s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(5) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(6) {
    -webkit-transition-delay: 0.12s;
    transition-delay: 0.12s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(7) {
    -webkit-transition-delay: 0.14s;
    transition-delay: 0.14s;
}

.cont_menu_active > .cont_menu_list > ul > li:nth-child(8) {
    -webkit-transition-delay: 0.16s;
    transition-delay: 0.16s;
}

.cont_menu_list > ul > li:nth-child(1) {
    -webkit-transition-delay: 0.08s;
    transition-delay: 0.08s;
}

.cont_menu_list > ul > li:nth-child(2) {
    -webkit-transition-delay: 0.06s;
    transition-delay: 0.06s;
}

.cont_menu_list > ul > li:nth-child(3) {
    -webkit-transition-delay: 0.04s;
    transition-delay: 0.04s;
}

.cont_menu_list > ul > li:nth-child(4) {
    -webkit-transition-delay: 0.02s;
    transition-delay: 0.02s;
}

.cont_menu_list > ul > li:nth-child(5) {
    -webkit-transition-delay: 0.02s;
    transition-delay: 0.02s;
}

.cont_menu_list > ul > li:nth-child(6) {
    -webkit-transition-delay: 0.04s;
    transition-delay: 0.04s;
}

.cont_menu_list > ul > li:nth-child(7) {
    -webkit-transition-delay: 0.06s;
    transition-delay: 0.06s;
}

.cont_menu_list > ul > li:nth-child(8) {
    -webkit-transition-delay: 0.08s;
    transition-delay: 0.08s;
}


/* ======= Edit Plan ======== */

.mark svg {
    width: 17px;
    height: 17px;
    font-size: 16px;
    border-radius: 50%;
    background: #9d9d9d;
    padding: 5px;
    color: white
}

.mark.checked svg {
    background-color: var(--secondary-color)
}


/* ========= Class page ======== */

.inside-card div {
    margin: 10px
}

.cards .card {
    padding: 10px;
    background: var(--main-color);
    color: white;
    border-radius: 10px;
    margin: 10px 0;
    cursor: pointer;
    transition: .4s ease-in-out
}

.cards .here {
    transform: scale(1.05);
    background: var(--secondary-color);
}

.card-header {
    justify-content: center;
}

.card-header h3 {
    font-size: 22px;
}

.inside-card div label {
    padding-right: 5px
}

.inside-card div .main-btns {
    border-radius: 5px;
    padding: 10px 10px;
    background-color: white;
    color: var(--button-bg);
    font-size: 14px
}

.inside-card div .main-btns:first-child {
    margin-left: 5px;
}

.accordion-button:not(.collapsed) {
    color: black;
    background-color: #fff;
}

.big-checkbox {
    width: 25px;
    height: 25px;
}

#distributeBtn .active {
    background-color: var(--main-color);
}

#distributeBtn :not(.active) {
    color: var(--main-color);
}


.datepicker {
    background-color: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
}

.datepicker table tr td,
.datepicker table tr th {
    background-color: white !important;
    color: black !important;
}

.datepicker .btn {
    background-color: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
}

.datepicker .prev,
.datepicker .next,
.datepicker .datepicker-switch {
    color: black !important;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover {
    background-color: #007bff !important; /* لون أزرق عند التحديد */
    color: white !important;
}

.swal-footer {
    text-align: center;
}
.swal-button {font-weight: 100}
.swal-title {font-weight: 100;font-size: 25px}

th select {
    margin: auto;
    max-width: 90%;
}
