/**
 * 2017-2026 liewebs - prestashop module developers and website designers.
 *
 * NOTICE OF LICENSE
 *  @author    liewebs <info@liewebs.com>
 *  @copyright 2017-2026 [www.liewebs.com](https://www.liewebs.com) - Liewebs
 *  @license See "License registration" section
 * 	@module Advanced VAT Manager
 */

/* Fix address form labels position when call with AJAX */
form .form-control-label {
    text-align: left;
}
/* ── AVM address warning (Hummingbird theme JS injection) ─────────────────── */
.avm-address-warning {
    margin: 8px 0 4px;
    border-radius: 8px;
    background: #fffbeb;
    border: 1px solid #f59e0b;
    padding: 10px 14px;
}
.avm-address-warning__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}
.avm-address-warning__item + .avm-address-warning__item {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #fde68a;
}
.avm-address-warning__icon {
    flex-shrink: 0;
    font-size: 15px;
    margin-top: 1px;
}

/* ?? Email action link notice page (vatEmailAction) ?????????? */
.avm-action-notice {
    max-width: 480px;
    margin: 48px auto;
    padding: 40px 36px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    text-align: center;
    font-family: inherit;
}
.avm-action-notice__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
}
.avm-action-notice__icon--expired {
    background: #FAEEDA;
    color: #854F0B;
    border: 1.5px solid #FAC775;
}
.avm-action-notice__icon--used {
    background: #EAF3DE;
    color: #3B6D11;
    border: 1.5px solid #C0DD97;
}
.avm-action-notice__title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
}
.avm-action-notice__body {
    font-size: 13.5px;
    color: #666666;
    line-height: 1.65;
    margin: 0 0 24px;
}
.avm-action-notice__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: #25b9d7;
    color: #ffffff;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}
.avm-action-notice__btn:hover,
.avm-action-notice__btn:focus {
    background: #1a8a9e;
    color: #ffffff;
    text-decoration: none;
}

/* ── AVM EU Customs Fee protection modal ─────────────────────────────────── */
.avm-cfm-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    padding: 16px;
}
.avm-cfm-overlay.avm-cfm-open {
    opacity: 1;
    visibility: visible;
}
.avm-cfm-dialog {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.10);
    max-width: 420px;
    width: 100%;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.avm-cfm-overlay.avm-cfm-open .avm-cfm-dialog {
    transform: scale(1) translateY(0);
}
.avm-cfm-header {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.avm-cfm-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.avm-cfm-icon::before {
    content: '';
    display: block;
    width: 22px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    transform: rotate(45deg);
    position: absolute;
}
.avm-cfm-icon::after {
    content: '';
    display: block;
    width: 22px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    transform: rotate(-45deg);
    position: absolute;
}
.avm-cfm-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.avm-cfm-body {
    padding: 24px 28px 20px;
}
.avm-cfm-text {
    margin: 0;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.65;
    text-align: center;
}
.avm-cfm-footer {
    padding: 0 28px 26px;
    display: flex;
    justify-content: center;
}
.avm-cfm-btn {
    display: inline-block;
    padding: 11px 36px;
    background: #c0392b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease;
    letter-spacing: 0.02em;
}
.avm-cfm-btn:hover {
    background: #a93226;
    transform: translateY(-1px);
}
.avm-cfm-btn:active {
    background: #96281b;
    transform: translateY(0);
}
.avm-cfm-btn:focus {
    outline: 3px solid rgba(192, 57, 43, 0.4);
    outline-offset: 2px;
}
@media (max-width: 480px) {
    .avm-cfm-dialog {
        border-radius: 10px;
    }
    .avm-cfm-header {
        padding: 22px 20px 18px;
    }
    .avm-cfm-body {
        padding: 18px 20px 14px;
    }
    .avm-cfm-footer {
        padding: 0 20px 20px;
    }
    .avm-cfm-btn {
        width: 100%;
        text-align: center;
    }
}
