/* Album Detail Modal - Split View */
.modal-content.glass-card {
    max-width: 900px;
    /* Wider modal */
    width: 90%;
    max-height: 85vh;
    padding: 0;
    /* Reset padding for full layout */
    overflow: hidden;
    /* Scroll inside */
}

.modal-header {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.modal-body {
    height: 100%;
    overflow-y: auto;
}

/* Layout handled by style.css - Removed conflicting styles */

/* Mobile Responsive */
/* Mobile Responsive Overrides for Modal Structure Only */
.modal-content.glass-card {
    height: 100%;
    max-height: 100%;
    width: 100%;
    border-radius: 0;
}

/* Modern Loader - Added */
.modal-loading-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.loader-cover-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(30px);
    z-index: -1;
}

.loader-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
    animation: pulse-red 1.5s infinite;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-pulse i {
    font-size: 2rem;
    color: white;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 0, 85, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
    }
}