/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.department-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    margin-top: 6rem;
}

#map {
    padding-bottom: 0 !important;
    max-width: 700px;
}

.popover-wrapper {
    background-color: #fff;
    padding: 1rem;
    border-radius: 10px;

    .popover-title {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 1rem;
        background-color: transparent;
        padding: 0.5rem 0;
    }

    .popover-body {
        p {
            margin-bottom: 0.5rem;
        }
    }
}

.users-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;

    h4 {
        margin-bottom: 1.25rem;
        font-size: 1rem;
    }

    .region-wrapper {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;


        .badge {
            background-color: var(--primary-color);
            color: #fff;
            padding: 0.3rem 0.4rem;
            border-radius: 0.3rem;
            font-size: 0.8rem;
        }
    }

    .user-img-wrapper {
        width: 80px;
        height: 80px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .user-content {
        display: flex;
        justify-content: flex-start;
        gap: 1rem;

        .user-data {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.25rem;

            p {
                font-size: 0.875rem;
                color: #000;
                margin-bottom: 0;

                &.name {
                    font-weight: bold;
                }

                &.email {
                    text-decoration: underline;
                }
            }
        }
    }
}

.display-seller {
    .popover-email {
        text-decoration: underline;
    }
}


@media (max-width: 991px) {
    .users-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .popover-wrapper {
        display: none;
    }

    .display-seller {
        padding: 1rem 0 0 0;

        .popover-wrapper {
            display: block;
            padding: 1rem 0;
            margin: 0 -12px;
        }
    }
}

@media (max-width: 768px) {
    .users-wrapper {
        grid-template-columns: 1fr;
    }
}
