/* AutoVibe Initial CSS for project 1743519187175 - Iteration 8 - ERP SaaS Platform Enhanced Styles */

/* ------------------------------------------------------------ */
/*  1. Global Styles & Resets                                   */
/* ------------------------------------------------------------ */

/* Reset and Normalize */
html {
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* Primary font - clean and readable */
    font-size: 1rem;
    line-height: 1.6;
    color: #343a40; /* Dark gray body text - good contrast */
    background-color: #f8f9fa; /* Light gray background - soft and modern */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container for main content */
.container {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.07);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif; /* Secondary, display font - modern headings */
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #212529;
    letter-spacing: -0.015rem;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2.25rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.75rem; }
h6 { font-size: 1.5rem; }

p {
    margin-top: 0;
    margin-bottom: 2rem;
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Strong and Bold Text */
strong, b {
    font-weight: 700;
    color: #212529;
}


/* ------------------------------------------------------------ */
/*  2. Header Styles                                            */
/* ------------------------------------------------------------ */

header {
    background-color: #2d3748;
    color: #ffffff;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.12);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #ffffff;
    margin: 0;
    font-size: 3rem;
    letter-spacing: -0.04rem;
}

header h1 a, header h1 a:hover {
    color: inherit;
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li:first-child {
    margin-left: 0;
}

nav a {
    color: #e2e8f0;
    display: block;
    padding: 1rem 1.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    font-weight: 500;
    font-size: 1.1rem;
}

nav a:hover,
nav a:focus {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.current-page-nav-item {
    background-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 600;
}

/* ------------------------------------------------------------ */
/*  3. Main Section & Dashboard Styles                         */
/* ------------------------------------------------------------ */

main {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

#dashboard {
    margin-bottom: 3.5rem;
}

#dashboard h2 {
    border-bottom: 2.5px solid #dee2e6;
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
    color: #495057;
    font-size: 2.5rem;
}

/* Dashboard Widgets */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
}

.widget {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.widget:hover,
.widget:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.12);
}

.widget h3 {
    margin-top: 0;
    margin-bottom: 1.75rem;
    font-size: 2.25rem;
    color: #343a40;
}

.widget p {
    margin-bottom: 0.85rem;
    color: #6c757d;
    font-size: 1.15rem;
}

.widget p:last-child {
    margin-bottom: 0;
}

.widget-content {
    line-height: 1.9;
}

.widget-content.loading-widget {
    opacity: 0.7;
    font-style: italic;
    color: #777;
}

.widget-content .error-message {
    color: #dc3545;
    font-weight: bold;
}


/* Module Content Styles */
.module-content {
    padding: 2.5rem 0;
}

.module-content h2 {
    margin-bottom: 2rem;
    font-size: 3rem;
}

.module-content p {
    margin-bottom: 2.25rem;
}

.module-content ul {
    list-style: none;
    padding-left: 2.5rem;
}

.module-content ul li {
    margin-bottom: 1.25rem;
}

.module-content ul li:last-child {
    margin-bottom: 0;
}

.module-content ul li a {
    display: inline-block;
    padding: 0.7rem 0;
    color: #007bff;
    text-decoration: none;
    border-bottom: 2.5px solid transparent;
    transition: border-bottom-color 0.2s ease-in-out, color 0.2s ease-in-out;
    font-weight: 500;
    font-size: 1.1rem;
}

.module-content ul li a:hover,
.module-content ul li a:focus {
    color: #0056b3;
    border-bottom-color: #0056b3;
    text-decoration: none;
}

.module-section {
    margin-bottom: 3.5rem;
}

.module-section:last-child {
    margin-bottom: 0;
}


/* ------------------------------------------------------------ */
/*  4. Footer Styles                                            */
/* ------------------------------------------------------------ */

footer {
    background-color: #e9ecef;
    color: #6c757d;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1.5px solid #dee2e6;
    font-size: 1rem;
}

/* ------------------------------------------------------------ */
/*  5. Form Styles                                              */
/* ------------------------------------------------------------ */

label {
    display: block;
    margin-bottom: 0.85rem;
    font-weight: 500;
    color: #495057;
    font-size: 1.1rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    display: block;
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 1.75rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    color: #495057;
    background-color: #ffffff;
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

textarea {
    min-height: 150px;
}

button,
input[type="submit"],
.button {
    display: inline-block;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #007bff;
    border: 1px solid #007bff;
    padding: 1rem 2rem;
    font-size: 1.15rem;
    line-height: 1.5;
    border-radius: 0.75rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
button:focus,
input[type="submit"]:focus,
.button:focus {
    color: #ffffff;
    background-color: #0056b3;
    border-color: #0056b3;
    text-decoration: none;
    box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

button:active,
input[type="submit"]:active,
.button:active {
    transform: translateY(0);
    box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.2);
}


.button {
    text-decoration: none;
}

/* Form Section Styling */
.form-section {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    background-color: #fefefe;
    box-shadow: 0 0.6rem 1.25rem rgba(0, 0, 0, 0.06);
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 2.25rem;
    color: #343a40;
    border-bottom: 1.5px solid #e0e0e0;
    padding-bottom: 1.25rem;
}

.form-group-full-width {
    grid-column: 1 / -1;
}


/* ------------------------------------------------------------ */
/*  6. Table Styles                                             */
/* ------------------------------------------------------------ */

.table {
    width: 100%;
    margin-bottom: 2.5rem;
    color: #212529;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1.2px solid #e0e0e0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.table th,
.table td {
    padding: 1.25rem;
    border-bottom: 1.2px solid #e0e0e0;
    text-align: left;
    font-size: 1.05rem;
}

.table th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.03rem;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2.25px solid #e0e0e0;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------ */
/*  7. Utility Classes                                          */
/* ------------------------------------------------------------ */

/* Text Alignment Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* Font Weight Utilities */
.text-bold { font-weight: 700; }

/* Text Color Utilities */
.text-muted { color: #6c757d; }
.text-primary { color: #007bff; }
.text-secondary { color: #6c757d; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }
.text-light { color: #f8f9fa; }
.text-dark { color: #343a40; }
.text-white { color: white; }

/* Background Color Utilities */
.bg-primary { background-color: #007bff; }
.bg-secondary { background-color: #6c757d; }
.bg-success { background-color: #28a745; }
.bg-danger { background-color: #dc3545; }
.bg-warning { background-color: #ffc107; }
.bg-info { background-color: #17a2b8; }
.bg-light { background-color: #f8f9fa; }
.bg-dark { background-color: #343a40; }
.bg-white { background-color: white; }
.bg-transparent { background-color: transparent; }


/* Margin Utilities */
.mt-1, .my-1 { margin-top: 0.4rem; }
.mt-2, .my-2 { margin-top: 0.8rem; }
.mt-3, .my-3 { margin-top: 1.5rem; }
.mt-4, .my-4 { margin-top: 2rem; }
.mt-5, .my-5 { margin-top: 3.5rem; }
.mt-6, .my-6 { margin-top: 5rem; }
.mt-7, .my-7 { margin-top: 7rem; }
.mt-8, .my-8 { margin-top: 9rem; }
.mt-9, .my-9 { margin-top: 11rem; }
.mt-10, .my-10 { margin-top: 13rem; }

.mb-1, .my-1 { margin-bottom: 0.4rem; }
.mb-2, .my-2 { margin-bottom: 0.8rem; }
.mb-3, .my-3 { margin-bottom: 1.5rem; }
.mb-4, .my-4 { margin-bottom: 2rem; }
.mb-5, .my-5 { margin-bottom: 3.5rem; }
.mb-6, .my-6 { margin-bottom: 5rem; }
.mb-7, .my-7 { margin-bottom: 7rem; }
.mb-8, .my-8 { margin-bottom: 9rem; }
.mb-9, .my-9 { margin-bottom: 11rem; }
.mb-10, .my-10 { margin-bottom: 13rem; }

.mr-1, .mx-1 { margin-right: 0.4rem; }
.mr-2, .mx-2 { margin-right: 0.8rem; }
.mr-3, .mx-3 { margin-right: 1.5rem; }
.mr-4, .mx-4 { margin-right: 2rem; }
.mr-5, .mx-5 { margin-right: 3.5rem; }
.mr-6, .mx-6 { margin-right: 5rem; }
.mr-7, .mx-7 { margin-right: 7rem; }
.mr-8, .mx-8 { margin-right: 9rem; }
.mr-9, .mx-9 { margin-right: 11rem; }
.mr-10, .mx-10 { margin-right: 13rem; }

.ml-1, .mx-1 { margin-left: 0.4rem; }
.ml-2, .mx-2 { margin-left: 0.8rem; }
.ml-3, .mx-3 { margin-left: 1.5rem; }
.ml-4, .mx-4 { margin-left: 2rem; }
.ml-5, .mx-5 { margin-left: 3.5rem; }
.ml-6, .mx-6 { margin-left: 5rem; }
.ml-7, .mx-7 { margin-left: 7rem; }
.ml-8, .mx-8 { margin-left: 9rem; }
.ml-9, .mx-9 { margin-left: 11rem; }
.ml-10, .mx-10 { margin-left: 13rem; }

.mx-auto { margin-left: auto; margin-right: auto; } /* Center horizontally */


/* Padding Utilities */
.p-1, .py-1, .px-1 { padding: 0.4rem; }
.p-2, .py-2, .px-2 { padding: 0.8rem; }
.p-3, .py-3, .px-3 { padding: 1.5rem; }
.p-4, .py-4, .px-4 { padding: 2rem; }
.p-5, .py-5, .px-5 { padding: 3.5rem; }
.p-6, .py-6, .px-6 { padding: 5rem; }
.p-7, .py-7, .px-7 { padding: 7rem; }
.p-8, .py-8, .px-8 { padding: 9rem; }
.p-9, .py-9, .px-9 { padding: 11rem; }
.p-10, .py-10, .px-10 { padding: 13rem; }

.pt-1, .py-1 { padding-top: 0.4rem; }
.pt-2, .py-2 { padding-top: 0.8rem; }
.pt-3, .py-3 { padding-top: 1.5rem; }
.pt-4, .py-4 { padding-top: 2rem; }
.pt-5, .py-5 { padding-top: 3.5rem; }
.pt-6, .py-6 { padding-top: 5rem; }
.pt-7, .py-7 { padding-top: 7rem; }
.pt-8, .py-8 { padding-top: 9rem; }
.pt-9, .py-9 { padding-top: 11rem; }
.pt-10, .py-10 { padding-top: 13rem; }

.pb-1, .py-1 { padding-bottom: 0.4rem; }
.pb-2, .py-2 { padding-bottom: 0.8rem; }
.pb-3, .py-3 { padding-bottom: 1.5rem; }
.pb-4, .py-4 { padding-bottom: 2rem; }
.pb-5, .py-5 { padding-bottom: 3.5rem; }
.pb-6, .py-6 { padding-bottom: 5rem; }
.pb-7, .py-7 { padding-bottom: 7rem; }
.pb-8, .py-8 { padding-bottom: 9rem; }
.pb-9, .py-9 { padding-bottom: 11rem; }
.pb-10, .py-10 { padding-bottom: 13rem; }

.pr-1, .px-1 { padding-right: 0.4rem; }
.pr-2, .px-2 { padding-right: 0.8rem; }
.pr-3, .px-3 { padding-right: 1.5rem; }
.pr-4, .px-4 { padding-right: 2rem; }
.pr-5, .px-5 { padding-right: 3.5rem; }
.pr-6, .px-6 { padding-right: 5rem; }
.pr-7, .px-7 { padding-right: 7rem; }
.pr-8, .px-8 { padding-right: 9rem; }
.pr-9, .px-9 { padding-right: 11rem; }
.pr-10, .px-10 { padding-right: 13rem; }

.pl-1, .px-1 { padding-left: 0.4rem; }
.pl-2, .px-2 { padding-left: 0.8rem; }
.pl-3, .px-3 { padding-left: 1.5rem; }
.pl-4, .px-4 { padding-left: 2rem; }
.pl-5, .px-5 { padding-left: 3.5rem; }
.pl-6, .px-6 { padding-left: 5rem; }
.pl-7, .px-7 { padding-left: 7rem; }
.pl-8, .px-8 { padding-left: 9rem; }
.pl-9, .px-9 { padding-left: 11rem; }
.pl-10, .px-10 { padding-left: 13rem; }


/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .form-grid.form-grid-3col {
        grid-template-columns: repeat(3, 1fr);
    }
    .form-grid.form-grid-4col {
        grid-template-columns: repeat(4, 1fr);
    }
    .form-grid.form-grid-5col {
        grid-template-columns: repeat(5, 1fr);
    }
    .form-grid.form-grid-6col {
        grid-template-columns: repeat(6, 1fr);
    }
}

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

/* Flexbox Utilities */
.d-flex { display: flex !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-stretch { align-items: stretch !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }


/* Grid Utilities - (Basic, extend as needed) */
.d-grid { display: grid !important; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.gap-1 { gap: 0.4rem !important; }
.gap-2 { gap: 0.8rem !important; }
.gap-3 { gap: 1.5rem !important; }
.gap-4 { gap: 2rem !important; }
.gap-5 { gap: 3.5rem !important; }


/* ------------------------------------------------------------ */
/*  8. Alerts                                                  */
/* ------------------------------------------------------------ */

.alert {
    padding: 1.75rem 2.25rem;
    margin-bottom: 2rem;
    border: 1.2px solid transparent;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d3d4d5;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-light {
    color: #818182;
    background-color: #fefefe;
    border-color: #fdfdfe;
}

.alert-dark {
    color: #1b1e21;
    background-color: #d6d8d9;
    border-color: #c6c8ca;
}

/* ------------------------------------------------------------ */
/*  9. Buttons - Variations                                     */
/* ------------------------------------------------------------ */

.btn-primary { background-color: #007bff; border-color: #007bff; color: white; }
.btn-secondary { background-color: #6c757d; border-color: #6c757d; color: white; }
.btn-success { background-color: #28a745; border-color: #28a745; color: white; }
.btn-danger { background-color: #dc3545; border-color: #dc3545; color: white; }
.btn-warning { background-color: #ffc107; border-color: #ffc107; color: black; }
.btn-info { background-color: #17a2b8; border-color: #17a2b8; color: white; }
.btn-light { background-color: #f8f9fa; border-color: #f8f9fa; color: black; }
.btn-dark { background-color: #343a40; border-color: #343a40; color: white; }

.btn-primary:hover, .btn-primary:focus { background-color: #0056b3; border-color: #0056b3; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-secondary:hover, .btn-secondary:focus { background-color: #545b62; border-color: #4e555b; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-success:hover, .btn-success:focus { background-color: #218838; border-color: #1e7e34; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-danger:hover, .btn-danger:focus { background-color: #c82333; border-color: #bd2130; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-warning:hover, .btn-warning:focus { background-color: #e0a800; border-color: #d39e00; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-info:hover, .btn-info:focus { background-color: #13849e; border-color: #117a8b; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-light:hover, .btn-light:focus { background-color: #dae0e5; border-color: #d3d9df; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-dark:hover, .btn-dark:focus { background-color: #23272b; border-color: #1d2124; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }

.btn-outline-primary { background-color: transparent; border-color: #007bff; color: #007bff; }
.btn-outline-secondary { background-color: transparent; border-color: #6c757d; color: #6c757d; }
.btn-outline-success { background-color: transparent; border-color: #28a745; color: #28a745; }
.btn-outline-danger { background-color: transparent; border-color: #dc3545; color: #dc3545; }
.btn-outline-warning { background-color: transparent; border-color: #ffc107; color: #ffc107; }
.btn-outline-info { background-color: transparent; border-color: #17a2b8; color: #17a2b8; }
.btn-outline-light { background-color: transparent; border-color: #f8f9fa; color: #f8f9fa; }
.btn-outline-dark { background-color: transparent; border-color: #343a40; color: #343a40; }

.btn-outline-primary:hover, .btn-outline-primary:focus { background-color: #007bff; color: white; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-outline-secondary:hover, .btn-outline-secondary:focus { background-color: #6c757d; color: white; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-outline-success:hover, .btn-outline-success:focus { background-color: #28a745; color: white; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-outline-danger:hover, .btn-outline-danger:focus { background-color: #dc3545; color: white; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-outline-warning:hover, .btn-outline-warning:focus { background-color: #ffc107; color: black; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-outline-info:hover, .btn-outline-info:focus { background-color: #17a2b8; color: white; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-outline-light:hover, .btn-outline-light:focus { background-color: #f8f9fa; color: black; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }
.btn-outline-dark:hover, .btn-outline-dark:focus { background-color: #343a40; color: white; transform: translateY(-2px); box-shadow: 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2); }


/* ------------------------------------------------------------ */
/*  10. Responsive Adjustments                                 */
/* ------------------------------------------------------------ */

@media (max-width: 1600px) {
    .container {
        max-width: 1500px;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    h1 { font-size: 3.75rem; }
    h2 { font-size: 2.75rem; }
    h3 { font-size: 2.1rem; }
}

@media (max-width: 1400px) {
    .container {
        max-width: 1320px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.35rem; }
    h3 { font-size: 1.9rem; }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        margin: 1.5rem auto;
    }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.875rem; }
    .dashboard-widgets {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2rem;
    }
    nav ul li {
        margin-left: 2rem;
    }
    nav a {
        padding: 0.8rem 1.4rem;
        font-size: 1.05rem;
    }
    .table th, .table td {
        padding: 1rem;
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        margin: 1.5rem auto;
        border-radius: 0;
        box-shadow: none;
    }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.1rem; }
    h3 { font-size: 1.8rem; }

    header {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    header .container {
        flex-direction: column;
        align-items: center;
    }
    header h1 {
        padding-left: 0;
        font-size: 2.75rem;
        margin-bottom: 0.85rem;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        margin-top: 0.85rem;
    }
    nav ul li {
        margin: 0.85rem 0;
        margin-left: 0;
    }
    .dashboard-widgets {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-section {
        padding: 1.5rem;
    }
    .form-section h3 {
        font-size: 2rem;
        margin-bottom: 1.75rem;
        padding-bottom: 1rem;
    }
    .table th, .table td {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
    .alert {
        padding: 1.25rem 1.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.7rem; }
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
    header h1 {
        font-size: 2.5rem;
    }
    nav a {
        padding: 0.7rem 1.15rem;
        font-size: 1rem;
    }
    .widget h3 {
        font-size: 2rem;
    }
    .widget p {
        font-size: 1.05rem;
    }
    .module-content h2 {
        font-size: 2.5rem;
    }
    .module-content p, .module-content ul li, .module-content ul li a {
        font-size: 1.05rem;
    }
    .form-section h3 {
        font-size: 1.8rem;
    }
    label, input, select, textarea, button, input[type="submit"], .button {
        font-size: 1.05rem;
    }
    .table th, .table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    .alert {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.35rem; }
    h2 { font-size: 1.95rem; }
    h3 { font-size: 1.65rem; }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    header h1 {
        font-size: 2.35rem;
    }
    nav a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
    .widget h3 {
        font-size: 1.9rem;
    }
    .widget p {
        font-size: 1rem;
    }
    .module-content h2 {
        font-size: 2.35rem;
    }
    .module-content p, .module-content ul li, .module-content ul li a {
        font-size: 1rem;
    }
    .form-section h3 {
        font-size: 1.7rem;
    }
    label, input, select, textarea, button, input[type="submit"], .button {
        font-size: 1rem;
    }
    .table th, .table td {
        padding: 0.65rem;
        font-size: 0.85rem;
    }
    .alert {
        padding: 0.95rem 1.4rem;
        font-size: 0.9rem;
    }
}