/* ============================================
   Empty State Pages - Fish Icons and Text
   Used for: Settings, Notifications, Messages, 
   Saved Locations, Saved Gear
   ============================================ */

/* Main container - takes full viewport minus sidebar width */
.empty-state-container {
    position: relative;
    width: calc(100% - 15rem);
    /* Account for 15rem sidebar */
    /* height: 100vh; */
    margin-left: 10rem;
    /* Push content right of sidebar */
    padding: 4rem 3rem;
    /* background: #d9f2ff; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-container.fishspin {
    height: 100vh;
}


/* Content wrapper - centers text content */
.empty-state-content {
    position: relative;
    z-index: 10;
    /* Above fish icons */
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem 4rem;
}

/* Main title styling */
.empty-state-title {
    font-family: 'Chillax Variable', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #0a0f65;
    line-height: 1.1;
    letter-spacing: -0.01em;
    padding: 0 2rem;
    margin: 0;
    padding-bottom: 1rem;
}

/* Description/subtitle text */
.empty-state-message {
    font-family: 'Afacad', sans-serif;
    font-size: 1.5rem;
    color: #0a0f65;
    line-height: 1.6;
    max-width: 550px;
    margin: 1rem auto 0;
    padding: 0 3rem;
}

/* ============================================
   Fish Icons - Decorative Elements
   ============================================ */

/* Container for fish icons - covers full area */
.empty-state-fish-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    /* Behind text content */
    pointer-events: none;
    /* Allow clicks to pass through */
}

/* First fish - positioned in upper left corner */
.empty-state-fish-1 {
    position: absolute;
    width: 280px;
    height: 336px;
    top: 18%;
    left: 8%;
    z-index: 5;
    transform: rotate(102deg) scaleY(-1);
    /* Rotate and flip vertically */
}

/* Second fish - positioned in lower right corner */
.empty-state-fish-2 {
    position: absolute;
    width: 240px;
    height: 288px;
    bottom: 12%;
    right: 8%;
    z-index: 5;
    transform: rotate(299deg) scaleY(-1);
    /* Rotate and flip vertically */
}

/* Ensure SVG fish scale properly within their containers */
.empty-state-fish-1 svg,
.empty-state-fish-2 svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   Background Overrides
   Prevent any decorative backgrounds from showing
   ============================================ */

/* .main:has(.empty-state-container),
.empty-state-container,
.empty-state-container * {
    background-image: none !important;
} */

/* Hide pseudo-elements that might add decorative backgrounds */
.empty-state-container::before,
.empty-state-container::after {
    display: none !important;
    content: none !important;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet and smaller screens */
@media (max-width: 1024px) {
    .empty-state-container {
        width: calc(100% - 12rem);
        margin-left: 12rem;
    }

    .empty-state-title {
        font-size: 2.5rem;
    }

    .empty-state-fish-1 {
        width: 300px;
        height: 360px;
        top: 20%;
    }

    .empty-state-fish-2 {
        width: 300px;
        height: 360px;
        bottom: 15%;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .empty-state-container {
        width: 100%;
        margin-left: 0;
        padding: 2rem;
    }

    .empty-state-title {
        font-size: 2rem;
    }

    .empty-state-fish-1 {
        width: 200px;
        height: 240px;
        top: 15%;
        left: 5%;
    }

    .empty-state-fish-2 {
        width: 200px;
        height: 240px;
        bottom: 10%;
        right: 5%;
    }
}