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

body {
    font-family: Inter, sans-serif;
}

li {
    list-style: none;
}

.layout {
    display: flex;
}

aside {
    width: 263px;
    padding: 60px 32px;
    background: #FFFFFF;
    font-size: 15px;
    line-height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out;
}

aside .hide {
    transform: translateX(-100%);
}

.ven {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ven ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ven li {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 1px 12px;
    gap: 6px;

}

.switch {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    justify-content: space-between;
    border: 1px solid #BADEFB;
    cursor: pointer;
}

.switch-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: #fff;
    border: 1px solid #BADEFB;
    border-radius: 8px;
    padding: 12px 6px;
    box-shadow: #10182814;
}

.switch-dropdown .buildrop {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
}

.ven1 {
    display: flex;
    flex-direction: column;
    gap: 72px;
    width: 199px;
}

aside .ven a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #374151;
}

aside .active {
    background-color: #E9F5FE;
    font-weight: bold;
}

aside .ven li:hover {
    background: #E9F5FE;
    font-weight: bold;
}

aside .signout {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    padding: 1px 12px;
}

aside .signout a {
    text-decoration: none;
    color: #FF5722;
    font-weight: bold;

}

#signOutModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#signOutModal.active {
    display: flex;
}

#signOutModal .modal-content{
    background: #fff;
    border-radius: 12px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
}
.modal-body img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.modal-body p{
    font-size: 12px;
    font-weight: 400;
}

.close-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 10px 0;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.logout-btn {
    background: #FF5722;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: #1018280A;
    transition: 0.3s;
}

.cancel-btn {
    background: #FFFFFF;
    color: #374151;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #CFDCE6;
    box-shadow: #1018280A;
}

.main {
    flex: 1;
    padding: 60px 32px 2px;
    background: #F6FBFE;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.hero-logo {
    display: none;
}

.hero3 {
    display: flex;
    flex: 1;
    justify-content: center;
}

.input-wrapper {
    position: relative;
    width: 427px;
}

.hero3 input {
    font-size: 15px;
    padding: 12px 40px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 427px;
    height: 40px;
    background: url('https://res.cloudinary.com/db9nz57u6/image/upload/v1759241461/search_kcely6.svg') 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.input-wrapper .filter-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal {
    position: absolute;
    top: 100;
    right: 480;
    background: #fff;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    display: none;
    z-index: 10;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.modal-content p {
    font-weight: 400;
    font-size: 12px;
}

.newmodal {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.newmodal1 {
    border: 1px solid #E9F5FE;
    font-size: 12px;
    font-weight: 400;
    border-radius: 8px;
    padding: 8px 16px;
    background: #BADEFB;
}

.newmodal2 {
    border: 1px solid #A1ACB4;
    font-size: 12px;
    font-weight: 400;
    border-radius: 8px;
    padding: 8px 16px;
    background: #FFFFFF;
}

select {
    display: flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #A1ACB4;
    padding: 8px 12px;
    justify-content: space-between;
    width: 155px;
}


.apply {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.apply1 {
    border-radius: 8px;
    padding: 10px 16px;
    border: 1px solid #2196F3;
    background: #2196F3;
    font-weight: 500;
    font-size: 15px;
    color: #FFFFFF;
}

.apply2 {
    border-radius: 8px;
    padding: 10px 16px;
    border: 1px solid #BADEFB;
    background: #E9F5FE;
    font-weight: 500;
    font-size: 15px;
    color: #2196F3;
}

.pic {
    display: flex;
    justify-content: space-around;
    width: 92px;
    height: 40px;
    align-items: center;
}

.icon {
    width: 24px;
    height: 24px;
}

.user {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.welcome {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.welcome h2 {
    font-size: 29px;
    line-height: 40px;
}

.welcome p {
    font-size: 19px;
    font-weight: 400px;
    line-height: 24px;
}

.stats {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.normal-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
    gap: 40px;
    justify-content: center;
}

.restat {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #CFDCE6;
    padding: 16px;
    font-size: 15px;
    font-weight: 400;
}

.sub {
    font-size: 23px;
    font-weight: 600;

}

.sub1 {
    font-size: 19px;
    font-weight: 500;
}

.avg {
    display: flex;
    align-items: center;
    gap: 4px;
}


.restat button {
    border-radius: 8px;
    border: 1px solid #2196F3;
    background: #2196F3;
    padding: 10px 16px;
    width: 267px;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

#rebtn {
    display: flex;
    justify-content: center;
}

.cc {
    font-weight: 600;
    font-size: 19px;
}

.dd {
    font-size: 12px;
    font-weight: 400;
}

.ee {
    font-size: 15px;
    font-weight: 400;
}

.central {
    flex-direction: column;
    display: flex;
    gap: 12px;
}

.cbtn {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.cbtn button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 15px;
    background: #FFFFFF;
    cursor: pointer;
}

.cbtn1 {
    border: 1px solid #B3BFCB;
    font-weight: 500;
}

.cbtn2 {
    font-weight: 400;
    border: 1px solid #FFCBBA;
}

.cb img {
    width: 158px;
    height: 208px;
    border-radius: 12px;
}

.scrollable-container {
    flex: 4;
    max-height: 717px;
    overflow-y: scroll;
    border: 1px solid #CFDCE6;
    padding: 12px;
    margin-bottom: 15px;
    background: #E9F5FE;
    border-radius: 12px;
}

.scrollable-container::-webkit-scrollbar {
    width: 10px;

}

.scrollable-container::-webkit-scrollbar-track {
    background: #E9F5FE;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;

}

.content-box {
    background: #fff;
    border: 1px solid #ccc;
    display: flex;
    justify-content: flex-start;
    cursor: pointer;
    transition: height 0.3s ease;
    overflow: hidden;
    border-radius: 12px;
    padding: 12px;
    gap: 12px;
    margin-bottom: 12px;
}

.modal-content1 {
    position: relative;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    width: 360px;
    height: 258px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.close-btn img {
    width: 20px;
    height: 20px;
}

.delmodal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #10182814;
    justify-content: center;
    align-items: center;
}

.trash {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
}

.modal-actions button {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

#confirmDelete {
    background: #FF5722;
    color: #FFFFFF;
    border: 1px solid #FF5722;
    border-radius: 8px;

}

#cancelDelete {
    background: #FFFFFF;
    color: #374151;
    border-radius: 8px;
    border: 1px solid #CFDCE6;
}

@media (max-width: 820px) {
    aside {
        transform: translateX(-100%);
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1000;
    }

    aside.show {
        transform: translateX(0);
    }

    header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 10px;
    }

    .hero-logo {
        display: block;
    }

    .hero3 input {
        width: 100%;
    }

    .input-wrapper {
        width: 100%;
    }

    .modal {
        top: 150;
        right: 30;
    }

    .stats {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .normal-box {
        flex-direction: row;
        gap: 15px;
        width: 100%;
    }

    .restat {
        width: 100%;
        justify-content: center;
    }

    .vn {
        height: 220px;
    }

    .restat button {
        width: 100%;
    }

    .stats {
        align-items: center;
    }
    
}

@media (max-width: 767px) {
    .content-box {
        height: 100px;
    }

    .cb img {
        width: 68px;
    }
    .normal-box{
        flex-direction: column;
    }
}

.content-box.expanded {
    height: 330px;
}

@media (min-width: 768px) {
    .content-box.expanded {
        height: 232px;
    }

    .content-box {
        height: 124px;
    }
    
}