/* CAES Geo Simple — Bandera del país */

.caes-geos-flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 4px 10px 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    user-select: none;
    line-height: 1;
}

.caes-geos-flag__icon {
    display: inline-flex;
    width: 24px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.caes-geos-flag__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.caes-geos-flag__code {
    letter-spacing: 0.03em;
    color: #555;
}

/* Bandera flotante en esquina superior derecha */
.caes-geos-flag--floating {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 9999;
}

/* Bandera inline (para shortcode) */
.caes-geos-flag--inline {
    display: inline-flex;
}

/* Adaptar a móvil */
@media ( max-width: 768px ) {
    .caes-geos-flag--floating {
        top: 8px;
        right: 8px;
        padding: 3px 8px 3px 3px;
        font-size: 11px;
    }
    .caes-geos-flag__icon {
        width: 20px;
        height: 14px;
    }
}
