/* DTMS Website Custom Styles - Vibrant Color Scheme */

:root {
    --primary-color: #DC143C; /* Crimson */
    --secondary-color: #8B0000; /* Deep Red */
    --success-color: #32CD32; /* Lime Green */
    --danger-color: #B22222; /* Fire Brick Red */
    --warning-color: #FFD700; /* Gold/Yellow */
    --info-color: #FF6347; /* Tomato */
    --light-color: #FFFACD; /* Lemon Chiffon */
    --dark-color: #8B0000; /* Deep Red */
    --accent-color: #228B22; /* Forest Green */
    --gradient-primary: linear-gradient(135deg, #DC143C 0%, #B22222 100%); /* Crimson to Deep Red */
    --gradient-success: linear-gradient(135deg, #32CD32 0%, #228B22 100%); /* Lime to Forest Green */
    --gradient-warning: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); /* Gold to Orange */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background: linear-gradient(135deg, var(--light-color) 0%, #FFF8DC 50%, #FFFACD 100%);
    min-height: 100vh;
}

/* Brand Section Styling */
.brand-section {
    background: var(--gradient-warning);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.brand-title {
    font-weight: 700;
    font-size: 3.2rem;
    color: var(--dark-color) !important;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.brand-subtitle {
    font-weight: 600;
    color: var(--primary-color) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.brand-tagline {
    font-style: italic;
    margin-top: 5px;
    color: var(--secondary-color);
    font-weight: 500;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation Styling */
.navbar-dark {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.4);
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 3px;
    color: #FFFACD !important;
}

.navbar-nav .nav-link:hover {
    background: var(--gradient-warning);
    color: var(--dark-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.navbar-nav .nav-link.active {
    background: var(--gradient-success);
    color: white !important;
    box-shadow: 0 3px 10px rgba(50, 205, 50, 0.4);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    background: var(--light-color);
    border: 2px solid var(--warning-color);
}

.dropdown-item {
    transition: all 0.3s ease;
    padding: 10px 20px;
    color: var(--dark-color);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(8px);
    border-radius: 8px;
}

/* Carousel Styling */
.carousel-item {
    height: 350px; /* Increased height for better visibility */
}

.carousel-item img {
    height: 100%;
    object-fit: cover; /* Changed back to cover for full width stretch */
    object-position: center; /* Center the image for best view */
    filter: brightness(0.99);
    width: 100%;
    min-width: 100%; /* Ensure full width coverage */
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.carousel-caption h5 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Content Cards */
.content-card {
    background: linear-gradient(135deg, white 0%, var(--light-color) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.content-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(220, 20, 60, 0.25);
    border-color: var(--warning-color);
}

.content-card .card-body {
    padding: 30px;
}

.content-card .fa-icon {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    filter: drop-shadow(2px 2px 4px rgba(220, 20, 60, 0.3));
}

.content-card:hover .fa-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-card .card-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.content-card .card-text {
    color: var(--secondary-color);
    line-height: 1.7;
    font-weight: 500;
}

/* Notice Board - Enhanced Scrolling */
.notice-board {
    background: linear-gradient(135deg, white 0%, var(--light-color) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
    border: 3px solid var(--warning-color);
    position: relative;
    overflow: hidden;
}

.notice-board .p-3:last-child {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
}

/* Custom Scrollbar for Notice Board */
.notice-board .p-3:last-child::-webkit-scrollbar {
    width: 6px;
}

.notice-board .p-3:last-child::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 10px;
}

.notice-board .p-3:last-child::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.notice-board .p-3:last-child::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--warning-color) 0%, var(--primary-color) 100%);
}

/* Auto-scroll Animation for Notices */
@keyframes noticeAutoScroll {
    0% { transform: translateY(0); }
    20% { transform: translateY(0); }
    80% { transform: translateY(-50%); }
    100% { transform: translateY(-50%); }
}

.notice-container-scroll {
    animation: noticeAutoScroll 20s infinite linear;
    animation-play-state: running;
}

.notice-container-scroll:hover {
    animation-play-state: paused;
}

.notice-item {
    padding: 18px;
    border-bottom: 2px solid #FFE4B5;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.1) 100%);
    cursor: pointer;
    position: relative;
}

.notice-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.notice-item:hover {
    background: var(--gradient-warning);
    transform: translateX(8px);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.notice-item:hover::before {
    background: var(--primary-color);
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.notice-title {
    color: var(--dark-color);
    font-weight: 700;
    margin: 8px 0;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

.notice-title:hover {
    color: var(--primary-color);
}

.notice-excerpt {
    font-size: 0.8rem;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 8px;
}

.notice-type {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.notice-type.general {
    background: var(--gradient-success);
    color: white;
}

.notice-type.exam {
    background: var(--gradient-primary);
    color: white;
}

.notice-type.result {
    background: var(--gradient-warning);
    color: var(--dark-color);
}

.notice-type.important {
    background: linear-gradient(135deg, #FF6347 0%, #FF4500 100%);
    color: white;
    animation: pulse 2s infinite;
}

/* Notice Board Loading State */
.notice-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    flex-direction: column;
}

.notice-loading .spinner-border {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

/* Notice Board Empty State */
.notice-empty {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-color);
}

.notice-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Convenor Message */
.convenor-message {
    background: linear-gradient(135deg, white 0%, var(--light-color) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
    border: 3px solid var(--success-color);
    position: relative;
    overflow: hidden;
}

.convenor-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-success);
}

.convenor-message .content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(220, 20, 60, 0.2);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-warning);
    border-radius: 2px;
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 12px 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--gradient-primary);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--gradient-success);
    border-color: var(--success-color);
}

.btn-success {
    background: var(--gradient-success);
    border: 2px solid var(--success-color);
}

.btn-warning {
    background: var(--gradient-warning);
    color: var(--dark-color);
    border: 2px solid var(--warning-color);
}

/* Back to Top Button */
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    /* Center align the arrow icon using flexbox */
    align-items: center;
    justify-content: center;
}

#btn-back-to-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

#btn-back-to-top i {
    font-size: 18px;
    line-height: 1;
}

#btn-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Tables */
.table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide carousel/banner on mobile */
    #mainCarousel {
        display: none !important;
    }
    
    /* Make brand-section compact on mobile */
    .brand-section {
        padding: 15px 0 !important; /* Reduce padding */
    }
    
    .brand-section .container {
        padding: 0 10px; /* Reduce container padding */
    }
    
    .brand-section .row {
        margin: 0; /* Remove row margins */
    }
    
    .brand-section .col-md-2,
    .brand-section .col-md-8 {
        padding: 5px; /* Reduce column padding */
    }
    
    .brand-section .logo {
        max-height: 60px !important; /* Reduce logo size */
        width: auto;
        margin: 0 auto;
    }
    
    .brand-title {
        font-size: 1.7rem !important; /* Increased further for better mobile readability */
        margin-bottom: 5px !important;
        line-height: 1.2;
    }
    
    .brand-tagline {
        font-size: 0.7rem !important;
        margin-top: 2px !important;
    }
    
    .brand-section .contact-info {
        display: none; /* Hide contact info on mobile to save space */
    }
    
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption h5 {
        font-size: 1.3rem;
    }
    
    .content-card .fa-icon {
        font-size: 2.5rem;
    }
    
    .convenor-message {
        padding: 20px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .notice-board .p-3:last-child {
        max-height: 300px;
    }
    
    .notice-item {
        padding: 12px;
    }
    
    .notice-title {
        font-size: 0.9rem;
    }
    
    .notice-excerpt {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    /* Extra compact brand-section for very small screens */
    .brand-section {
        padding: 10px 0 !important;
    }
    
    .brand-title {
        font-size: 1.5rem !important; /* Increased further for better small mobile readability */
    }
    
    .brand-tagline {
        font-size: 0.6rem !important;
    }
    
    .brand-section .logo {
        max-height: 50px !important;
    }
    
    .contact-info {
        margin-top: 15px;
    }
    
    .carousel-caption {
        padding: 15px;
    }
    
    .content-card {
        margin-bottom: 20px;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color), #146c43);
}

.shadow-lg {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.border-gradient {
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--success-color)) 1;
}

/* Print Styles */
@media print {
    .navbar, .footer, #btn-back-to-top, .carousel, .social-links {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .content-card, .notice-board, .convenor-message {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

/* Statistics Cards Color Variations */
.stats-crimson {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, white 0%, #FFE4E1 100%);
}

.stats-crimson .fa-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-crimson .stats-number {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(220, 20, 60, 0.3);
}

.stats-green {
    border: 3px solid var(--success-color);
    background: linear-gradient(135deg, white 0%, #F0FFF0 100%);
}

.stats-green .fa-icon {
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-green .stats-number {
    color: var(--success-color);
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(50, 205, 50, 0.3);
}

.stats-yellow {
    border: 3px solid var(--warning-color);
    background: linear-gradient(135deg, white 0%, #FFFACD 100%);
}

.stats-yellow .fa-icon {
    background: var(--gradient-warning);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-yellow .stats-number {
    color: #FF8C00;
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.4);
}

.stats-red {
    border: 3px solid var(--danger-color);
    background: linear-gradient(135deg, white 0%, #FFEBCD 100%);
}

.stats-red .fa-icon {
    background: linear-gradient(135deg, var(--danger-color) 0%, #FF4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-red .stats-number {
    color: var(--danger-color);
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(178, 34, 34, 0.3);
}

.stats-label {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 10px;
}

/* Hover effects for stats cards */
.stats-crimson:hover {
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.3);
    border-color: var(--primary-color);
}

.stats-green:hover {
    box-shadow: 0 15px 35px rgba(50, 205, 50, 0.3);
    border-color: var(--success-color);
}

.stats-yellow:hover {
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    border-color: var(--warning-color);
}

.stats-red:hover {
    box-shadow: 0 15px 35px rgba(178, 34, 34, 0.3);
    border-color: var(--danger-color);
}

/* Footer Styling - Blackish Dark Red Theme */
footer {
    box-shadow: 0 -8px 30px rgba(26, 0, 0, 0.6);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--warning-color) 50%, var(--primary-color) 100%);
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--warning-color) !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    transform: translateX(5px);
}

footer .social-links a {
    transition: all 0.4s ease;
    display: inline-block;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 2px;
}

footer .social-links a:hover {
    background: var(--gradient-warning);
    color: var(--dark-color) !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

footer h5, footer h6 {
    position: relative;
    padding-bottom: 8px;
}

footer h5::after, footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-warning);
}

footer .btn {
    transition: all 0.4s ease;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

/* Enhanced Notices Page Styling */
.notices-page .section-header {
    margin-bottom: 3rem;
}

.notices-page .content-card {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.08);
}

.notices-page .notice-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(220, 20, 60, 0.1);
    overflow: hidden;
    position: relative;
}

.notices-page .notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.notices-page .notice-card:hover::before {
    transform: scaleX(1);
}

.notices-page .notice-card .card-body {
    flex-grow: 1;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.notices-page .notice-card .card-title {
    flex-grow: 1;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.notices-page .notice-card .card-title a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.notices-page .notice-card:hover .card-title a {
    color: var(--primary-color);
}

.notices-page .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

.notices-page .notice-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.notices-page .notice-type {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notices-page .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 8px;
}

/* Search Form Enhancements */
.notices-page .input-group {
    position: relative;
}

.notices-page #clearSearch {
    border-left: none;
    background: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
}

.notices-page #clearSearch:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Search Results Highlight */
.notices-page .notice-highlight {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 228, 181, 0.3) 0%, rgba(255, 250, 205, 0.3) 100%);
    transform: scale(1.02);
}

/* Loading Animation */
.notices-page .search-loading {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Spacing */
@media (max-width: 1200px) {
    .notices-page .col-xl-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .notices-page .section-header {
        margin-bottom: 2rem;
    }
    
    .notices-page .content-card {
        margin-bottom: 1rem;
    }
    
    .notices-page .notice-card .card-body {
        padding: 1.25rem;
    }
    
    .notices-page .card-title {
        font-size: 1rem;
    }
    
    .notices-page .card-text {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

/* Pagination Styling */
.notices-page .pagination {
    margin-top: 3rem;
}

.notices-page .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.notices-page .page-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.notices-page .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
} 