/* Base styles */
:root {
    --primary-color: #9a0e2a;
    --primary-gradient: linear-gradient(135deg, #9a0e2a, #630617);
    --secondary-color: #222;
    --accent-color: #ff3e3e;
    --text-color: #ddd;
    --light-bg: #1a1a1a;
    --dark-bg: #111;
    --success-color: #00c853;
    --warning-color: #ffc107;
    --danger-color: #ff3d00;
    --card-bg: #222;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --glow: 0 0 10px rgba(255, 62, 62, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Increased base font size even more */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    background-image: radial-gradient(circle at top right, #2a0a13, #1a1a1a 60%);
    background-attachment: fixed;
    font-size: 1.2rem; /* Increased from 1.12rem */
}

/* General link styling */
a {
    color: var(--accent-color);
    text-decoration: none !important; /* Remove underlines */
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
    font-size: 1.2rem; /* Added explicit font size */
}

a:hover, a:focus {
    color: #fff;
    text-shadow: 0 0 8px var(--accent-color);
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background: var(--dark-bg);
    color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 62, 62, 0.2);
}

/* Increased logo size */
.logo h1 {
    font-size: 1.9rem; /* Increased from 1.7rem */
    margin-left: 1rem;
    background: linear-gradient(90deg, #ff3e3e, #9a0e2a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(255, 62, 62, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 1rem;
}

/* Improved navigation links with larger text */
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.22rem; /* Increased from 1.14rem */
    font-weight: 500;
    letter-spacing: 0.02em;
}

nav ul li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:before {
    width: 70%;
}

nav ul li a:hover {
    background: rgba(154, 14, 42, 0.2);
    box-shadow: var(--glow);
    color: var(--accent-color);
}

nav ul li a i {
    margin-right: 0.4rem;
}

/* Main content area */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 130px);
}

/* Form styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 62, 62, 0.1);
    backdrop-filter: blur(10px);
}

/* Larger form title */
.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.8rem; /* Increased from 1.6rem */
}

.form-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Larger form labels */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1.2rem; /* Increased from 1.1rem */
}

/* Larger form inputs */
.form-control {
    width: 100%;
    padding: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 62, 62, 0.2);
    border-radius: var(--border-radius);
    font-size: 1.2rem; /* Increased from 1.1rem */
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: var(--glow);
}

/* Enhanced form controls - select, date, etc. */
select,
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="search"] {
    appearance: none;
    width: 100%;
    padding: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 62, 62, 0.2);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Improved select dropdown visibility */
select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ff3e3e' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    padding-right: 2.5rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    background-color: rgba(30, 30, 30, 0.7);
}

/* Make dropdown options more visible */
select option {
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 10px;
}

/* Add glow effect on hover for select */
select:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(255, 62, 62, 0.3);
}

/* Animation for opening select */
select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(255, 62, 62, 0.5);
    animation: select-pulse 1.5s infinite alternate;
}

@keyframes select-pulse {
    0% {
        border-color: rgba(255, 62, 62, 0.5);
    }
    100% {
        border-color: rgba(255, 62, 62, 1);
    }
}

/* Date picker styling */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(315deg);
    opacity: 0.7;
    cursor: pointer;
}

/* Focus states for all enhanced form controls */
select:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="search"]:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: var(--glow);
}

/* Placeholder styling */
::placeholder {
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

/* Checkbox and radio styling */
input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 62, 62, 0.3);
    vertical-align: middle;
    margin-right: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: var(--primary-gradient);
    border-color: var(--accent-color);
}

input[type="checkbox"]:checked:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
}

input[type="radio"]:checked:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.6rem;
    height: 0.6rem;
    background: white;
    border-radius: 50%;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    box-shadow: var(--glow);
}

/* File input styling */
input[type="file"] {
    width: 100%;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

input[type="file"]::file-selector-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

input[type="file"]::file-selector-button:hover {
    box-shadow: 0 0 8px rgba(255, 62, 62, 0.5);
}

/* Range input (slider) styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    outline: none;
    margin: 1rem 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.7);
}

input[type="range"]::-moz-range-thumb:hover {
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.7);
}

/* Textarea styling */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Input groups */
.input-group {
    display: flex;
    position: relative;
}

.input-group .form-control:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append {
    display: flex;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    border: 1px solid rgba(255, 62, 62, 0.2);
    border-left: none;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    font-size: 1.2rem;
}

/* Form labels for checkbox/radio */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
}

.form-check-label {
    font-size: 1.1rem;
    cursor: pointer;
}

/* Larger buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.2rem; /* Increased from 1.1rem */
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(154, 14, 42, 0.5);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Larger alert text */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    position: relative;
    backdrop-filter: blur(5px);
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.alert-success {
    background-color: rgba(0, 200, 83, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.alert-danger {
    background-color: rgba(255, 61, 0, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(255, 61, 0, 0.3);
}

/* Dashboard styles with increased text sizes */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    border: 1px solid rgba(255, 62, 62, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.card-header {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.card-title {
    font-size: 1.5rem; /* Increased from 1.4rem */
    color: white;
    font-weight: 500;
}

.card-value {
    font-size: 2.4rem; /* Increased from 2.2rem */
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.card-footer {
    font-size: 1.1rem; /* Increased from 1rem */
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
}

/* Form links styles - improved styling with larger text */
.form-links {
    margin-top: 1.8rem;
}

.form-links p {
    margin-bottom: 0.7rem;
    text-align: center;
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.form-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 1.2rem; /* Added explicit font size */
}

.form-links a:hover {
    color: white;
    text-shadow: 0 0 5px rgba(255, 62, 62, 0.5);
    background: rgba(154, 14, 42, 0.15);
}

/* Slightly larger helper text */
.form-text {
    font-size: 1rem; /* Increased from 0.9rem */
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5);
}

.text-danger {
    color: var(--danger-color);
}

/* Enhanced Table styles with larger text */
.table-container {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 62, 62, 0.1);
    padding: 0.5rem;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1.2rem; /* Increased from 1.1rem */
}

table th, table td {
    padding: 1.2rem 1rem;
    text-align: left;
}

table th {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 1.05rem; /* Increased from 0.95rem */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

table th:first-child {
    border-top-left-radius: 6px;
}

table th:last-child {
    border-top-right-radius: 6px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

table tr {
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.2);
}

table tr:hover {
    background-color: rgba(154, 14, 42, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

table td {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

table td:last-child {
    border-right: none;
}

/* Styling for action buttons in tables */
table .btn-action {
    padding: 0.4rem 0.8rem;
    font-size: 1rem; /* Increased from 0.9rem */
}

/* Table action buttons */
.table-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
    gap: 10px;
}

.table-actions .btn-action {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.table-actions .btn-action i {
    margin-right: 8px;
}

.table-actions .btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(154, 14, 42, 0.3);
}

@media print {
    header, footer, .table-actions, .btn, nav {
        display: none !important;
    }
    
    body, .container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .table-container {
        overflow: visible !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }
    
    th, td {
        border: 1px solid #ddd !important;
        padding: 8px !important;
        font-size: 12pt !important;
        background-color: white !important;
        color: black !important;
    }
    
    th {
        background-color: #f2f2f2 !important;
    }
}

/* Modal styles for popups */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fade-in 0.3s;
}

.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 62, 62, 0.2);
    animation: slide-down 0.3s;
}

.modal-header {
    padding: 1rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.close {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Notes content styling */
.notes-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    min-height: 100px;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Button icons in tables */
.btn-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    margin-right: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Animation keyframes */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-down {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

/* Badge styling */
.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.badge-success {
    background-color: rgba(0, 200, 83, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.badge-danger {
    background-color: rgba(255, 61, 0, 0.2);
    color: var(--danger-color);
    border: 1px solid rgba(255, 61, 0, 0.3);
}

/* Responsive design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    .dashboard-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    body {
        font-size: 1.1rem;
    }
    .logo h1 {
        font-size: 1.6rem;
    }
    .card-value {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    /* Mobile navigation */
    header {
        flex-direction: column;
        padding: 0.5rem 0;
        position: relative;
    }
    
    .logo {
        padding: 0.5rem 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    /* Show the mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
        width: 40px;
        height: 40px;
        background-color: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 101;
    }
    
    /* Style the toggle lines */
    .toggle-line {
        display: block;
        position: absolute;
        left: 5px;
        height: 3px;
        width: 30px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .toggle-line:nth-child(1) {
        top: 10px;
    }
    
    .toggle-line:nth-child(2) {
        top: 19px;
    }
    
    .toggle-line:nth-child(3) {
        top: 28px;
    }
    
    /* Animation for toggle active state */
    .mobile-menu-toggle.active .toggle-line:nth-child(1) {
        transform: rotate(45deg);
        top: 19px;
    }
    
    .mobile-menu-toggle.active .toggle-line:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .mobile-menu-toggle.active .toggle-line:nth-child(3) {
        transform: rotate(-45deg);
        top: 19px;
    }
    
    /* Mobile nav styles */
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    nav.open {
        max-height: 500px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 0.8rem 1rem;
        width: 100%;
        border-radius: 0;
    }
    
    /* Adjustments for tables on mobile */
    .table-container {
        overflow-x: auto;
    }
    
    table {
        min-width: 700px; /* Ensure horizontal scrolling on small screens */
    }
    
    /* Card and form adjustments */
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.8rem 1.4rem;
        font-size: 1.1rem;
    }
    
    /* Form label and input size adjustments */
    .form-group label {
        font-size: 1.1rem;
    }
    
    .form-control,
    select,
    input[type="date"],
    input[type="datetime-local"],
    input[type="number"],
    input[type="search"] {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 1rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        margin-left: 0.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .card-value {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    table th {
        font-size: 0.9rem;
    }
    
    table td {
        padding: 1rem 0.8rem;
    }
    
    .btn-icon {
        width: 32px;
        height: 32px;
        margin-right: 0.3rem;
    }
    
    .table-pagination .pagination-controls a {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .alert {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}