.ragunda-maps {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 600px;
    overflow: hidden;
    background: #f5f5dc; /* Beige achtergrond */
}

.ragunda-maps__container {
    position: relative;
    width: 100%;
    height: 100%;
}

.ragunda-maps__map {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: #f5f5f5;
}

.ragunda-maps__error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    z-index: 10;
    display: none;
}

.ragunda-maps__error p {
    margin: 0 0 1rem 0;
    color: #666;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.ragunda-maps__error p:last-child {
    margin-bottom: 0;
}

.ragunda-maps__error strong {
    color: #1d1d1d;
    font-weight: 600;
}

.ragunda-maps__error a {
    color: #1d1d1d;
    text-decoration: underline;
}

.ragunda-maps__error a:hover {
    color: #666;
}

.ragunda-maps__loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 5;
    display: none;
}

.ragunda-maps__loading p {
    margin: 0;
    color: #1d1d1d;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.ragunda-maps__loading::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #1d1d1d;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin: 1rem auto 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ragunda-maps__info-window {
    padding: 0;
    max-width: 300px;
}

.ragunda-maps__info-window h3 {
    margin: 0 0 0.5rem 0;
    color: #1d1d1d;
    font-family: 'Gotkin', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.ragunda-maps__info-window p {
    margin: 0 0 1rem 0;
    color: #666;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.ragunda-maps__navigate-btn {
    display: inline-block;
    background: none;
    color: #1d1d1d;
    border: 2px solid #1d1d1d;
    border-radius: 10px;
    padding: 0.6em 1.4em;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    width: auto;
    box-shadow: none;
    text-align: left;
    align-self: flex-start;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    outline: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ragunda-maps__navigate-btn:hover {
    background: #1d1d1d;
    color: #fffbe6;
    text-decoration: none !important;
}

.ragunda-maps__navigate-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ragunda-maps .gm-style {
    font-family: 'Inter', Arial, sans-serif;
}

.ragunda-maps .gm-style-iw {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.ragunda-maps .gm-style-iw-d {
    padding: 1rem;
    overflow: hidden;
}

.ragunda-maps .gm-style-iw-c {
    padding: 0;
    border-radius: 8px;
}

.ragunda-maps .gm-style-iw-t::after {
    background: linear-gradient(45deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0) 100%);
}

/* Responsive design */
@media (max-width: 768px) {
    .ragunda-maps {
        height: 100vh;
        min-height: 400px;
    }
    
    .ragunda-maps__map {
        min-height: 400px;
    }
    
    .ragunda-maps__error,
    .ragunda-maps__loading {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .ragunda-maps {
        height: 100vh;
        min-height: 300px;
    }
    
    .ragunda-maps__map {
        min-height: 300px;
    }
    
    .ragunda-maps__error,
    .ragunda-maps__loading {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .ragunda-maps__error p,
    .ragunda-maps__loading p {
        font-size: 13px;
    }
}

/* Full screen support */
.ragunda-maps:fullscreen {
    width: 100vw;
    height: 100vh;
}

.ragunda-maps:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
}

.ragunda-maps:-moz-full-screen {
    width: 100vw;
    height: 100vh;
} 