.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.user-card {
    border: 1px solid oklch(96.7% 0.003 264.542);
    border-radius: 10px;
    overflow: hidden;
    background: #fefefe;

    &:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transform: translateY(-5px);
        transition: all 0.3s ease;
    }

    img {
        width: 100%;
        object-fit: cover;
        height: 200px !important;
    }
    h4 {
        text-transform: capitalize;
        margin: 10px 0;
        font-size: 1rem !important;
        font-weight: 600;
    }

    .user-specialities {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 10px;

        div {
            font-size: 0.9em;
        }
    }
    .user-info {
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        a {
            border: 1px solid var(--e-global-color-primary);
            border-radius: 10px;
            height: 50px;
            width: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            &:hover {
                text-decoration: none;

                img {
                    filter: brightness(0.8);
                    transition: filter 0.3s ease;
                    height: 25px !important ;
                    width: 25px;
                }
            }
        }

        img {
            width: 20px;
            height: 20px !important;
            vertical-align: middle;
            color: yellow;
        }
    }

    .image-container {
        position: relative;
        width: 100%;
        height: 200px;
    }

    .rating {
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(255, 255, 255);
        padding: 5px;
        border-radius: 5px;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 5px;

        img {
            width: 16px;
            height: 16px !important;
            vertical-align: middle;
            color: yellow;
        }
    }
}

/************************** Search Form Styles **************************/
.external-search-form-container {
    padding: 2rem !important;
    background: #fff;
    border-radius: 10px;
}
#external-search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;

    button {
        background-color: var(--e-global-color-primary);
        min-width: 20%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px !important;
    }
    input[type='date'] {
        min-width: 20%;
    }
}

.form-error {
    display: none;
    color: var(--e-global-color-primary);

    &.visible {
        display: flex;
        padding: 1rem;
        justify-content: center;
        font-weight: 600;
    }
}

input[type='date'],
input[type='text'],
input[type='search'],
select {
    border-radius: 10px !important;
    height: 50px !important;
    line-height: 50px !important;
    border: 1px solid #ccc !important;
}

input[type='date'] {
    padding: 0 1rem !important;
}
