
        :root {
            --primary-color: #161f48;
            --primary-light: #243A73;
            --primary-dark: #0f1535;
            --secondary-color: #2c3e50;
            --accent-color: #3498db;
            --accent-light: #5dade2;
            --success-color: #27ae60;
            --warning-color: #f39c12;
            --danger-color: #e74c3c;
            --text-primary: #2c3e50;
            --text-secondary: #5a6c7d;
            --text-light: #7b8fa3;
            --text-white: #ffffff;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-tertiary: #ecf0f1;
            --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --border-color: #dde4ef;
            --border-light: #e8ecf4;
            --shadow-sm: 0 2px 4px rgba(22, 31, 72, 0.08);
            --shadow-md: 0 4px 12px rgba(22, 31, 72, 0.15);
            --shadow-lg: 0 8px 24px rgba(22, 31, 72, 0.18);
            --shadow-xl: 0 16px 32px rgba(22, 31, 72, 0.25);
            --border-radius: 16px;
            --border-radius-sm: 12px;
            --border-radius-lg: 24px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            /* font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; */
            /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
            background: #ffffff;
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Animated Background */
        .page-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            opacity: 0.05;
        }

        .page-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-20px);
            }
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--accent-color) 100%);
            position: relative;
            /* padding: 2rem 0 8rem; */
            overflow: hidden;
            /* margin-bottom: 4rem; */
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="grad1"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="10" fill="url(%23grad1)"/><circle cx="80" cy="60" r="15" fill="url(%23grad1)"/><circle cx="40" cy="80" r="8" fill="url(%23grad1)"/></svg>');
            animation: bubble 15s linear infinite;
        }

        @keyframes bubble {
            0% {
                transform: translateY(100%) rotate(0deg);
            }

            100% {
                transform: translateY(-100%) rotate(360deg);
            }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 2rem;
            animation: slideInDown 1s ease-out;
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, #ffffff, #f0f9ff, #e0f2fe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 2px 4px rgba(22, 31, 72, 0.3);
            animation: slideInUp 1s ease-out 0.3s both;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            font-weight: 400;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            animation: fadeIn 1s ease-out 0.6s both;
        }

        /* Floating Search Card */
        .search-card {
            position: relative;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-xl);
            padding: 2.5rem;
            padding: 1.5rem;
            margin: -1.5rem auto 4rem;
            max-width: 800px;
            z-index: 10;
            animation: slideInUp 1s ease-out 0.9s both;
            overflow: hidden;
        }

        .search-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--success-color));
            border-radius: var(--border-radius-lg);
        }

     

        .search-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.4rem;
        }


        .search-icon {
            width: 2.2rem;
            height: 2.2rem;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: var(--border-radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.0rem;
            box-shadow: var(--shadow-md);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        .search-title {
            font-size: 1.45rem;
            font-weight: 700;
            color: var(--primary-color);
            margin: 0;
        }

        .search-subtitle {
            color: var(--text-secondary);
            font-size: 0.8rem;
            margin: 0;
        }

        /* Enhanced Form Controls */
        .form-group {
            position: relative;
            margin-bottom: 1.5rem;

        }

        .form-control {
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius-sm);
            padding: 1rem 1.25rem;
            /* font-size: 1rem; */
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            color: var(--text-primary);
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(22, 31, 72, 0.15);
            outline: none;
            background: rgba(255, 255, 255, 1);
            transform: translateY(-1px);
        }

        .form-control::placeholder {
            color: var(--text-light);
            font-weight: 400;
        }

        .btn {
            padding: 1rem 2rem;
            font-weight: 600;
            border-radius: var(--border-radius-sm);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            position: relative;
            overflow: hidden;
            font-size: 1rem;
            letter-spacing: 0.025em;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: var(--text-white);
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
            color: var(--text-white);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid var(--border-color);
            color: var(--text-secondary);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--text-white);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Statistics Cards */
        .stats-section {
            margin-bottom: 3rem;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--border-radius);
            padding: 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            animation: slideInUp 0.6s ease-out both;
        }

        .stat-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .stat-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .stat-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            transition: height 0.3s ease;
        }

        .stat-card:nth-child(1)::before {
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }

        .stat-card:nth-child(2)::before {
            background: linear-gradient(90deg, var(--success-color), #2ecc71);
        }

        .stat-card:nth-child(3)::before {
            background: linear-gradient(90deg, var(--warning-color), #e67e22);
        }

        .stat-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }

        .stat-card:hover::before {
            height: 8px;
        }

        .stat-icon {
            width: 4rem;
            height: 4rem;
            border-radius: var(--border-radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: white;
            font-size: 2rem;
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
        }

        .stat-icon::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transform: rotate(45deg);
            transition: transform 0.6s;
        }

        .stat-card:hover .stat-icon::before {
            transform: rotate(45deg) translate(50%, 50%);
        }

        .stat-icon.total {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        }

        .stat-icon.recent {
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
        }

        .stat-icon.important {
            background: linear-gradient(135deg, var(--warning-color), #e67e22);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            line-height: 1;
        }

        .stat-label {
            font-size: 1rem;
            color: var(--text-secondary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Notice Cards */
        .notice-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-md);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            margin-bottom: 2rem;
            animation: slideInUp 0.6s ease-out both;
        }

        .notice-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--success-color));
            transition: height 0.3s ease;
        }

        .notice-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }

        .notice-card:hover::before {
            height: 8px;
        }

        .notice-header {
            padding: 1.4rem 2.4rem;
            background: linear-gradient(135deg, rgba(22, 31, 72, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .notice-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .notice-header:hover::before {
            opacity: 0.05;
        }

        .notice-header-content {
            display: flex;
            flex-direction: row;
            gap: 1.5rem;

        }

        .notice-header-main-content {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            position: relative;
            z-index: 2;
            gap: 1.5rem;

        }

        .notice-badge {
            background: rgba(175, 10, 10, 0.2);
            padding: 5px 14px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            gap: 3px;
            backdrop-filter: blur(10px);
            min-width: fit-content;
        }

        .badge-icon {
            font-size: 1.0rem;
            
        }

        .badge-text {
            font-size: 1.3rem;
            font-weight: 600;
        }

        .notice-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }

        .notice-meta {
            display: flex;
            gap: 2rem;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-secondary);

            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.2rem 1rem;
            background: rgba(22, 31, 72, 0.08);
            border-radius: 20px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .meta-item:hover {
            background: rgba(22, 31, 72, 0.15);
            transform: translateY(-1px);
        }

        .meta-icon {
            color: var(--primary-color);
            font-size: 1rem;
        }

        .notice-toggle {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border: none;
            color: white;
            font-size: 1.15rem;
            width: 2.8rem;
            height: 2.8rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
        }

        .notice-toggle::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .notice-toggle:hover {
            transform: scale(1.1);
            box-shadow: var(--shadow-lg);
        }

        .notice-toggle:hover::before {
            opacity: 1;
        }

        .notice-toggle.expanded {
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            transform: rotate(180deg) scale(1.05);
        }

        .notice-body {
            padding: 0;
            background: rgba(255, 255, 255, 0.9);
            display: none;
            border-top: 1px solid var(--border-light);
        }

        .notice-body.show {
            display: block;
            animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }



        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .notice-content {
            padding: 2.5rem;
            /* font-size: 1.1rem; */
            font-size: 1.5rem;
            line-height: 1.8;
            font-weight: 500;
            /* color: var(--text-primary); */
            color: var(--text-white);
            /* background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); */
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
        }

        .notice-content p {
            margin-bottom: 1.5rem;
            /* color: var(--text-secondary); */
            color: var(--text-white);
            font-size: 1.3rem;
            line-height: 1.2;
            font-weight: 500;
            justify-content: center;
        }

        .notice-content h1,
        .notice-content h2,
        .notice-content h3,
        .notice-content h4,
        .notice-content h5,
        .notice-content h6 {
            color: var(--primary-color);
            font-weight: 700;
            margin: 2.5rem 0 1.5rem;
        }

        .notice-content ul,
        .notice-content ol {
            padding-left: 2rem;
            margin-bottom: 1.5rem;
        }

        .notice-content li {
            margin-bottom: 0.75rem;
            color: var(--text-secondary);
        }

        .notice-content img {
            max-width: 100%;
            height: 300px;
            min-height: 200px;
            border-radius: var(--border-radius);
            /* margin: 1rem auto; */
            margin: 1.5rem auto;
            display: block;
            box-shadow: var(--shadow-lg);
            transition: transform 0.3s ease;
            cursor: zoom-in;
        }

        .notice-content img:hover {
            transform: scale(1.02);
        }

        .notice-footer {
            padding: 1.5rem 2.5rem;
            background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
            border-top: 1px solid var(--border-light);
            text-align: center;
        }

        .notice-footer small {
            color: var(--text-light);
            font-size: 0.9rem;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: rgba(22, 31, 72, 0.05);
            border-radius: 25px;
        }

        /* No Notices State */
        .no-notices {
            text-align: center;
            padding: 4rem 2rem;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 2px dashed var(--border-color);
            border-radius: var(--border-radius);
            position: relative;
            overflow: hidden;
        }

        .no-notices::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--success-color));
        }

        .no-notices-icon {
            width: 5rem;
            height: 5rem;
            border-radius: var(--border-radius);
            background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2rem;
            font-size: 2.5rem;
            box-shadow: var(--shadow-md);
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .no-notices h4 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-weight: 700;
            font-size: 1.75rem;
        }

        .no-notices p {
            color: var(--text-secondary);
            margin: 0;
            font-size: 1.1rem;
        }

        /* Pagination */
        .pagination-wrapper {
            margin-top: 4rem;
            display: flex;
            justify-content: center;
        }

        .pagination {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: var(--border-radius);
            padding: 1rem;
            box-shadow: var(--shadow-lg);
            display: flex;
            gap: 0.5rem;
        }

        .page-link {
            border: none;
            background: none;
            color: var(--text-secondary);
            padding: 0.875rem 1.25rem;
            border-radius: var(--border-radius-sm);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            min-width: 3rem;
            text-align: center;
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .page-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s;
        }

        .page-link:hover::before {
            left: 100%;
        }

        .page-link:hover {
            background: rgba(22, 31, 72, 0.1);
            color: var(--primary-color);
            transform: translateY(-2px);
            text-decoration: none;
        }

        .page-item.active .page-link {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            box-shadow: var(--shadow-md);
        }

        .page-item.disabled .page-link {
            color: var(--text-light);
            cursor: not-allowed;
            opacity: 0.5;
        }

        /* Animations */
        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                /* width: 300px */
                width: 100%;
            }

            .hero-section {
                /* padding: 1.5rem 0 6rem; */
                margin-bottom: 3rem;
            }

            .search-card {
                margin: -0.2rem 1rem 0.2rem;
                padding: 0.2rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .notice-header {
                padding: 1.2rem 0.5rem;
            }

            .notice-content {
                padding: 0.8rem 1rem;
            }

            .notice-content p {

                line-height: 1.4;
                /* text-align: justify */
            }

            .notice-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .notice-header-content {
                flex-direction: row;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .notice-footer {
                padding: 1.5rem 1.5rem;
            }

            .notice-footer small {

                font-size: 0.7rem;
            }

            .notice-content img {
                max-width: 100%;
                max-height: 220px;
                margin: 0.5rem auto;
            }

            .notice-toggle {

                font-size: 1rem;
                width: 2.5rem;
                height: 2.5rem;
            }

        }

        @media (max-width: 576px) {
            .search-card {
                margin: -0.8rem 0.5rem 2rem;
                padding: 1.5rem;
            }

            .search-header {
                flex-direction: row;
                text-align: center;
                gap: 1rem;
            }

            .notice-card {
                margin: 0 0.5rem 1.5rem;
            }

            .btn {
                padding: 0.775rem 1.2rem;
                font-size: 0.95rem;
            }
        }

        /* Loading States */
        .loading-skeleton {
            background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: var(--border-radius-sm);
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        /* Accessibility */
        .notice-toggle:focus-visible,
        .btn:focus-visible,
        .form-control:focus-visible,
        .page-link:focus-visible {
            outline: 3px solid var(--accent-color);
            outline-offset: 3px;
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Print Styles */
        @media print {

            .hero-section,
            .search-card,
            .stats-section,
            .pagination-wrapper {
                display: none !important;
            }

            .notice-card {
                break-inside: avoid;
                box-shadow: none;
                border: 2px solid var(--primary-color);
                margin-bottom: 2rem;
                background: white !important;
            }

            .notice-body {
                display: block !important;
            }

            .notice-toggle {
                display: none;
            }

            body {
                background: white !important;
            }
        }

        .notic-logo {
            margin-bottom: 10px;
            text-align: center;
        }
   

        
        /* Compact Search Form Styles */
        .search-form-compact {
            width: 100%;
        }

        .search-row {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: nowrap;
        }

        .search-input-group {
            flex: 1;
            min-width: 200px;
        }


       .compact-input {
            border: 2px solid var(--border-color);
            border-radius: var(--border-radius-sm);
            padding: 0.75rem 1rem;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            color: var(--text-primary);
            height: 3rem;
            /* Fixed height for consistency */
        }

        .compact-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(22, 31, 72, 0.15);
            outline: none;
            background: rgba(255, 255, 255, 1);
            transform: translateY(-1px);
        }

        .compact-input::placeholder {
            color: var(--text-light);
            font-weight: 400;
        }

        .search-buttons {
            display: flex;
            gap: 0.5rem;
            flex-shrink: 0;
            margin-top: auto
        }

        .compact-btn {
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            border-radius: var(--border-radius-sm);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            font-size: 0.9rem;
            height: 2.5rem;
            /* Match input height */
            display: flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
        }

        .compact-btn i {
            font-size: 0.9rem;
        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            .search-row {
                flex-wrap: wrap;
                gap: 0.75rem;
            }

            .search-input-group {
                min-width: 180px;
            }

            .search-buttons {
                width: 100%;
                justify-content: center;
                margin-top: 0.5rem;
            }

            .compact-btn {
                flex: 1;
                justify-content: center;
                max-width: 150px;
            }
        }

        @media (max-width: 768px) {
            .search-row {
                flex-direction: row;
                align-items: stretch;
            }

            .search-input-group {
                width: 100%;
                min-width: auto;
            }

            .search-buttons {
                flex-direction: row;
                width: 100%;
                margin-top: 0.75rem;
            }

            .compact-btn {
                flex: 1;
                padding: 0.875rem 1rem;
            }

            /* .btn-text {
            display: none;
        } */

            .compact-btn i {
                font-size: 1rem;
            }

            .notice-badge {
                padding: 5px 5px;
                gap: 2px;
        

            }

            .notice-title {
                font-size: 1.18rem;
            }

            .badge-icon {
                font-size: 0.80rem;
               
            }
        }

        @media (max-width: 480px) {
            .search-card {
                padding: 1.25rem;
            }

            .search-header {
                flex-direction: row;
                text-align: center;
                gap: 0.75rem;
                margin-bottom: 1.2rem;
            }

            .search-title {
                font-size: 1.5rem;
            }

            .search-subtitle {
                font-size: 0.85rem;
            }

            .compact-input {
                padding: 0.625rem 0.875rem;
                font-size: 0.9rem;
            }

            .compact-btn {
                padding: 0.75rem;
                font-size: 0.85rem;
            }
        }

        /* Enhanced button hover effects for compact layout */
        .compact-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .compact-btn:hover::before {
            left: 100%;
        }

        .btn-primary.compact-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: var(--text-white);
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
        }

        .btn-primary.compact-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
            color: var(--text-white);
        }

        .btn-secondary.compact-btn {
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid var(--border-color);
            color: var(--text-secondary);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .btn-secondary.compact-btn:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--text-white);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* Focus states for accessibility */
        .compact-btn:focus-visible {
            outline: 3px solid var(--accent-color);
            outline-offset: 2px;
        }

        /* Loading state for search button */
        .compact-btn.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .compact-btn.loading i {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }
   
