﻿body {
    font-family: 'SF Pro Rounded', sans-serif !important;
}

.main-container {
    padding: 0 12px;
}

@media (min-width: 1200px) {
    .main-container, .header-filter {
        padding: 0 70px;
    }
}
@media (min-width: 1800px) {
    .main-container, .header-filter {
        padding: 0 160px;
    }
    .card-info-school {
        padding: 0 88px;
    }
}

.breadcrumb a {
    font-size: 16px;
    margin-bottom: 8px;
}

.filter-search {
    height: 36px;
    border-radius: 8px;
    box-shadow: none !important;
    border-color: #EBEDF0;
}
    .filter-search::placeholder {
        color: #999999;
        font-size: 14px;
    }

.select-info {
    height: 40px;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #050505;
    cursor: pointer;
    font-size: 14px;
    padding: 0 16px;
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;
}
.select-info:focus {
    outline: none;
}

/* Icon mũi tên */
.icon-menu-down {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.checkbox-filter {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

    .checkbox-filter input,
    .checkbox-filter div {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .checkbox-filter label {
        cursor: pointer !important;
        font-size: 15px;
    }

.option-rate {
    min-width: fit-content;
    border: 1px solid #999999;
    border-width: 1px 1px 1px 0;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 36px;
    font-size: 15px;
}
    .option-rate.active, .option-rate.active:hover {
        background-color: #007AFF;
        color: #fff;
    }

    .option-rate.rounded-start {
        border-left: 1px solid #999999;
    }

    .option-rate:hover {
        background-color: #f2f2f2;
    }

.card-info-school {
    color: #1e1e1e;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0px 1px 4px rgba(12, 12, 13, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}

    .card-info-school:hover .img-school img {
        transform: scale(1.1);
        transition: transform 0.8s;
    }

.name-school {
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    color: #1E1E1E;
}

.img-school {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.loaitruong {
    position: absolute;
    padding: 4px 12px;
    background-color: #007aff;
    border-radius: 4px;
    color: #fff;
    bottom: 10px;
    right: 10px;
}

.icon-descrip-school {
    border-radius: 6px;
    background-color: #dde8fb;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-view-detail {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px dashed #007aff;
}

.status-school {
    padding-right: 4px;
}
.view-detail {
    padding-left: 4px;
}
.status-school > div {
    background-color: #ff7350;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    height: 36px;
    display: flex;
    align-items: center;
}

.pagination-school {
    border: 1px solid #d2d2d2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
}

.header-filter {
    padding-top: 10px;
}

@media (max-width: 820px) {
    main, .drawer-paper.drawer-open {
        margin-top: 54px !important;
    }
    .form-filter, .form-content {
        width: 100% !important;
    }
    .card-info-school {
        padding: 12px;
    }
    .status-school {
        padding-right: 8px;
    }
    .view-detail {
        padding-left: 8px;
    }
    .form-filter {
        display: none;
    }
    .drawer-paper {
        display: block !important;
    }
    .search-mobile {
        display: flex !important;
        border-radius: 8px;
        background-color: #fff;
    }
        .search-mobile > input, .search-mobile > input:focus {
            border: none;
            box-shadow: none;
        }
    .header-filter {
        background-color: #4942BD;
        padding: 10px 12px;
    }
        .header-filter > .breadcrumb > a {
            color: #A29DFF !important;
        }
            .header-filter > .breadcrumb > a.active {
                color: #fff !important;
            }
    .btn-searchpro {
        display: flex !important;
    }
}
@media (max-width: 1024px) {
    .view-rate {
        flex-direction: column;
        align-items: start !important;
        gap: 2px !important
    }
}

    .drawer-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.4);
        display: none;
        z-index: 1049;
    }

    .drawer-paper {
        display: none;
        height: calc(100% - 54px) !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 90%;
        max-width: 340px;
        background-color: #F9F9F9;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
        padding: 16px 16px 0 16px;
        border-radius: 8px 0 0 8px;
    }

        .drawer-paper > .card-info-school {
            padding: 16px;
        }

    .drawer-open {
        right: 0 !important;
    }

    .show-overlay {
        display: block !important;
    }

    .btn-clear {
        border: 1px solid #777777;
        border-radius: 4px;
    }

        .btn-clear:hover {
            background-color: #3BD5FF;
        }

    .chuan-qg {
        background-color: #2764E7;
        border-radius: 20px;
        color: white;
        padding: 1px 8px;
        gap: 3px;
        font-size: 14px
    }
#search-key-mobile {
    width: 152px;
}
#searchInputMobile {
    padding-right: 4px !important
}