﻿/**
* 2007-2026 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-2026 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.
*/

.es-user-courier-options-container {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: #fafafa;
    overflow: hidden;
}

.es-user-courier-title {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.es-user-courier-option {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 10px 10px;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    width: 100%;
}

.es-user-courier-name {
    font-weight: 500;
}

.es-user-courier-cost {
    margin-left: auto;
    font-weight: 600;
    color: #4a4a4a;
}

.es-user-courier-cost-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.es-user-courier-free-shipping-note {
    display: block;
    margin-left: auto;
    font-size: 12px;
    color: #7a7a7a;
}

.es-user-courier-free-shipping-note.apply {
    background-color: #84bd00;
    color: #fff;
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
}

.es-locker-box {
    border: 1px dashed #d0d0d0;
    width: 100%;
    background-color: #00ba3a40;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.es-locker-box .name-label {
    color: #03561da6;
    margin-bottom: 0.5rem;
}

.es-locker-box .locker-address {
    color: #03561da6;
    margin-bottom: 1rem;
}

.es-locker-details.is-hidden {
    display: none;
}

.es-locker-box.is-hidden {
    display: none;
}

.es-locker-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.es-locker-modal.is-open {
    display: block;
}

.es-locker-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.es-locker-modal__dialog {
    position: relative;
    max-width: 1128px;
    width: calc(100% - 32px);
    margin: 6vh auto 0;
    height: 80vh;
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.es-locker-modal__close {
    position: absolute;
    right: 12px;
    top: 8px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.es-locker-modal__title {
    font-weight: 600;
    margin-bottom: 12px;
}

.es-locker-modal__content {
    display: flex;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
}

.es-locker-modal__sidebar {
    width: 260px;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.es-locker-modal-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
}

.es-locker-list {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: auto;
}

.es-locker-confirm-btn {
    width: 100%;
}

.es-locker-item {
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    background: #f7f7f7;
}

.es-locker-item:hover {
    background: #eeeeee;
}

.es-locker-item.is-selected {
    background: #d6f0db;
    border: 1px solid #8fcd9c;
}

.es-locker-marker {
    background-image: none !important;
    border: 0 !important;
    background: transparent !important;
}

.es-locker-marker__dot {
display: block;
    width: 24px;
    height: 24px;
    background: #f26f6f;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.es-locker-modal__map {
    position: relative;
    min-height: 380px;
    background: #f3f3f3;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
    padding: 16px;
    height: 100%;
    overflow: hidden;
    flex: 1 1 auto;
}

.es-locker-modal__map.is-fallback {
    color: #b00020;
}

.es-locker-modal__map.is-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 700;
}

.es-locker-modal__map.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    margin-left: -17px;
    border: 3px solid #d0d0d0;
    border-top-color: #1f7a38;
    border-radius: 50%;
    animation: es-locker-spin 0.8s linear infinite;
    z-index: 701;
}

@keyframes es-locker-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .es-locker-modal__dialog {
        width: calc(100% - 24px);
        height: calc(100% - 24px);
        margin: 12px auto 0;
        border-radius: 8px;
        padding: 16px;
        display: flex;
        flex-direction: column;
    }

    .es-locker-modal__title {
        flex: 0 0 auto;
    }

    .es-locker-modal__content {
        flex: 1 1 auto;
        height: auto;
        flex-direction: column;
    }

    .es-locker-modal__sidebar {
        width: 100%;
        flex: 0 0 auto;
    }

    .es-locker-list {
        max-height: 160px;
    }

    .es-locker-modal__map {
        flex: 1 1 auto;
        min-height: 0;
    }
}

