/**
 * ============================================================
 * IT'SBARBADOS FLOATING ACCOUNT MENU
 * ============================================================
 */

.itsbarbados-account-menu {
    position: fixed;
    top: 24px;
    right: 75px;
    z-index: 99999;
    font-family: inherit;
}


/* ------------------------------------------------------------
 * Account Button
 * ------------------------------------------------------------ */

.itsbarbados-account-toggle {
    display: flex;
    align-items: center;
    gap: 8px;

    height: 42px;
    padding: 0 14px;

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 24px;

    background: #ffffff;
    color: #222222;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.itsbarbados-account-toggle:hover {
    background: #fafafa;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.itsbarbados-account-toggle:focus-visible {
    outline: 2px solid #222222;
    outline-offset: 3px;
}


/* ------------------------------------------------------------
 * Icons
 * ------------------------------------------------------------ */

.itsbarbados-account-icon {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    flex-shrink: 0;
}

.itsbarbados-account-chevron {
    width: 13px;
    height: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.2s ease;
}

.itsbarbados-account-toggle[aria-expanded="true"]
.itsbarbados-account-chevron {
    transform: rotate(180deg);
}


/* ------------------------------------------------------------
 * Dropdown
 * ------------------------------------------------------------ */

.itsbarbados-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    width: 190px;
    padding: 7px;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;

    background: #ffffff;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);

    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


/* ------------------------------------------------------------
 * Dropdown Links
 * ------------------------------------------------------------ */

.itsbarbados-account-link {
    display: flex;
    align-items: center;

    min-height: 38px;
    padding: 0 11px;

    border-radius: 6px;

    color: #222222;
    text-decoration: none;

    font-family: inherit;
    font-size: 13px;
    font-weight: 400;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.itsbarbados-account-link:hover {
    background: #f5f5f5;
    color: #111111;
}

.itsbarbados-account-link:focus-visible {
    outline: 2px solid #222222;
    outline-offset: -2px;
}


/* ------------------------------------------------------------
 * Divider
 * ------------------------------------------------------------ */

.itsbarbados-account-divider {
    height: 1px;
    margin: 6px 4px;

    background: rgba(0, 0, 0, 0.08);
}


/* ------------------------------------------------------------
 * Logout
 * ------------------------------------------------------------ */

.itsbarbados-account-logout {
    color: #555555;
}


/* ------------------------------------------------------------
 * Mobile
 * ------------------------------------------------------------ */

@media (max-width: 600px) {

    .itsbarbados-account-menu {
        top: 80px;
        right: 15px;
    }
    
    
    .page-id-19 .itsbarbados-account-menu {
        top: 20px;
    }
    

    .itsbarbados-account-toggle {
        height: 40px;
        padding: 0 12px;
    }

    .itsbarbados-account-label {
        display: none;
    }

    .itsbarbados-account-toggle {
        gap: 0;
        width: 40px;
        justify-content: center;
        padding: 0;
    }

    .itsbarbados-account-chevron {
        display: none;
    }

    .itsbarbados-account-dropdown {
        width: 180px;
    }
}