/* Affiliate Design System */

/* Layout & Navigation */
.sidebar-panel {
    background-color: var(--gray-800);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.03);
}

.nav-link.active {
    background: rgba(236, 72, 153, 0.08);
    /* Pink-500 optimized opacity */
    color: var(--pink-500);
    border-left-color: var(--pink-500);
}

.btn-sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    width: 100%;
    border-radius: 0.5rem;
    color: #f87171;
    /* red-400 */
    border: 1px solid rgba(248, 113, 113, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-sidebar-logout:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* Custom Input Styles (Reusing glass effect) */
.input-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    width: 100%;
}

.input-glass:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--pink-500);
    outline: none;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

/* Auth Cards */
.auth-card {
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Primary Button for Auth/Affiliate */
.btn-affiliate {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--pink-600) 100%);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
    border: none;
    cursor: pointer;
}

.btn-affiliate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
    color: white;
}

/* Stat Cards */
.stat-card {
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}