/* Base Styles
-------------------------------------------- */
:root {
  /* Palette de couleurs */
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --secondary: #6c757d;
  --secondary-dark: #5c636a;
  --success: #198754;
  --success-dark: #157347;
  --danger: #dc3545;
  --danger-dark: #bb2d3b;
  --warning: #ffc107;
  --warning-dark: #ffca2c;
  --info: #0dcaf0;
  --light: #f8f9fa;
  --dark: #212529;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Ombres */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 6px 12px rgba(0, 0, 0, 0.15);
  
  /* Arrondis */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Transitions */
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s ease-in-out;
}

html,
body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-900);
    margin: 0;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

/* Typography
-------------------------------------------- */
p,
ul,
ol,
dl,
table {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray-700);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--gray-900);
}

h1,
.h1 {
    font-size: 2.5rem;
}

h2,
.h2 {
    font-size: 2rem;
}

h3,
.h3 {
    font-size: 1.75rem;
}

h4,
.h4 {
    font-size: 1.5rem;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 1rem;
}

.display-1,
.display-2 {
    font-weight: 300;
    line-height: 1.2;
}

.display-1 {
    font-size: 5rem;
}

.display-2 {
    font-size: 4.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.small {
    font-size: 0.875rem;
}

.text-muted {
    color: #6c757d;
}

/* Layout Components
-------------------------------------------- */
/* Header */
header {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Main Content */
main,
.application {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.application-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.application-main {
    flex: 1 1 auto;
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    flex-direction: column;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 50%, var(--gray-400) 100%);
    box-shadow: var(--shadow-lg);
    width: 90%;
    border-radius: var(--border-radius);
    margin: 0.5rem;
}

.public-main {
    flex: 1 1 auto;
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    flex-direction: column;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 50%, #ced4da 100%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Sidebar */
.sidebar {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 50%, var(--white) 100%);
    box-shadow: var(--shadow-lg);
    border-right: 1px solid var(--gray-300);
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: var(--transition-normal);
}

.text-side-link {
    display: inline;
    font-size: 1.25rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.sidebar .nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    list-style: none;
}

.btn-side-link {
    padding: 0.85rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    position: relative;
    overflow: hidden;
}

.btn-side-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0.25rem;
    background-color: var(--primary);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-side-link.select {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-side-link.select::before {
    opacity: 1;
}

.btn-side-link.select:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-side-link:hover {
    background-color: rgba(13, 110, 253, 0.08);
    transform: translateX(4px);
    border-color: var(--primary);
}

.btn-side-link:active {
    transform: translateX(2px);
    background-color: rgba(13, 110, 253, 0.12);
}

/* Footer */
footer {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

footer .container {
    padding: 0 1.5rem;
}

/* Components
-------------------------------------------- */
/* Buttons */
.btn {
    border-radius: var(--border-radius);
    margin: 0.10rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: var(--transition-fast);
}

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

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

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-danger:hover {
    background-color: var(--danger-dark);
}

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

.btn-success:hover {
    background-color: var(--success-dark);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

/* Navbar */
.navbar {
    display: flex;
    flex-direction: row;
    padding: 1rem 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    width: 80px;
    margin: 1rem 0;
    height: auto;
}

.btn-nav-link,
.btn-nav-parameter {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    border: 1px solid #ccc;
    /* Fine border added */
}

.btn-nav-link:hover,
.btn-nav-parameter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: rgba(13, 110, 253, 0.1);
}

.btn-nav-link:active,
.btn-nav-parameter:active {
    transform: translateY(1px);
}

.btn-nav-parameter {
    background-color: #ffc107;
    color: #000;
}

.btn-nav-parameter:hover {
    background-color: #ffca2c;
}


/* NAV LINK TABS */

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    color: #495057;
}


.nav-tabs .nav-link {
    color: black;
    background-color: white;
    padding: 10px 15px;
}
.nav-tabs .nav-link.active {
    color: white;
    background-color: #007bff;
    transform: scale(1.05);
    cursor: pointer;
}

.nav-tabs .nav-link.active:hover {
    color: white;
    background-color: #007bff;
    transform: scale(1.05);
    cursor: pointer;

}

.tab-content {
    background-color: grey;
}



/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    background-color: var(--white);
}

.card-smooth:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-top-left-radius: var(--border-radius-lg) !important;
    border-top-right-radius: var(--border-radius-lg) !important;
    font-weight: bold;
    background: linear-gradient(to bottom, var(--gray-100), var(--gray-200));
    border-bottom: 1px solid var(--gray-300);
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 2rem 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.card-text {
    color: #6c757d;
}

.card-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: -0.5rem;
    font-weight: 500;
}

.card-text,
.card-text-white {
    font-size: 1rem;
    margin: 1rem 0;
    opacity: 0.9;
    line-height: 1.6;
}

.card-text {
    color: #495057;
}

.card-text-white {
    color: white;
}

.card-link {
    color: #0d6efd;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-right: 1.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.card-link::after {
    content: '->';
    display: block;
    width: 0;
    height: 2px;
    background: #0d6efd;
    position: absolute;
    bottom: -2px;
    left: 0;
    transform: translateX(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-link:hover {
    color: #0b5ed7;
    transform: translateY(-2px);
}

.card-link:hover::after {
    width: 100%;
    transform: translateX(5px);
    opacity: 1;
}

.bg-primary {
    background: linear-gradient(145deg, #007bff, #0056b3) !important;
}

.bg-secondary {
    background: linear-gradient(145deg, #6c757d, #495057) !important;
}

.bg-success {
    background: linear-gradient(145deg, #28a745, #1e7e34) !important;
}

/* Tables */
:root {
    --table-bg: #f8f9fa;
    --table-header-bg: #6c757d;
    --table-header-color: #ffffff;
    --table-row-even-bg: #e9ecef;
    --table-row-hover-bg: #dee2e6;
    --table-border-color: #ced4da;
    --table-label-color: #495057;
    --table-shadow: rgba(0, 0, 0, 0.1);
}

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

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.table:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.table thead {
    background: var(--table-header-bg);
    color: var(--table-header-color);
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 0.25rem 0.5rem var(--table-shadow);
}

.table thead th {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
    border-bottom: 2px solid var(--table-border-color);
    white-space: nowrap;
}

.table tbody tr {
    background: var(--table-bg);
    border-bottom: 1px solid var(--table-border-color);
    transition: background-color 0.3s ease;
}

.table tbody tr:nth-child(even) {
    background: var(--table-row-even-bg);
}

.table tbody tr:hover {
    background: var(--table-row-hover-bg);
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .table-wrapper {
        border-radius: 0;
    }

    .table {
        min-width: unset;
    }

    .table thead {
        display: none;
    }

    .table tbody tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
        border: 1px solid var(--table-border-color);
        background: var(--table-bg);
    }

    .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--table-border-color);
    }

    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--table-label-color);
        margin-right: 1rem;
    }

    .table tbody tr:nth-child(even) td {
        background: var(--table-row-even-bg);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .table-wrapper {
        border-radius: 0;
    }

    .table {
        min-width: unset;
    }

    .table thead {
        display: none;
    }

    .table tbody tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
        border: 1px solid var(--bs-border-color);
        background: var(--bs-white);
    }

    .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--bs-border-color);
    }

    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--bs-primary);
        margin-right: 1rem;
    }

    .table tbody tr:nth-child(even) td {
        background: var(--bs-gray-100);
    }

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

/* Progress Bars */
.progress {
    height: 25px;
    background-color: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background-color: #0d6efd;
    color: white;
    text-align: center;
    line-height: 25px;
    transition: width 1.5s ease-in-out;
    position: relative;
    overflow: hidden;
}

.progress-bar:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent);
    background-size: 25px 25px;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Login Styles */
.section-login {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 50%, #ced4da 100%);
    padding: 3rem 0;
}

.card-login {
    border-radius: 15px;
    border: none;
    transition: transform 0.2s;
}


.card-login-header {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.card-login-title {
    color: #2c3e50;
    font-weight: 600;
}

.card-login-text {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.card-login-body {
    background-color: #fff;
}

.btn-login,
.btn-register {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.forgot-password-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: #2c3e50;
}

/* Testimonial Box */
.testimonial-box {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-10px);
}

/* Icons */
.icon,
.icon-side {
    font-size: 1rem;
    padding-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    color: #495057;
}

.icon:hover {
    transform: scale(1.1);
    color: #0d6efd;
}

.icon-side.select {
    color: #ffffff;
}

.icon-side.select:hover {
    color: #ffffff;
}

.icon-side:hover {
    transform: scale(1.1);
    color: #0d6efd;
}

.icon-sm {
    font-size: 1.25rem;
}

.icon-lg {
    font-size: 2rem;
}

.icon-spin {
    animation: spin 2s linear infinite;
}



@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Loading States */
#loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
    background: rgba(255, 255, 255, 0.8);
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.htmx-indicator {
    opacity: 0;
    transition: opacity 1000ms ease-in;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    opacity: 1;
}

/* Animations */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Section Hero
-------------------------------------------- */
.section-hero {
    display: flex;
    height: 85vh;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-900);
}

.video-use-case {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}



.video-use-case {
    height: 400px;
    width: 100%;
}

.section-hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: -1;
    filter: brightness(0.7) contrast(1.1);
}

.section-hero h1, 
.section-hero h2, 
.section-hero p,
.section-hero .text-white {
    color: #ffffff !important;
}

.section-hero .bg-dark {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.section-hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.section-hero-text {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.section-hero .card {
    background-color: rgba(255, 255, 255, 0.85);
}

.section-hero .card.dark-card {
    background-color: rgba(33, 37, 41, 0.75);
}

.section-hero .dark-card h5,
.section-hero .dark-card p {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styles */

.section-light {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f5 50%, #f8f9fa 100%);
    padding: 4rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Light shadow added */
}

.section-white {
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e6ea 50%, #e9ecef 100%);
    padding: 5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Light shadow added */
}

.section-dark {
    background: linear-gradient(135deg, #343a40 0%, #2c3035 50%, #212529 100%);
    color: white;
    padding: 5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Light shadow added */
}

.section-primary {
    background: linear-gradient(135deg, #007bff 0%, #0069d9 50%, #0056b3 100%);
    color: white;
    padding: 5rem 0;
}



/* SweetAlert2 Custom Styles */
.swal2-popup {
    font-family: inherit;
    background-color: #fff;
    color: #212529;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swal2-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.swal2-content {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.swal2-confirm {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    background-color: #0d6efd;
    color: white;
    border: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.swal2-confirm:hover {
    background-color: #0b5ed7;
}

.swal2-cancel {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    background-color: #6c757d;
    color: white;
    border: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.swal2-cancel:hover {
    background-color: #5c636a;
}


/* Custom map styles */
.mini-map {
    height: 400px;
    width: 400px;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fluid-map {
    height: 100%;
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.large-map {
    height: 600px;
    width: 80%;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Media */

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}


@media (max-width: 768px) {
    .application-content {
        flex-direction: column-reverse !important;
    }

    .application-sidebar {
        width: 100% !important;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 1000;
        background-color: var(--white);
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    }

    .sidebar .nav {
        flex-direction: row;
        justify-content: space-around;
        padding: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .btn-side-link {
        width: auto;
        padding: 0.5rem;
        justify-content: center;
        border-radius: var(--border-radius-sm);
    }

    .btn-side-link::before {
        width: 0;
        height: 0.25rem;
        top: auto;
        bottom: 0;
    }

    .text-side-link {
        display: none;
    }

    .application-main {
        width: 100% !important;
        margin-bottom: 70px;
        padding: 1rem;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    .section-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-hero h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 769px) {
    .application-sidebar {
        width: 250px;
        min-width: 250px;
    }

    .sidebar .nav {
        padding: 1rem;
    }
}

/* Progressive Enhancements */
@media (max-width: 768px) {
    /* Mobile-specific styles */
}

@media (min-width: 769px) {
    /* Desktop-specific styles */
}