/* Skeleton Loader Styles */
.skeleton-loader {
    animation: skeleton-loading 1.5s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-nav {
    height: 60px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.skeleton-logo {
    width: 120px;
    height: 32px;
    border-radius: 4px;
}

.skeleton-hero {
    height: 400px;
    background: white;
    padding: 3rem 1rem;
}

.skeleton-title {
    height: 48px;
    width: 60%;
    margin: 0 auto 1rem;
    border-radius: 8px;
}

.skeleton-subtitle {
    height: 24px;
    width: 80%;
    margin: 0 auto 2rem;
    border-radius: 4px;
}

.skeleton-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.skeleton-button {
    width: 180px;
    height: 50px;
    border-radius: 4px;
}

.skeleton-content {
    padding: 3rem 1rem;
}

.skeleton-section {
    max-width: 1140px;
    margin: 0 auto 2rem;
    height: 100px;
    border-radius: 8px;
}

#app:not(:empty) ~ #skeleton {
    display: none;
}

/* Cookie Consent Icon Style */
#cc-main .cm__btn--settings::before {
    content: '';
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.3em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='currentColor' d='M4 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 1c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zm-1.5 1c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zm3 0c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zm-3 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zm3 0c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zm-1.5 1c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Cookie consent modal styling */
#cc-main .cm {
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Cookie Settings Button */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 50px;
    height: 50px;
    background-color: #1b6ec2;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    color: white;
}

.cookie-settings-btn .oi {
    font-size: 20px;
}

.cookie-settings-btn:hover {
    background-color: #155a9c;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cookie-settings-btn:active {
    transform: scale(0.95);
}

.cookie-settings-btn.banner-visible {
    bottom: 90px;
}

/* Sticky Download Banner */
.sticky-download-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
}

.sticky-download-banner.show {
    transform: translateY(0);
    opacity: 1;
}

/* Add padding to body when banner is visible */
body.banner-visible {
    padding-bottom: 80px;
}

/* Add default bottom padding for cookie button on mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 56px;
    }
    
    body.banner-visible {
        padding-bottom: 112px;
    }
}
