/* ===== LAYOUT FIX ===== */
.main-container {
    min-height: 100vh;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#sidebar-container {
    height: fit-content;
    position: sticky;
    top: 76px;
}

.col-lg-10.col-md-9.ms-sm-auto.px-4 {
    flex: 1;
    min-height: calc(100vh - 76px);
    padding-bottom: 2rem;
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* ===== ACTIVITY LIST ===== */
.activity-list .list-group-item {
    border: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light) !important;
}

.activity-list .list-group-item:last-child {
    border-bottom: none !important;
}

/* ===== MODERN CARDS ===== */
.card-modern {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-header-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body-modern {
    padding: 1.5rem;
}

/* ===== STATS CARDS ===== */
.stats-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stats-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stats-card .number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-card .label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn-modern {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    color: white;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
    color: white;
}

.btn-light-modern {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light-modern:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-2px);
}