/* Slider Layers Shared CSS */
/* This file is shared between Admin Panel and Frontend to ensure exact visual matching */

/* Container for layers */
.slider-layers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through empty areas */
    z-index: 10;
}

/* Individual Layer Item */
.slider-layer-item {
    position: absolute;
    pointer-events: auto;
    /* Enable clicks on items */
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    transform-origin: center center;
    /* Default styles */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Layer Types */
.slider-layer-text {
    white-space: pre-wrap;
    line-height: 1.2;
}

.slider-layer-button {
    background-color: #ffffff;
    color: #000000;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    cursor: pointer;
    border: none;
    display: inline-flex;
}

.slider-layer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Helper classes for mobile/desktop visibility */
/* These map to Bootstrap's breakpoints generally, but we enforce them strictly here for the slider context */

@media (min-width: 768px) {
    .show-mobile-only {
        display: none !important;
    }

    .show-desktop-only {
        display: block !important;
    }
}

@media (max-width: 767.98px) {
    .show-mobile-only {
        display: block !important;
    }

    .show-desktop-only {
        display: none !important;
    }
}