/**
 * Joicy Nails VIP Academy - Estilos del Panel Administrativo (Diseño Minimalista)
 * Tipografía: Montserrat + Poppins
 */

.app-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-main);
}

/* Sidebar Minimalista */
.app-sidebar {
    width: 260px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    transition: transform .25s ease;
}

.sidebar-header {
    padding: 20px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-menu {
    flex: 1;
    padding: 16px 10px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 3px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .15s ease;
}

.sidebar-link i {
    font-size: 1rem;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
    transition: color .15s ease;
}

.sidebar-link:hover {
    background-color: var(--bg-card);
    color: var(--text-primary);
}
.sidebar-link:hover i {
    color: var(--gold-primary);
}

.sidebar-link.active {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    border: 1px solid var(--border-color);
}
.sidebar-link.active i {
    color: var(--gold-primary);
}

.sidebar-footer {
    padding: 16px 18px;
    border-top: 1px solid var(--border-color);
}

/* Main Content */
.app-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-topbar {
    height: 64px;
    background-color: var(--bg-sidebar);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.app-content {
    flex: 1;
    padding: 24px;
}

/* Stat Cards Minimalistas */
.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color .2s ease;
}
.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}
.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--gold-primary);
}
.stat-card .stat-number {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Status Indicator Dot */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 500;
}
.status-pill.online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.status-pill.offline {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Custom Tabs Minimalistas */
.nav-tabs-vip {
    border-bottom: 1px solid var(--border-color);
    gap: 6px;
}
.nav-tabs-vip .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
}
.nav-tabs-vip .nav-link:hover {
    color: var(--text-primary);
}
.nav-tabs-vip .nav-link.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
    background: transparent;
}

/* Video Responsive Container */
.vimeo-responsive-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #000;
}
.vimeo-responsive-container iframe,
.vimeo-responsive-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Provider Radio Card Minimalista */
.provider-card-select {
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px;
    background: var(--bg-card);
    transition: all .2s ease;
}
.provider-card-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}
.provider-card-select.active {
    border-color: var(--gold-primary);
    background: rgba(197, 168, 105, 0.04);
}

/* Responsive */
@media (max-width: 991px) {
    .app-sidebar {
        transform: translateX(-100%);
    }
    .app-sidebar.show {
        transform: translateX(0);
    }
    .app-main {
        margin-left: 0;
    }
}
