* {
    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;
    /* height: 44px; */
}
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;
    /* justify-content: space-between; */
}
.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;
    padding: 20px;
    font-size: 12px;
    font-weight: 400;
}
.modal-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.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;
}

.visit {
    display: flex;
    gap: 40px;
    border-radius: 12px;
    padding: 16px;
}

.wishead {
    display: flex;
    justify-content: end;
}

.wishead button {
    padding: 10px 16px;
    border: 1px solid #CFDCE6;
    background: #FFFFFF;
    box-shadow: #1018280A;
}

.visit-table {
    max-height: 708px;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #CFDCE6;
    background: #E9F5FE;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: thin;
}

.visit-table::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

.visit-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

tbody {
    background-color: #FFFFFF;
    border-radius: 8px;
}

.visit-table th,
.visit-table td {
    padding: 12px;
    border-bottom: 1px solid #CFDCE6;
}

.vsub {
    background: #E9F6F5;
    border: 1px solid #BCE3E0;
    color: #26A69A;
    padding: 4px 12px;
    border-radius: 8px;
    width: 100px;
    height: 24px;
    align-items: center;
    display: flex;
    gap: 4px;
}

.vsub div {
    width: 10px;
    height: 10px;
    background: #23978C;
    border-radius: 50%;
}

.vsub1 {
    background: #FFEEE9;
    border: 1px solid #FFCBBA;
    color: #FF5722;
    padding: 4px 12px;
    border-radius: 8px;
    width: 115px;
    height: 24px;
    align-items: center;
    display: flex;
    gap: 4px;
}

.vsub1 div {
    width: 10px;
    height: 10px;
    background: #FF5722;
    border-radius: 50%;
}

.visit-table thead th {
    background: #E9F5FE;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}


.visit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid #CFDCE6;
    border-radius: 12px;
    background: #E9F5FE;
    border-radius: 12px;
    max-height: 264px;

}

.vc {
    display: flex;
    gap: 7px;
    align-items: center;
}

.vc img {
    width: 25px;
    height: 25px;
}

.trend {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
    border: 0.5px solid #13578D;
    padding: 8px;
    background: #FFFFFF;
}

.trendp {
    padding: 8px;
    background: #E9F5FE;
    font-size: 15px;
    color: #2196F3;
    border-radius: 30px;
}

.trend1 {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
    border: 0.5px solid #0F403B;
    padding: 8px;
    background: #FFFFFF;
}

.trendp1 {
    padding: 8px;
    background: #E9F6F5;
    font-size: 15px;
    color: #26A69A;
    border-radius: 30px;
}

.trend2 {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
    border: 0.5px solid #993414;
    padding: 8px;
    background: #FFFFFF;
}

.trendp2 {
    padding: 8px;
    background: #FFEEE9;
    font-size: 15px;
    color: #FF5722;
    border-radius: 30px;
}

.verify {
    display: flex;
    align-items: center;
    gap: 4px;
}
.newmodal{
    display: flex;
    gap: 12px;
}
.newmodal1{
    border: 1px solid #E9F5FE;
    background: #BADEFB;
    border-radius: 8px;
    padding: 8px 16px;
}
.newmodal2{
    background: #FFFFFF;
    padding: 8px 16px;
    border: 1px solid #A1ACB4;
    border-radius: 8px;
}
.custom-date input{
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid light #CFDCE6;
    background: #FFFFFF;
    box-shadow: #1018280A;
}
select{
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #CFDCE6;
    border-radius: 8px;
    justify-content: space-between;
    width: 161px;
}

.apply{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.apply1{
    border-radius: 8px;
    border: 1px solid #2196F3;
    background: #2196F3;
    padding: 10px 16px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
}
.apply2{
    border-radius: 8px;
    border: 1px solid #BADEFB;
    background: #E9F5FE;
    padding: 10px 16px;
    color: #2196F3;
    font-size: 15px;
    font-weight: 500;
}

@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;
    }

    .main {
        padding: 30px 20px 2px;
        width: 100%;
    }

    .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;
    }

    .visit {
        flex-direction: column;
    }
}

@media (max-width: 500px){
    .visit{
        width: 100%;
    }
}