/**
 * Theme Name:     K-Solutions
 * Author:         K-Solutions
 * Template:       flatsome
 * Text Domain:	   k-tech
 * Description:    Theme Build by Dai
 * Theme URI:      https://k-tech.net.vn/
 * Author URI:     https://k-tech.net.vn/
 * Version:        06.2026
 * License:        2NRJM-B46WR-K6VQR-Y4T3D-QRWPX
 * License URI:    https://k-tech.net.vn/
 */



 /*************** ADD CUSTOM CSS HERE.   ***************/

/* Custom SweetAlert2 Premium Styling */
.ktech-swal2-popup {
    border-radius: 16px;
    padding: 24px;
}
.ktech-swal2-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    padding-top: 10px;
}
.ktech-swal2-content {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-top: 8px;
}
.ktech-swal2-confirm-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    min-width: 100px;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* Ensure SweetAlert2 notifications (tb) are displayed on top of modals */
.swal2-container {
    z-index: 999999999 !important;
}

















.map-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.map-coordinates {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.1em;
}

.map-title-indicator {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #e60012;
    background: rgba(230, 0, 18, 0.05);
    border: 1px solid rgba(230, 0, 18, 0.15);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.08em;
}

.map-svg-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-geo-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    overflow: visible;
}

/* Japan Map Style Custom Colors (Static / Interaction Disabled) */
.geo-region-path {
    fill: #ffffff; /* white */
    stroke: #cbd5e1; /* black/slate border */
    stroke-width: 1.2px;
    pointer-events: none;
}

.geo-region-dot-overlay {
    pointer-events: none;
}

/* Connecting Highways */
.highway-route-line {
    stroke: rgba(230, 0, 18, 0.1);
    stroke-width: 1.5px;
    stroke-linecap: round;
    fill: none;
    transition: all 0.3s ease;
}

.highway-route-line.active-route {
    stroke: rgba(230, 0, 18, 0.3);
    stroke-width: 2px;
}

.highway-label-text {
    font-family: monospace;
    font-size: 8px;
    font-weight: 600;
    fill: #94a3b8;
    dominant-baseline: middle;
    text-anchor: middle;
    transition: fill 0.3s;
}

/* Map Callout Pointer Lines (Japan Map Style) */
.map-pointer-line {
    fill: none;
    stroke: #e60012;
    stroke-width: 1px;
    stroke-linecap: round;
    transition: stroke-width 0.2s ease;
}

.map-hub-pin:hover .map-pointer-line,
.map-hub-pin.active-hub .map-pointer-line {
    stroke-width: 1.5px;
}

/* Red Label Underlines */
.map-pointer-underline {
    fill: none;
    stroke: #e60012;
    stroke-width: 1px;
    transition: stroke-width 0.2s ease;
}

.map-hub-pin:hover .map-pointer-underline,
.map-hub-pin.active-hub .map-pointer-underline {
    stroke-width: 1.5px;
}

/* Compass */
.map-compass {
    opacity: 0.3;
    transition: opacity 0.3s;
}
.map-compass:hover {
    opacity: 0.6;
}

/* Pointer Callout Hub Pins */
.map-hub-pin {
    cursor: default;
    outline: none;
}

.hub-pulse {
    fill: rgba(236, 72, 153, 0.2);
    transform-origin: center;
    animation: radarPulse 2.5s infinite ease-out;
}

.map-hub-pin.active-hub .hub-pulse {
    fill: rgba(236, 72, 153, 0.35);
}

@keyframes radarPulse {
    0% {
        r: 3.5;
        fill-opacity: 0.9;
    }
    100% {
        r: 16;
        fill-opacity: 0;
    }
}

.hub-core {
    fill: #db2777;
    stroke: #ffffff;
    stroke-width: 1.5px;
    transition: all 0.3s ease;
}

.map-hub-pin:hover .hub-core,
.map-hub-pin.active-hub .hub-core {
    transform: scale(1.2);
    fill: #ec4899;
    stroke-width: 2px;
}

/* Callout Text Labels (Japan Map Style) */
.hub-label {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 500;
    fill: #334155;
    cursor: default;
    transition: all 0.3s ease;
}

.map-hub-pin:hover .hub-label,
.map-hub-pin.active-hub .hub-label {
    fill: #e60012;
    font-weight: 700;
}

/* Branch Detail Card styling in SVG map */
.fo-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.fo-center {
    justify-content: center;
}
.fo-left {
    justify-content: flex-start;
}
.fo-right {
    justify-content: flex-end;
}

.branch-card {
    background: #111827;
    border: 1px solid rgba(230, 0, 18, 0.45);
    border-radius: 4px;
    padding: 3px 6px;
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    /* Desktop default: compact title callout only */
    width: 80px;
    height: 22px;
}

.map-hub-pin[data-region="hcm"] .branch-card {
    width: 105px;
}

.branch-card-title {
    font-size: 8.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.branch-card-address {
    display: none; /* Hidden by default on website/desktop */
    color: #94a3b8;
    font-size: 6.5px;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 1px;
}

.map-hub-pin:hover .branch-card,
.map-hub-pin.active-hub .branch-card {
    border-color: #e60012;
    background: #180c0d; /* subtle brand dark red */
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.35);
}

.map-hub-pin:hover .branch-card-title,
.map-hub-pin.active-hub .branch-card-title {
    color: #e60012;
}

.map-hub-pin:hover .branch-card-address,
.map-hub-pin.active-hub .branch-card-address {
    color: #e2e8f0;
}

/* Mobile responsive styles - show full addresses and enlarge cards */
@media (max-width: 991px) {
    .branch-card {
        width: 120px !important;
        height: 38px !important;
        padding: 4px 6px;
    }
    .map-hub-pin[data-region="dong-thap"] .branch-card {
        width: 100px !important;
    }
    .branch-card-address {
        display: block; /* Show address on mobile only */
    }
    .dealer-info-list {
        display: none !important; /* Hide redundant list on mobile */
    }
}



