/* কর্মী সিলেবাস পেজের জন্য এক্সক্লুসিভ স্টাইল */

.content-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 15px;
}

.library-title-box {
    background: linear-gradient(135deg, #01579b, #0288d1);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-bottom: 4px solid #ffd700;
}

.category-header h2 {
    background: #004d40; /* কর্মী সিলেবাসের সবুজ থিম */
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 17px;
    display: inline-block;
    border-left: 6px solid #ffd700;
    margin: 40px 0 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* Book Card */
.book-card {
    background: #ffffff; 
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-bottom: 6px solid #004d40;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.book-card:hover {
    z-index: 99; 
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.book-image-area {
    background: #f9f9f9;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 20px 20px 0 0;
}

.book-pic { max-height: 100%; border-radius: 4px; }

.book-info {
    padding: 20px 15px;
    text-align: center;
}

.book-name { font-size: 19px; color: #01579b; font-weight: bold; margin-bottom: 5px; }
.writer-name { font-size: 13px; color: #666; font-style: italic; margin-bottom: 15px; display: block; }

.stock-info-container {
    background: #e0f2f1;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
}
.stock-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: bold; color: #004d40; }
.stock-out { color: #d32f2f; }

/* Tracker Box - সেন্টারে এলাইন করা হয়েছে */
.tracker-box {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 12px;
    margin: 0 auto 15px; /* অটো মার্জিন দিয়ে সেন্টারে আনা হয়েছে */
    border: 1px solid #eee;
    width: 90%;
    box-sizing: border-box;
    text-align: center;
}

.track-title { font-size: 10px; color: #d32f2f; font-weight: bold; display: block; margin-bottom: 4px; }
.holder-name { font-size: 13px; color: #333; font-weight: bold; margin: 0 0 5px 0; }

.more-holders { 
    position: relative; 
    display: inline-block; 
}

.more-btn-v2 {
    background: #fff;
    border: 1.5px solid #004d40;
    color: #004d40;
    padding: 3px 18px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    font-weight: bold;
}

.dropdown-list {
    display: none;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: #263238;
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
}

.more-holders:hover .dropdown-list {
    display: block;
}

.dropdown-list p {
    margin: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4px;
}

/* Collect Button */
.collect-btn {
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    text-align: center;
    transition: 0.3s;
}

.main-collect {
    background: linear-gradient(to right, #004d40, #00796b);
    color: white;
}

.main-collect:hover {
    background: linear-gradient(to right, #00796b, #009688);
    transform: scale(1.03);
}

/* Footer (Index Match) */
.footer {
    background: #01579b;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
    border-top: 5px solid #ffd700;
}
/* --- কর্মী সিলেবাস মোবাইল রেসপন্সিভ ডিজাইন --- */
@media (max-width: 767px) {
    /* হেডার এবং টাইটেল সমন্বয় */
    .header {
        padding: 20px 10px;
    }

    .header-center-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo img {
        width: 65px;
    }

    .titles h1 {
        font-size: 18px;
    }

    .titles h3 {
        font-size: 15px;
    }

    /* নেভিগেশন বার */
    .navbar {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    .navbar a {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* বইয়ের গ্রিড লেআউট */
    .book-grid {
        display: grid;
        grid-template-columns: 1fr; /* মোবাইলে এক কলামে একটি বই দেখাবে */
        gap: 20px;
        padding: 10px;
    }

    .book-card {
        flex-direction: column; /* ইমেজ উপরে এবং তথ্য নিচে আসবে */
        padding: 15px;
        text-align: center;
    }

    .book-image-area {
        width: 100%;
        max-width: 150px;
        margin: 0 auto 15px;
    }

    .book-pic {
        width: 100%;
        border-radius: 8px;
    }

    /* বইয়ের তথ্যের অংশ */
    .book-info {
        padding-left: 0;
    }

    .book-name {
        font-size: 18px;
    }

    .writer-name {
        font-size: 14px;
    }

    /* স্টক এবং ট্র্যাকার বক্স */
    .stock-row {
        justify-content: center;
        gap: 20px;
        font-size: 13px;
    }

    .tracker-box {
        margin: 15px 0;
        padding: 10px;
        font-size: 13px;
    }

    /* বাটন সমন্বয় */
    .collect-btn {
        width: 100%; /* বাটনটি পুরো চওড়া হবে */
        padding: 12px;
        font-size: 16px;
        display: block;
    }

    .more-btn-v2 {
        margin: 5px auto;
    }

    /* ফুটার */
    .footer {
        font-size: 11px;
        padding: 20px 10px;
    }
}