/**
 * Aronation Global Styles
 * Foundation für strategische Animationen
 */

/* 1. Container-Fixing */
/* Stellt sicher, dass Hintergründe nicht aus Sektionen ausbrechen */
.aronation-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* 2. Layering-System */
/* Schiebt Animationen sauber in den Hintergrund */
.aronation-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none; /* Klicks gehen durch auf den Content */
}

/* Erlaubt Interaktion für Elemente wie Reacting Dots */
.aronation-interactive {
    pointer-events: all !important;
}

/* 3. Branding Utility: Glassmorphism (Legacy-Klasse) */
.aronation-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: inherit;
}

/* 4. Reset für Canvas-Elemente */
canvas.aronation-canvas {
    display: block;
    vertical-align: middle;
}


/* ==========================================================================
   5. WP Store Locator – Info-Window Styling
   Überschreibt das Google Maps Standard-InfoWindow mit dem Entwurf:
   Dunkle Pill-Form, kein Pfeil, kein Schließen-Button, Icon + Text.
   ========================================================================== */

/* --- Haupt-Container: Hintergrund, Form, Schatten --- */
.gm-style .gm-style-iw-c {
    background: rgba(28, 28, 25, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 50px !important;
    padding: 10px 20px 10px 10px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
    border: none !important;
    min-width: 220px !important;
}

/* --- Innen-Scroll-Wrapper: Overflow deaktivieren --- */
.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
}

/* --- Pfeil/Schwanz ausblenden --- */
.gm-style .gm-style-iw-t::after,
.gm-style .gm-style-iw-tc {
    display: none !important;
}

/* --- Schließen-Button ausblenden --- */
.gm-ui-hover-effect {
    display: none !important;
}

/* --- wpsl Info-Window Inhalt --- */
.wpsl-info-window {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 0;
}

.wpsl-info-window p {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

/* Store-Name (strong-Tag) */
.wpsl-info-window p strong,
.wpsl-info-window p strong a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: 0.02em;
}

/* Adresse (span-Tags) */
.wpsl-info-window p span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-top: 1px;
}

/* Telefon / Fax / Email Zeilen */
.wpsl-info-window > span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55) !important;
    margin-top: 2px;
}

/* --- "More Info" / Actions Link ausblenden (optional) --- */
.wpsl-info-window .wpsl-store-details {
    display: none;
}


/* ==========================================================================
   6. ARO Upload – Fortschrittsbalken (NAS-Upload)
   ========================================================================== */

.aro-upload-progress-wrap {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 99px;
    margin-top: 6px;
    overflow: hidden;
}

.aro-upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 99px;
    transition: width 0.2s ease;
}

.aro-upload-progress-label {
    position: absolute;
    right: 0;
    top: -18px;
    font-size: 10px;
    color: #6366f1;
    line-height: 1;
    font-weight: 600;
}

.aro-upload-progress-done .aro-upload-progress-bar {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.aro-upload-progress-done .aro-upload-progress-label {
    color: #16a34a;
}