body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
}

.card-header {
    background-color: #800000 !important;
    color: white !important;
    font-weight: bold;
    text-align: center;
}

.list-group-item {
    font-size: 0.85rem;
    padding: 5px 10px;
}

.list-group-item a {
    text-decoration: none;
    color: #0000EE;
}

.list-group-item a:hover {
    text-decoration: underline;
}

.featured-box {
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    height: 100%;
}

.box-1 { background-color: #FF0000; }
.box-2 { background-color: #FF8C00; }
.box-3 { background-color: #800080; }
.box-4 { background-color: #0000FF; }
.box-5 { background-color: #808000; }
.box-6 { background-color: #008000; }
.box-7 { background-color: #FF4500; }
.box-8 { background-color: #2E8B57; }

.view-more-btn {
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    padding: 2px 15px;
    font-size: 0.8rem;
    float: right;
}

.ad-section {
    margin: 20px 0;
    text-align: center;
}

/* Post Redesign Styles */
.post-table-container {
    border: 2px solid #000;
    margin-bottom: 20px;
}

.post-table-header {
    background-color: #800000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    border-bottom: 2px solid #000;
}

.post-table {
    width: 100%;
    border-collapse: collapse;
}

.post-table td, .post-table th {
    border: 1px solid #000;
    padding: 8px;
    vertical-align: top;
}

.post-table th {
    background-color: #800000;
    color: #fff;
    text-align: center;
}

.text-red { color: #ff0000; }
.text-blue { color: #0000ff; }
.fw-bold { font-weight: bold; }

.important-links-table {
    background-color: #ffffcc;
}

.important-links-table a {
    color: #0000ff;
    font-weight: bold;
    text-decoration: none;
}

.important-links-table a:hover {
    text-decoration: underline;
}

/* Admin Sticky Menu */
.admin-navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1030;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
    }
    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }
}

.mobile-nav-item {
    text-align: center;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    flex: 1;
}

.mobile-nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
}

.mobile-nav-item.active {
    color: #d9534f;
}
