/* লেফট সাইডবার */
.sidebar-left {
    background-color: #E3E3E3;
    padding: 10px;
    border-right: 1px solid #dee2e6;
}

.sidebar-left .card {
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sidebar-left .card-header {
    background-color: #006400;
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px 4px 0 0 !important;
}

.sidebar-left a {
    color: #006400;
    text-decoration: none;
    display: block;
    padding: 6px 10px;
    font-size: 15px;
}

.sidebar-left a:hover {
    background-color: #f0f8f0;
    border-left: 3px solid #006400;
    padding-left: 12px;
}

.sidebar-left img {
    object-fit: cover;
    height: 48px;
    width: 48px;
}

/* রাইট সাইডবার - আপডেটেড ভার্সন */
.sidebar-right {
    height: 300px;
    position: relative;
}

.sidebar-right .card {
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #ffffff;
}

.sidebar-right .card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.sidebar-right .card-header {
    background: linear-gradient(135deg, #006400 0%, #008000 100%);
    color: white;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 0 !important;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-right .card-header h6 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.sidebar-right .card-header h6::before {
    content: "📢";
    margin-right: 8px;
    font-size: 1.1em;
}

.sidebar-right .card-body {
    overflow-y: auto;
    padding: 12px;
    background-color: #ffffff;
}

/* নোটিশ লিস্ট স্টাইলিং - সবসময় বক্স দেখা যাবে */
.sidebar-right .card-body .list-unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-right .card-body .list-unstyled li {
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f8f9fa;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sidebar-right .card-body .list-unstyled li:last-child {
    margin-bottom: 0;
}

/* হালকা বক্স ইফেক্ট - সবসময় দেখা যাবে */
.sidebar-right .card-body .list-unstyled li {
    border: 1px solid #6e6c6c;
    background-color: #fafafa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sidebar-right .card-body .list-unstyled li:hover {
    background-color: #f0f8f0;
    border-color: #c8e6c9;
    box-shadow: 0 2px 4px rgba(0, 100, 0, 0.1);
}

/* লিংক স্টাইল - ছোট ফন্ট এবং জাস্টিফাই */
.sidebar-right .card-body .list-unstyled li a {
    color: #0066cc !important;
    text-decoration: none !important;
    font-weight: 500;
    display: block;
    transition: all 0.2s ease;
    white-space: normal;
    line-height: 1.4;
    font-size: 0.9rem;
    text-align: justify;
    margin-bottom: 4px;
}

/* হোভার ইফেক্ট */
.sidebar-right .card-body .list-unstyled li a:hover {
    text-decoration: underline !important;
    text-decoration-color: #0066cc !important;
    color: #004499 !important;
}

/* তারিখ স্টাইল - ইনলাইন এবং রাইট সাইড */
.sidebar-right .card-body .list-unstyled li .text-muted {
    color: #6c757d !important;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
}

.sidebar-right .card-body .list-unstyled li .text-muted::before {
    content: "📅";
    margin-right: 4px;
    font-size: 0.7em;
}

/* তারিখ রাইট সাইডে */
.sidebar-right .card-body .list-unstyled li .text-muted .date {
    margin-left: auto;
    font-weight: 500;
    color: #006400;
}

/* খালি নোটিশের জন্য স্টাইল */
.sidebar-right .card-body .list-unstyled .text-muted {
    text-align: center;
    padding: 20px 0;
    font-style: italic;
    color: #8a8a8a !important;
    font-size: 0.9rem;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* স্ক্রলবার স্টাইলিং */
.sidebar-right .card-body::-webkit-scrollbar {
    width: 4px;
}

.sidebar-right .card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar-right .card-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.sidebar-right .card-body::-webkit-scrollbar-thumb:hover {
    background: #006400;
}

/* রেস্পন্সিভ ডিজাইন */
@media (max-width: 768px) {
    .sidebar-right {
        height: auto;
        max-height: 300px;
    }
    
    .sidebar-right .card-header h6 {
        font-size: 0.95rem;
    }
    
    .sidebar-right .card-body .list-unstyled li a {
        font-size: 0.85rem;
    }
    
    .sidebar-right .card-body .list-unstyled li {
        padding: 6px 8px;
    }
}