* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --primary: #3b82f6;
    --secondary: #2563eb;
    --accent: #60a5fa;
    --bg-primary: #0b0f19;
    --bg-secondary: rgba(17, 24, 39, 0.60);
    --bg-card: rgba(17, 24, 39, 0.55);
    --card-bg: rgba(17, 24, 39, 0.55);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --warning: #f59e0b;

    /* ── Precision Glass Engine Tokens (Sobriété Professionnelle) ── */
    --glass-surface: rgba(17, 24, 39, 0.55);
    --glass-surface-hover: rgba(24, 34, 54, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-specular: rgba(255, 255, 255, 0.08);
    --glass-border-bottom: transparent;
    --glass-blur: blur(20px);
    --glass-blur-heavy: blur(28px);
    --glass-glow: none;
    
    /* ── Ombres Neutres Calibrées ── */
    --glass-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
    --glass-shadow-hover: 0 16px 40px -12px rgba(0, 0, 0, 0.55);
    --glass-shadow-sm: 0 4px 16px -2px rgba(0, 0, 0, 0.35);

    /* ── Micro-interactions Naturelles ── */
    --ease-spring: cubic-bezier(0.2, 0, 0, 1);
    --ease-fluid: cubic-bezier(0.2, 0, 0, 1);
    --radius-squircle: 18px;
    --radius-pill: 9999px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #0b0f19;
    background-image: 
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(30, 64, 175, 0.07) 0%, transparent 60%),
        radial-gradient(circle at 50% 90%, rgba(29, 78, 216, 0.06) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 90px;
    -webkit-font-smoothing: antialiased;
}

/* ==================== HEADER ==================== */
.header {
    background: rgba(11, 15, 25, 0.75);
    padding: 1.1rem 1.5rem 0.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1010;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.4);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.header.admin h1 {
    background: linear-gradient(135deg, #fef3c7 20%, #fbbf24 70%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

div.header img {
    height: 68px;
    width: auto;
    border-radius: 16px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

div.header div.title {
    display: inline-block;
}

.calendar-action-card {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-specular);
    border-radius: var(--radius-squircle);
    padding: 1.6rem;
    margin-bottom: 2rem;
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

.calendar-action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-hover);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.calendar-info h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.calendar-date,
.calendar-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.calendar-date .icon,
.calendar-location .icon {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.calendar-button-wrapper {
    position: relative;
    flex-shrink: 0;
}

.calendar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.calendar-btn:active {
    transform: translateY(0);
}

.calendar-btn .icon {
    width: 20px;
    height: 20px;
    stroke: white;
}

.calendar-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.calendar-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.calendar-dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.calendar-dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.calendar-dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.calendar-dropdown-item:hover {
    background: var(--bg-secondary);
}

.calendar-dropdown-item .icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.calendar-dropdown-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.calendar-dropdown-item small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Animation du menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-dropdown-menu.show {
    animation: slideDown 0.3s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calendar-btn {
        width: 100%;
        justify-content: center;
    }
    
    .calendar-dropdown-menu {
        left: 0;
        right: 0;
        min-width: auto;
    }
}


/* ==================== NAVIGATION (PRECISION GLASS DOCK) ==================== */
.navbar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin: 14px auto;
    padding: 6px 10px;
    background: rgba(13, 20, 36, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: sticky;
    top: 12px;
    z-index: 1010;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

/* Centre le conteneur du dock nav sur grand écran */
body > .navbar,
.header + .navbar {
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.15rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.18s ease-out;
    position: relative;
    user-select: none;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-item:active {
    transform: scale(0.98);
}

.nav-item.red {
    color: #f87171;
}

.nav-item.red:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.nav-item.admin {
    color: #fbbf24;
}

.nav-item.admin:hover {
    background: rgba(245, 158, 11, 0.12);
    color: #fef3c7;
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav-item.active .nav-icon,
.nav-item.active .nav-arrow {
    stroke: #ffffff;
    filter: none;
}

.nav-item.admin.active {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.38);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav-item.admin.active .nav-icon {
    stroke: #fef08a;
    filter: none;
}

.nav-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    transition: transform 0.18s ease-out;
}

.nav-item:hover .nav-icon {
    transform: none;
}

.nav-label {
    display: inline;
}

/* ==================== RESPONSIVE NAVIGATION (DOCK MOBILE) ==================== */
@media (max-width: 768px) {
    body {
        padding-top: 0;
        padding-bottom: 95px;
    }

    .header {
        position: relative;
        top: 0;
    }

    body > .navbar,
    .header + .navbar,
    .navbar {
        position: fixed !important;
        bottom: 12px !important;
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        justify-content: space-around;
        padding: 6px 8px;
        background: rgba(13, 20, 36, 0.85) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 26px !important;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: var(--glass-blur-heavy) !important;
        -webkit-backdrop-filter: var(--glass-blur-heavy) !important;
        z-index: 9002;
    }

    .nav-item {
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.4rem 0.25rem;
        flex: 1;
        max-width: none;
        text-align: center;
        border-radius: 18px;
        font-size: 0.72rem;
    }

    .nav-item.admin,
    .hidden-on-mobile {
        display: none !important;
    }

    .nav-label {
        font-size: 0.72rem;
        font-weight: 600;
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .nav-item {
        padding: 0.4rem 0.5rem;
    }

    .nav-label {
        font-size: 0.7rem;
    }
}

/* ==================== CONTAINER & CARDS (PRECISION GLASS) ==================== */
.container {
    margin: 0 auto;
    padding: 1.5rem;
}

.card {
    background: var(--glass-surface);
    border-radius: var(--radius-squircle);
    padding: 1.6rem;
    margin-bottom: 1.6rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.card-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.2px;
}

.icon {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.2rem;
    background: rgba(14, 22, 42, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.location-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ==================== LOGIN OVERLAY ==================== */
.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .72);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    max-height: calc(100vh - 40px);
    overflow: auto;
}

.login-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.switch-btn {
    border: 0;
    background: transparent;
    color: #386de1;
    font-weight: 700;
    cursor: pointer;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.login-field input {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
}

.login-btn {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    background: #386de1;
    color: #fff;
}

.login-error {
    margin-top: 10px;
    color: #b91c1c;
    font-size: 14px;
    min-height: 18px;
}

.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.location-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.location-detected {
    color: var(--success);
    font-weight: 500;
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

div.login-overlay label {
    display: block;
    color: var(--bg-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

div.login-overlay h2 {
    color: var(--bg-primary);
}

.form-select,
.form-input {
    width: 100%;
    padding: 0.95rem 1.15rem;
    background: rgba(12, 19, 36, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    appearance: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(16, 26, 50, 0.58);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235ba3f5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
    cursor: pointer;
    color-scheme: dark;
}

select,
.form-select,
.filter-select {
    color-scheme: dark;
}

select option,
.form-select option,
.filter-select option {
    background-color: #0b1226;
    color: #e2e8f0;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: none;
}

select option:checked,
.form-select option:checked,
.filter-select option:checked {
    background-color: #1d4ed8;
    color: #ffffff;
    font-weight: 600;
}

select option:hover,
.form-select option:hover,
.filter-select option:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.form-input[type="time"] {
    font-family: inherit;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* ==================== RIPPLE EFFECT ==================== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==================== BUTTONS (PRECISION GLASS) ==================== */
a.btn-primary,
a.btn-secondary,
.btn-primary,
.btn-secondary {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
    box-sizing: border-box;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: hidden;
    user-select: none;
}

a.btn-primary,
.btn-primary {
    background: #2563eb;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    backdrop-filter: blur(12px);
}

a.btn-secondary,
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

a.btn-secondary.red,
.btn-secondary.red {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

a.btn-secondary.red:hover,
.btn-secondary.red:hover {
    background: rgba(239, 68, 68, 0.20);
    border-color: rgba(239, 68, 68, 0.45);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.btn-secondary.admin {
    background: rgba(245, 158, 11, 0.12);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.btn-secondary.admin:hover {
    background: rgba(245, 158, 11, 0.20);
    border-color: rgba(245, 158, 11, 0.45);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.22);
}

.btn-details {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: #2563eb;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

a.btn-primary:hover,
.btn-primary:hover,
.btn-details:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

a.btn-secondary:hover,
.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

a.btn-primary:active,
a.btn-secondary:active,
.btn-primary:active,
.btn-secondary:active,
.btn-details:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==================== BADGES & MESSAGES (PRECISION PILLS) ==================== */
.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-pill);
    color: #e0f2fe;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.distance-badge {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.30);
    color: #a7f3d0;
}

.error-message {
    padding: 0.9rem 1.2rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    color: #fca5a5;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

/* ==================== TRIPS HEADER ==================== */
.trips-header {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ==================== BUTTON STACKS ==================== */
.card .btn-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.center{
  display: grid;
  place-items: center;
  width: 100%;
}

.card .btn-stack > a,
.card .btn-stack > button {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

input[type="radio"][name="has_material"]:checked + span {
    color: var(--primary);
}

input[type="radio"][name="has_material"]:checked {
    accent-color: var(--primary);
}

label:has(input[type="radio"][name="has_material"]:checked) {
    border-color: var(--primary);
    background: rgba(74, 144, 226, 0.1);
}

@media (min-width: 520px) {
    .card .btn-stack {
        flex-direction: row;
    }
    
    .card .btn-stack > a,
    .card .btn-stack > button {
        flex: 1;
        width: auto;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 768px) {
    .container,
    .trips-header {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .login-overlay {
        align-items: flex-start;
    }

    .login-card {
        margin-top: 10px;
    }

    .header {
        padding: 1rem;
    }

    .header h1 {
        font-size: 1.3rem;
    }

    .card {
        padding: 1.2rem;
    }
    
    a.btn-primary,
    a.btn-secondary,
    .btn-primary,
    .btn-secondary {
        margin-bottom: 1rem;
    }
}

@media (max-width: 769px) {

    .nav-label {
        display: none;
    }

    .hidden-on-mobile {
        display: none;
    }

    .nav-item.red {
        padding: 0.625rem;
        justify-content: center;
    }

    .nav-item.admin .nav-icon,
    .nav-item.red .nav-icon {
        width: 22px;
        height: 22px;
    }
}