﻿/*=========================================
            GENERAL
=========================================*/

body {
    /*background: #f4f7fb;*/
}

.container {
    max-width: 1200px;
}

/*=========================================
            HEADER
=========================================*/

.consultants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.consultants-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.title-icon {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

    .title-icon i {
        font-size: 34px;
        color: #0d6efd;
    }

.consultants-title h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.consultants-title p {
    margin-top: 6px;
    color: #d7d7d7;
    margin-bottom: 0;
}

.consultants-counter {
    background: white;
    padding: 12px 20px;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0,0,0,.07);
    font-weight: 600;
    color: #495057;
}


/*=========================================
            SEARCH
=========================================*/

.search-box {
    background: white;
    padding: 22px;
    border-radius: 22px;
    box-shadow: 0 5px 22px rgba(0,0,0,.06);
    margin-bottom: 28px;
}

    .search-box label {
        font-weight: 700;
        margin-bottom: 8px;
        color: #495057;
    }

    .search-box .form-control,
    .search-box .form-select {
        height: 48px;
        border-radius: 14px;
        border: 1px solid #dbe3ec;
        transition: .25s;
    }

        .search-box .form-control:focus,
        .search-box .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 .18rem rgba(13,110,253,.12);
        }


/*=========================================
            GRID
=========================================*/

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(270px,1fr));
    gap: 18px;
}

/*=========================================
            CARD
=========================================*/

.consultant-card {
    position: relative;
    background: white;
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: .25s;
    border: 1px solid #edf0f3;
    box-shadow: 0 6px 22px rgba(0,0,0,.06);
}

    .consultant-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 30px rgba(0,0,0,.10);
    }


/*=========================================
            AVATAR
=========================================*/

.consultant-avatar {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f7;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    border: 4px solid white;
    box-shadow: 0 5px 18px rgba(0,0,0,.10);
}

.consultant-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultant-placeholder {
    font-size: 54px;
    color: #b9c3cf;
}

/*=========================================
            CHECKBOX
=========================================*/

.consultant-select {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 20;
}

.consultant-check {
    width: 19px;
    height: 19px;
    accent-color: #198754;
    cursor: pointer;
}

.consultants-page {
    padding-top: 8px;
    padding-bottom: 20px;
}

/*=========================================
            TABLET
=========================================*/

@media (max-width: 992px) {

    .consultants-header {
        gap: 15px;
    }

    .consultants-title h2 {
        font-size: 24px;
    }

    .title-icon {
        width: 60px;
        height: 60px;
    }

        .title-icon i {
            font-size: 30px;
        }

    .consultants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-box {
        padding: 18px;
    }

    .consultant-avatar {
        width: 82px;
        height: 82px;
    }

    .consultant-card {
        padding: 16px;
    }
}


/*=========================================
            MOBILE
=========================================*/

@media (max-width:576px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .consultants-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 18px;
    }

    .consultants-title {
        gap: 12px;
    }

    .title-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

        .title-icon i {
            font-size: 24px;
        }

    .consultants-title h2 {
        font-size: 20px;
    }

    .consultants-title p {
        font-size: 13px;
        margin-top: 2px;
    }

    .consultants-counter {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 13px;
    }

    .search-box {
        padding: 14px;
        border-radius: 16px;
    }

        .search-box .form-control,
        .search-box .form-select {
            height: 42px;
            font-size: 13px;
        }

    .consultants-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .consultant-card {
        padding: 14px;
        border-radius: 18px;
    }

    .consultant-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .consultant-name {
        font-size: 16px;
    }

    .consultant-brand {
        font-size: 13px;
    }

    .consultant-city,
    .consultant-phone {
        font-size: 12px;
    }

    .consultant-select {
        width: 30px;
        height: 30px;
        top: 10px;
        left: 10px;
    }

    .consultant-check {
        width: 17px;
        height: 17px;
    }
}

/*=========================================
        EXTRA SMALL
=========================================*/

@media (max-width:380px) {

    .consultants-title h2 {
        font-size: 18px;
    }

    .consultant-avatar {
        width: 60px;
        height: 60px;
    }

    .consultant-card {
        padding: 12px;
    }

    .search-box {
        padding: 12px;
    }
}