﻿body {
    min-height: 100vh;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.navbar {
    z-index: 1100;
}

.sidebar {
    height: calc(100vh - 56px);
    width: 250px;
    background-color: #fff;
    height: 100%;
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
}

.sidebar-collapsed {
    transform: translateX(100%);
}

#toggleSidebarBtn {
    position: fixed;
    top: 65px;
    right: 10px;
    z-index: 1300;
    background-color: transparent;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease-in-out;
}

    #toggleSidebarBtn:hover {
        background-color: #f0f0f0;
        border-color: #999;
    }



.content {
    margin-right: 250px;
    /*padding: 2rem;*/
    /*margin-top: 56px;*/
    transition: margin-right 0.3s ease-in-out;
}

    .content.expanded {
        margin-right: 0;
    }

.sidebar .nav-link {
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

    .sidebar .nav-link:hover,
    .sidebar .nav-link.active {
        background-color: #0d6efd;
        color: white !important;
        box-shadow: 0 2px 8px rgb(13 110 253 / 0.4);
    }

#userProfile img {
    object-fit: cover;
    border: 2px solid #ddd;
}


/* آیتم حرفه‌ای برای کاربر رایگان */
/*.pro-locked {
    opacity: 0.45;
    filter: grayscale(1);
    position: relative;
    cursor: not-allowed;
}

    .pro-locked::after {
        content: "نیازمند اشتراک";
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 11px;
        background: #fff3cd;
        color: #856404;
        padding: 2px 6px;
        border-radius: 6px;
    }*/


/* ===== FREE CARDS ===== */
.free-card {
    background-color: #f3fbf6; /* سبز خیلی ملایم */
    border: 1px solid #d7f0e2;
}

/* ===== PRO CARDS ===== */
.pro-card {
    background-color: #f5f9ff; /* آبی خیلی ملایم */
    border: 1px solid #dbe7ff;
    position: relative;
}

/* PRO Badge */
.pro-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    background-color: #0d6efd;
    color: #fff;
    opacity: 0.85;
    pointer-events: none;
}

/* Hover subtle effect */
.dashboard-card {
    background-color: #04141e !important;

    background: rgba(248, 249, 250, 0.1) !important;
    border: 1px solid rgba(228, 228, 228, 0.1) !important;

    color: #dddddd !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    height: 100px;
    padding: .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dashboard-card i{
    font-size: 1.4rem;
}

.dashboard-card p{
    font-size: 0.75rem;
    margin: 4px 0 0 0;
}

.dashboard-card:hover{
    transform: translateY(-2px);
}
#dashboard-cards .col {
    min-width: 0;
}



  