* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #003d82 0%, #002d5f 100%);
    min-height: 100vh;
    color: #333;
    margin: 0;
    padding: 0;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 320px;
    background: linear-gradient(180deg, #003d82 0%, #002d5f 100%);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: hidden;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h1 {
    font-size: 1.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebar-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    padding: 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
    /* Ẩn scrollbar nhưng vẫn cho phép cuộn nếu cần */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.sidebar-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 5px 0;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.nav-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                0 0 40px rgba(255, 255, 255, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.nav-item:hover::before {
    opacity: 1;
    animation: navGlowPulse 2s ease-in-out infinite;
}

.nav-item:hover::after {
    opacity: 1;
    animation: navShine 1.5s ease-in-out infinite;
}

@keyframes navGlowPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes navShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: white;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1),
                0 0 15px rgba(255, 255, 255, 0.2);
}

.nav-item.active::before {
    opacity: 0.6;
    animation: navGlowPulse 2s ease-in-out infinite;
}

.nav-icon {
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
}

.nav-text {
    font-size: 16px;
    white-space: nowrap;
}

/* Logout Section Styles */
.logout-section {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-item-logout {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(220, 53, 69, 0.15) 100%);
    border-left: 3px solid #ff6b6b !important;
    color: #ffebee !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-item-logout::before {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
}

.nav-item-logout:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.25) 0%, rgba(220, 53, 69, 0.25) 100%);
    border-left-color: #ff6b6b !important;
    color: #ffffff !important;
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4),
                0 0 40px rgba(220, 53, 69, 0.3),
                inset 0 0 20px rgba(255, 107, 107, 0.2);
}

.nav-item-logout:hover::before {
    opacity: 1;
    animation: logoutGlowPulse 2s ease-in-out infinite;
}

@keyframes logoutGlowPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.9;
    }
}

.logout-arrow {
    margin-left: auto;
    font-size: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.nav-item-logout:hover .logout-arrow {
    opacity: 1;
    transform: translateX(5px);
    color: #ffffff;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.nav-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-dropdown.active .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.nav-dropdown.active .nav-dropdown-menu {
    max-height: 500px;
}

.nav-dropdown-item {
    padding-left: 60px !important;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.1);
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 65px !important;
}

.nav-dropdown-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-left: 3px solid white;
}

/* Main Content */
.main-content {
    margin-left: 320px;
    flex: 1;
    min-height: 100vh;
    background: white;
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
}

main {
    padding: 30px 30px 30px 20px;
    max-width: none;
    margin: 0;
    width: 100%;
    flex: 1;
}

footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 12px 20px;
    text-align: center;
    color: #888;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
    font-size: 13px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.02);
}

footer p {
    margin: 0;
    padding: 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* Sidebar Collapsed State */
.sidebar.collapsed {
    transform: translateX(-100%);
}

.main-content.expanded {
    margin-left: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background: linear-gradient(135deg, #003d82 0%, #002d5f 100%);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 61, 130, 0.4);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 61, 130, 0.6);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.hamburger-icon {
    display: block;
    transition: transform 0.3s ease;
    font-size: 24px;
    line-height: 1;
}

.mobile-menu-btn.active .hamburger-icon {
    transform: rotate(90deg);
}

.mobile-menu-btn.active {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar.collapsed {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .sidebar-header {
        position: sticky;
        top: 0;
        background: linear-gradient(180deg, #003d82 0%, #002d5f 100%);
        z-index: 10;
    }

    main {
        padding: 15px;
        padding-top: 20px;
    }

    .page-header {
        margin-top: 70px;
    }

    .sidebar-overlay.active {
        display: block;
    }
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #003d82;
}

.page-header h2 {
    color: #003d82;
    font-size: 2em;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section h3 {
    color: #003d82;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #003d82;
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #003d82 0%, #002d5f 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 61, 130, 0.4);
    background: linear-gradient(135deg, #004C99 0%, #003d82 100%);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-edit {
    background: #28a745;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-edit:hover {
    background: #218838;
    transform: translateY(-2px);
    color: white;
}

.btn-edit i {
    font-size: 14px;
}

.btn-delete {
    background: #dc3545;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-delete:hover {
    background: #c82333;
    transform: translateY(-2px);
    color: white;
}

.btn-delete i {
    font-size: 14px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

.table-section {
    margin-top: 30px;
}

.table-section h3 {
    color: #003d82;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.data-table thead {
    background: linear-gradient(135deg, #003d82 0%, #002d5f 100%);
    color: white;
}

.data-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.actions {
    display: flex;
    gap: 8px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 18px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #003d82 0%, #002d5f 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 61, 130, 0.4), 0 0 40px rgba(0, 45, 95, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: lightMove 1.5s ease-in-out infinite;
}

@keyframes lightMove {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(10px, 10px);
    }
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card h4 {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .value {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-card .label {
    font-size: 14px;
    opacity: 0.8;
}

.chart-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chart-container h3 {
    color: #003d82;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 600;
    font-size: 14px;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #003d82;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 61, 130, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 61, 130, 0.3),
                0 0 40px rgba(0, 61, 130, 0.2),
                0 0 60px rgba(0, 45, 95, 0.15);
    border-left-color: #004C99;
}

.summary-card:hover::before {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.8;
    }
}

.summary-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 10px;
}

.summary-card:hover::after {
    opacity: 1;
}

.summary-card h3 {
    color: #003d82;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.summary-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-card .number {
    font-size: 1.2em;
    font-weight: bold;
    color: #003d82;
    margin-top: 5px;
}

@media (max-width: 768px) {
    main {
        padding: 15px;
    }
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 5px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-section {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .sidebar-header h1 {
        font-size: 1.2em;
    }

    .nav-text {
        font-size: 14px;
    }
}

/* Tab Styles */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.tab-button {
    padding: 12px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.tab-button:hover {
    color: #003d82;
}

.tab-button.active {
    color: #003d82;
    border-bottom-color: #003d82;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Toast Notification Styles */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: #d4edda;
    color: #155724;
}

.toast-error .toast-icon {
    background: #f8d7da;
    color: #721c24;
}

.toast-warning .toast-icon {
    background: #fff3cd;
    color: #856404;
}

.toast-info .toast-icon {
    background: #d1ecf1;
    color: #0c5460;
}

.toast-message {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

.toast-success {
    border-left: 4px solid #28a745;
}

.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-warning {
    border-left: 4px solid #ffc107;
}

.toast-info {
    border-left: 4px solid #17a2b8;
}

@media (max-width: 768px) {
    #toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.popup-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header {
    padding: 20px 25px;
    border-bottom: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #003d82 0%, #002d5f 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-body {
    padding: 25px;
}

/* Pagination Styles */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination span {
    padding: 8px 12px;
    color: #666;
}

.pagination .btn-sm {
    min-width: 40px;
}

/* Formatted Display */
.form-group {
    position: relative;
}

.formatted-display {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    font-size: 14px;
    z-index: 1;
}

@media (max-width: 768px) {
    .popup-content {
        max-width: 95%;
        margin: 10px;
    }

    .popup-header {
        padding: 15px 20px;
    }

    .popup-body {
        padding: 20px;
    }
}
