.dashboard-wrapper {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.dashboard-header {
    margin-bottom: 2rem;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.greeting-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a1628;
    margin: 0;
    letter-spacing: -0.02em;
}
.greeting-badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 1.25rem;
}
.greeting-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0.25rem 0 0;
}
.user-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}
.dashboard-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.dashboard-left {
    flex: 0 0 380px;
    min-width: 340px;
}
.dashboard-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashboard-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    overflow: hidden;
}
.stat-card:hover {
    transform: translateY(-2px);
}
.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}
.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    z-index: 1;
}
.stat-number {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}
.stat-bg {
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 0.15;
}
.stat-primary {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}
.stat-primary:hover {
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.35);
}
.stat-primary .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.stat-primary .stat-bg {
    background: #ffffff;
}
.stat-secondary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}
.stat-secondary:hover {
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.35);
}
.stat-secondary .stat-icon {
    background: rgba(255, 255, 255, 0.2);
}
.stat-secondary .stat-bg {
    background: #ffffff;
}
.stat-accent {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}
.stat-accent:hover {
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
}
.stat-accent .stat-icon {
    background: rgba(255, 255, 255, 0.2);
}
.stat-accent .stat-bg {
    background: #ffffff;
}
.stat-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.25);
}
.stat-dark:hover {
    box-shadow: 0 12px 32px rgba(30, 41, 59, 0.35);
}
.stat-dark .stat-icon {
    background: rgba(255, 255, 255, 0.15);
}
.stat-dark .stat-bg {
    background: #ffffff;
}
.stat-outline {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #334155;
}
.stat-outline:hover {
    border-color: #0066ff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.1);
}
.stat-outline .stat-icon {
    background: #f1f5f9;
    color: #64748b;
}
.stat-outline:hover .stat-icon {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
}
.stat-outline .stat-number {
    color: #0a1628;
}
.stat-cta {
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    color: #0066ff;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.stat-cta:hover {
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.05);
}
.stat-cta .stat-icon {
    background: rgba(0, 102, 255, 0.1);
}
.stat-cta .stat-info {
    align-items: center;
}
.stat-cta .stat-label {
    font-weight: 600;
    opacity: 1;
}
.dashboard-tiles .box{
    border-radius: 8px;
    transition: all .18s ease-in-out;
    text-decoration: none;
    color: inherit;
}
.dashboard-tiles .box .icon{ font-size: 36px; margin-bottom: 6px; }
.dashboard-tiles .box .heading{ margin: 0; font-weight: 600; }
.dashboard-quicklink{ padding: 1.6rem 1rem; display: block; }
.dashboard-quicklink:hover{ transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.dashboard-quicklink.ql-red .icon{ color: #ff3860; }
.dashboard-quicklink.ql-blue .icon{ color: #3273dc; }
.dashboard-quicklink.ql-green .icon{ color: #23d160; }
.dashboard-quicklink.ql-yellow .icon{ color: #ffdd57; }
.dashboard-stats{ margin-top: 8px; }
.dashboard-stats .level-item{ padding: 22px 0; }
.dashboard-stats .level-item a{ display: block; text-align: center; color: inherit; text-decoration: none; }
.dashboard-stats .level-item .heading{ color: #3F51B5; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 8px; }
.dashboard-stats .level-item .heading .fa{ color: #3F51B5; margin-right: 6px; }
.dashboard-stats .level-item .title{ font-size: 34px; font-weight: 700; color: #222; margin-top: 6px; }
.dashboard-stats .level-item .fa{ color: #3F51B5; font-size: 18px; display:inline-block; }
.dashboard-access{
    display: inline-block;
    padding: 16px 18px;
    border-radius: 8px;
    background: #fff;
    min-width: 140px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.dashboard-access .heading{ color: #3F51B5; text-transform: uppercase; font-size: .75rem; letter-spacing: .9px; }
.dashboard-access .title{ font-size: 34px; font-weight: 700; color: #222; margin-top: 6px; }
.dashboard-access:hover{ transform: translateY(-6px); box-shadow: 0 18px 36px rgba(31,47,70,0.06); }
.dashboard-stats .dashboard-access{
    background: transparent;
    box-shadow: none;
    padding: 6px 8px;
    min-width: auto;
    border-radius: 0;
    display: block;
    text-align: left;
}
.dashboard-stats .dashboard-access .heading{
    display: inline-block;
    color: #4f5bd5;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.dashboard-stats .dashboard-access .heading .fa{
    color: #4f5bd5;
    margin-right: 8px;
    font-size: 14px;
}
.dashboard-stats .dashboard-access .title{
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.dashboard-stats .dashboard-access .title{
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.dashboard-stats .dashboard-access:hover{ transform: none; box-shadow: none; }

@media (max-width: 900px) {
    .dashboard-content {
        flex-direction: column;
    }
    .dashboard-left {
        flex: none;
        width: 100%;
    }
    .dashboard-right {
        display: none;
    }
}
