.honeycomb-loader {
    width: 200px;
    height: 230px;
    position: relative;
    margin: 0 auto;
}

.hexagon {
    position: absolute;
    width: 50px;
    height: 58px;
    background: #FFD700;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulse 1.0s ease-in-out infinite;
}

.hexagon:nth-child(1) {
    top: 0;
    left: 75px;
    animation-delay: 0s;
}

.hexagon:nth-child(2) {
    top: 50px;
    left: 130px;
    animation-delay: 0.2s;
    background: #FFA500;
}

.hexagon:nth-child(3) {
    top: 120px;
    left: 130px;
    animation-delay: 0.4s;
}

.hexagon:nth-child(4) {
    top: 170px;
    left: 75px;
    animation-delay: 0.6s;
    background: #FFA500;
}

.hexagon:nth-child(5) {
    top: 120px;
    left: 20px;
    animation-delay: 0.8s;
}

.hexagon:nth-child(6) {
    top: 50px;
    left: 20px;
    animation-delay: 1s;
    background: #FFA500;
}

.center-hex {
    position: absolute;
    top: 85px;
    left: 75px;
    width: 50px;
    height: 58px;
    background: #1a1a1a;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.bee-icon {
    width: 28px;
    height: 20px;
    position: relative;
}

.bee-icon::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #FFD700;
    border-radius: 50%;
    left: 5px;
}

.bee-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 16px;
    background: #1a1a1a;
    left: 12px;
    top: 1px;
}

.bee-stripe {
    position: absolute;
    width: 3px;
    height: 16px;
    background: #1a1a1a;
    top: 1px;
    left: 18px;
}

.bee-wing {
    position: absolute;
    width: 12px;
    height: 10px;
    background: rgba(255,255,255,0.8);
    border-radius: 50% 50% 0 0;
    top: 0;
    left: 10px;
    animation: wing-flutter 0.3s ease-in-out infinite;
}

.loading-text {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: -40px;
    left: 0;
    margin: 0;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes wing-flutter {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.6);
    }
}

.bi-map-field-center {
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    vertical-align: -0.125em;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(
        "data:image/svg+xml; utf8,\
        <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'>\
        <!-- Field perimeter rectangle -->\
        <rect x='1.5' y='1.5' width='17' height='17' rx='2' \
        stroke='white' stroke-width='1.5' fill='none'/>\
        <!-- Recenter crosshair circle -->\
        <circle cx='10' cy='10' r='3' stroke='white' stroke-width='1.5'/>\
        <!-- Crosshair lines -->\
        <line x1='10' y1='4' x2='10' y2='7' stroke='white' stroke-width='1.5'/>\
        <line x1='10' y1='13' x2='10' y2='16' stroke='white' stroke-width='1.5'/>\
        <line x1='4' y1='10' x2='7' y2='10' stroke='white' stroke-width='1.5'/>\
        <line x1='13' y1='10' x2='16' y2='10' stroke='white' stroke-width='1.5'/>\
        <!-- Subtle field grid blocks -->\
        <rect x='4' y='12' width='4' height='4' fill='white' opacity='0.25'/>\
        <rect x='12' y='12' width='4' height='4' fill='white' opacity='0.25'/>\
        <rect x='4' y='4' width='4' height='4' fill='white' opacity='0.25'/>\
        <rect x='12' y='4' width='4' height='4' fill='white' opacity='0.25'/>\
        </svg>"
    );
}

.bi-line-ab::before {
    content: '';
    display: inline-block;
    width: 2em;
    height: 2em;
    background-color: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cline x1='35' y1='35' x2='65' y2='65' stroke='black' stroke-width='10' stroke-linecap='round'/%3E%3Ctext x='15' y='25' font-family='Arial, sans-serif' font-size='20' fill='black'%3EA%3C/text%3E%3Ctext x='75' y='85' font-family='Arial, sans-serif' font-size='20' fill='black'%3EB%3C/text%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cline x1='35' y1='35' x2='65' y2='65' stroke='black' stroke-width='10' stroke-linecap='round'/%3E%3Ctext x='15' y='25' font-family='Arial, sans-serif' font-size='20' fill='black'%3EA%3C/text%3E%3Ctext x='75' y='85' font-family='Arial, sans-serif' font-size='20' fill='black'%3EB%3C/text%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    vertical-align: middle;
}

.bi-show-ab::before {
    content: '';
    display: inline-block;
    width: 2em;
    height: 2em;
    background-color: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3C!-- Eye outline --%3E%3Cpath d='M10 50 Q50 20 90 50 Q50 80 10 50 Z' fill='none' stroke='white' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C!-- Pupil (visible) --%3E%3Ccircle cx='50' cy='50' r='10' fill='white'/%3E%3C!-- AB text --%3E%3Ctext x='55' y='78' font-family='Arial, sans-serif' font-size='18' font-weight='bold' fill='white'%3EAB%3C/text%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 50 Q50 20 90 50 Q50 80 10 50 Z' fill='none' stroke='white' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='50' r='10' fill='white'/%3E%3Ctext x='55' y='78' font-family='Arial, sans-serif' font-size='18' font-weight='bold' fill='white'%3EAB%3C/text%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    vertical-align: middle;
}

.nav-loading-indicator {
    display: none;
}

.honeycomb-loader-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 30px;
    flex-wrap: nowrap;
}

.nav-hex {
    flex-shrink: 0;
    width: 20px;
    height: 23px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulse 1.0s ease-in-out infinite;
}

.nav-hex-1 { background: #FFD700; animation-delay: 0s; }
.nav-hex-2 { background: #FFA500; animation-delay: 0.3s; }
.nav-hex-3 { background: #FFA500; animation-delay: 0.6s; }
.nav-hex-4 { background: #FFD700; animation-delay: 0.9s; }

.honeycomb-loader-nav .nav-loading-text {
    color: #2c3e50;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    padding: 0 4px;
    justify-content: center;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    pointer-events: all;
}

.loading-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
