/* privacy-placeholders.css - Native Design Sync */

.privacy-placeholder {
    position: relative;
    width: 100%;
    min-height: 400px; /* Standard height for maps/video */
    aspect-ratio: 16 / 9;
    background-color: #0f172a; /* Slate 900 base */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

/* Base layer for the blurred content */
.privacy-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(12px) brightness(0.8);
    transform: scale(1.05); /* Avoid white edges from blur */
    z-index: 1;
}

/* Subtle overlay to increase contrast */
.privacy-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.1); 
    z-index: 2;
}

.privacy-content {
    position: relative;
    z-index: 10;
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    animation: placeholderFadeIn 0.5s ease-out;
}

@keyframes placeholderFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.privacy-icon {
    font-size: 2.5rem;
    color: #1E60A8; /* Bikemaster Primary */
    margin-bottom: 20px;
}

.privacy-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
}

.privacy-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 25px;
}

.privacy-text a {
    color: #1E60A8;
    text-decoration: underline;
}

.btn-load-privacy {
    background: #1E60A8;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(30, 96, 168, 0.2);
}

.btn-load-privacy:hover {
    background: #164a82;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(30, 96, 168, 0.3);
}

/* Loaded state: remove blur and show iframe */
.privacy-placeholder.loaded::before,
.privacy-placeholder.loaded::after {
    display: none;
}

.privacy-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    border: none;
}
