/* Notices Page Styles */

/* সব পেজের জন্য ফিক্সড মার্জিন সেটিংস */
.notice-directory-wrapper {
    margin-top: -85px; 
    position: relative;
    z-index: 10;
}

/* এমটি স্টেট কার্ড (আপনার পাঠানো ছবি অনুযায়ী) */
.empty-state-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: none;
    width: 100%;
}

/* নোটিশ কার্ড ডিজাইন */
.notice-card { 
    border: none; 
    border-radius: 15px; 
    transition: all 0.3s ease; 
    background: #fff; 
    height: 100%; 
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}
.notice-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; 
}

.date-box { 
    width: 60px; 
    height: 65px; 
    /* 🟢 FIX: CSS Variable ব্যবহার করা হয়েছে 🟢 */
    background: var(--primary-color); 
    color: white; 
    border-radius: 10px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    line-height: 1.2; 
    font-weight: bold; 
}
.date-box .day { font-size: 20px; }
.date-box .month { font-size: 12px; text-transform: uppercase; }

.notice-title { 
    font-size: 18px; 
    font-weight: 700; 
    color: #333; 
    line-height: 1.5; 
    margin-top: 15px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    min-height: 54px; 
    transition: 0.3s; 
}
.notice-card:hover .notice-title a { 
    color: var(--primary-color) !important; 
}

.new-badge {
    background: #27ae60;
    color: white;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 10px;
    vertical-align: middle;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

.urgent-ribbon { 
    position: absolute; 
    top: 0; 
    left: 0; 
    background: #ff4757; 
    color: white; 
    padding: 2px 15px; 
    font-size: 10px; 
    font-weight: bold; 
    border-bottom-right-radius: 10px; 
    text-transform: uppercase; 
    z-index: 1; 
}

.btn-detail-sm {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 15px;
    border-radius: 50px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.btn-detail-sm:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .notice-directory-wrapper { margin-top: -50px; }
}