* {
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    align-items: center;
    background-color: #139DAA;
    color: white;
    padding: 15px 0px 15px 0px;
    position: static;
}

.dashboard-md {
    display: none;
}

.bottom-nav-md {
    display: none;
}

.bottom-nav-md .icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header .logo {
    width: 350px;
    /* padding-left: 5px;
    padding-right: 5px; */
    display: flex;
    justify-content: center;
    font-weight: 600;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
}

.header .logo a {
    color: white;
    text-decoration: none;
}

.header .logo a .logo-short {
    display: none;
}

.header .logo a .logo-full {
    display: block;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px 0px 30px;
    width: 100%;
}

.header .container .dashboard button {
    display: flex;
    gap: 15px;
    align-items: center;
    background-color: transparent;
    color: white;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

.header .container .right {
    display: flex;
    gap: 20px;
}

.header .container .right .search {
    display: flex;
    align-items: center;
    /* border: 1px solid red; */
    width: 250px;
    gap: 10px;
    padding: 10px 0px 10px 20px;
    background-color: #4eb6c0;
    border-radius: 20px;
}

.header .container .right .search input {
    background-color: transparent;
    border: none;
    color: white;
}

/* Placeholder color */
.header .container .right .search input::placeholder {
    color: white;
    opacity: 1; /* Ensures full color visibility */
}

/* Remove border on focus */
.header .container .right .search input:focus, textarea:focus, select:focus {
    outline: none;
    border: none;
}

.header .container .right .profile {
    height: 3.2rem; 
    width: 3.2rem;
    border-radius: 3.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #437b81; */
    cursor: pointer;
}

.dropdown-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 6.0rem;
    right: 1.5rem;
    width: 120px;
    padding: 15px;
    border-radius: 15px;
    background-color: white;
    border: 1px solid gray;
    color: #0C78A9;
    z-index: 1;
}

.dropdown-profile::before {
    content: '';
    position: absolute;
    top: -0.7rem;
    right: 1.0rem;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    background-color: white;
    border-left: 1px solid gray;
    border-top: 1px solid gray;
}

.dropdown-profile ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

/* Remove underline from the Link components */
.dropdown-profile a {
    text-decoration: none;
    color: #0C78A9;
  }
  
  /* Optional: Add styles for hovered links (if needed) */
  .dropdown-profile a:hover {
    text-decoration: none; /* Ensure no underline on hover */
  }

.header .container .right .profile i {
    font-size: 2rem;
}




main .container {
    display: flex;
}

main .container aside {
    width: 340px;
    height: 90vh;
    overflow: auto;
    /* padding-left: 5px;
    padding-right: 5px; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* font-weight: 600; */
    /* font-size: 25px; */
    box-shadow: rgb(240, 232, 232) 0px 0px 0px 0px;
}

main .container aside .nav-icons {
    width: 100%;
    /* color: black; */
}

main .container aside .nav-icons .dashboard a {
    display: flex;
    gap: 10px;
    padding: 10px 0px 10px 10px;
    color: black;
    text-decoration: none;
}

main .container aside .nav-icons .dashboard-not a {
    display: flex;
    gap: 4px;
    padding: 10px 0px 10px 10px;
    color: black;
    text-decoration: none;
}

main .container aside .nav-icons .dashboard-not a .notification {
    display: flex;
}

.active {
    background-color: #139DAA;
    color: white;
}

.active:hover {
    background-color: #0f8792;
}

main .container aside .nav-icons p {
    font-size: 20px;
}

main .container aside .nav-icons:hover {
    background-color: #88f5ff;
  }

main .body {
    overflow: scroll;
}

main .body .container {
    display: block;
    width: 97%;
    /* background-color: red; */
    margin: auto;
    padding-bottom: 60px; /* Add some padding to prevent overlap with bottom navbar */
}

main .body .container .up-overview {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    /* justify-content: center; */
    align-items: center;
    padding: 20px 0px;
}

main .body .container .up-overview a {
    text-decoration: none;
    display: inline-block;
}

main .body .container .up-overview a .two-details {
    display: flex;
    flex: 1 1 16rem;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 16rem;
    max-width: 16rem;
    height: 10rem;
    /* padding: 50px 0px; */
    /* background-color: greenyellow; */
    background-color: white;
    /* cursor: pointer; */
    box-shadow: rgb(240, 232, 232) 5px 0px 0px 0px;
}

main .body .container .up-overview a .two-details h1 {
    color: #0f8792;
}

main .body .container .up-overview .two-details p {
    color: rgb(129, 112, 112);
    font-weight: 600;
}

main .body .container .up-overview a .two-details .topic {
    padding-top: 10px;
}

main .body .container .up-overview a .two-details p span {
    color: #0f8792;
    font-size: 30px;

}

main .body .container .up-overview a .two-details .date {
    padding-bottom: 30px;
}


main .body .container .down {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

main .body .container .down .upcoming {
    width: 49%;
    /* background-color: green; */
}

main .body .container .down .upcoming .view-all {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    /* padding-right: 15px; */
}

main .body .container .down .upcoming .view-all h4 {
    font-size: 1.2rem;
}

main .body .container .down .upcoming .view-all a {
    color: #4eb6c0;
    text-decoration: none;
}

main .body .container .down .upcoming .container-upcoming {
    height: 400px;
    overflow-y: scroll;
}

main .body .container .down .upcoming .container-upcoming .cont {
    background-color: white;
    /* background-color: red; */
}

main .body .container .down .upcoming .container-upcoming .cont .option {
    display: flex;
    justify-content: right;
    padding-right: 25px;
}

main .body .container .down .upcoming .container-upcoming .cont .cont-2 {
    display: flex;
    justify-content: space-between;
    padding: 40px 50px;
    margin-bottom: 2px;
}

main .body .container .down .upcoming .container-upcoming .cont .cont-2 a {
    text-decoration: none;
}

main .body .container .down .upcoming .container-upcoming .cont .cont-2 h3 {
    color: #4eb6c0;
}

main .body .container .down .upcoming .container-upcoming .cont .cont-2 .check-in a {
    color:#4eb6c0 ;
    text-decoration: none;
    border: 1px solid green;
    padding: 5px;
    border-radius: 10px;
}

main .body .container .down .attendance {
    width: 49%;
    height: 20px;
    background-color: blue;
}

main .container .body {
    background-color: #ecefef;
    height: 90vh;
    width: 100%;
    /* overflow: hidden; */
}




@media (max-width: 1270px) {
    .header .logo {
        width: 50px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .header .logo a .logo-short {
        display: inline;
    }
    
    .header .logo a .logo-full {
        display: none;
    }

    main .container aside {
        width: 50px;
    }

    main .container .nav-icons .dashboard .details {
        display: none;
    }

    main .container .nav-icons .dashboard-not .details {
        display: none;
    }

    main .body .container .up-overview {
        justify-content: center;
    }
}

@media (max-width: 846px) {

    .header {
        display: none;
    }

    .dashboard-md {
        background-color: #139DAA;
        display: flex;
        justify-content: center;
        font-size: 30px;
        font-weight: 600;
        color: white;
        padding: 20px 0px 20px 0px;
    }

    main .body .container .down {
        display: block;
        width: 100%;
    }

    main .body .container .down .upcoming,
    main .body .container .down .attendance {
        width: 50%;
        margin-bottom: 20px;
    }

    /* .bottom-nav-md {
        background-color: white;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    border: 1px solid rgb(222, 222, 222);
    position: fixed; 
    bottom: 0; 
    z-index: 10;
    } */

    main .body .container .up-overview {
        justify-content: left;
    }
}

/* Loader Styles */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }








/* .red {
    border: 1px solid red;
}

.green {
    border: 1px solid green;
}

.black {
    border: 1px solid black;
}

.blue {
    border: 1px solid blue;
}

.yellow {
    border: 1px solid yellow;
} */