﻿:root {
    /* Core Brand Colors */
    --color-primary: #0B0C0D;    /* night */
    --color-secondary: #F8928B;  /* coral pink */
    --color-tertiary: #BFAAA0;   /* khaki */
    --color-neutral-100: #FFFFFF;
    --color-neutral-200: #EEDFD2; /* almond */
    --color-neutral-300: #F9F6F4; /* lighter almond */

    /* Extended Brand Palette */
    --color-primary-light: #2C2D2E;
    --color-secondary-light: #FBB4AF;
    --color-tertiary-light: #D1C3BC;
    --color-secondary-dark: #E57872;
    --color-tertiary-dark: #AC9387;

    /* Typography */
    --text-heading: var(--color-primary);
    --text-body: #2C2D2E;        /* lighter than night */
    --text-inverse: var(--color-neutral-100);
    --text-muted: var(--color-tertiary);

    /* Surfaces */
    --surface-primary: var(--color-neutral-100);
    --surface-header: var(--color-primary);
    --surface-nav: var(--color-primary);
    --surface-component: var(--color-neutral-200);
    --surface-accent: var(--color-secondary);

    /* Interactive Elements */
    --action-primary-bg: var(--color-secondary);
    --action-primary-text: var(--color-primary);
    --action-secondary-bg: var(--color-tertiary);
    --action-secondary-text: var(--color-primary);

    /* Borders */
    --border-light: var(--color-neutral-200);
    --border-component: var(--color-primary);
    --border-accent: var(--color-secondary);

    /* Status/Feedback Colors */
    --feedback-success: #8BC34A;
    --feedback-info: var(--color-tertiary);
    --feedback-warning: #FFA500;
    --feedback-error: var(--color-secondary);

    /* Interactive States */
    --action-primary-hover: var(--color-secondary-dark);
    --action-secondary-hover: var(--color-tertiary-dark);

    /* Shadows with brand colors */
    --shadow-sm: 0 1px 2px rgba(11, 12, 13, 0.05);
    --shadow-base: 0 1px 3px rgba(11, 12, 13, 0.1);
    --shadow-md: 0 4px 6px rgba(11, 12, 13, 0.1);
    --shadow-lg: 0 10px 15px rgba(11, 12, 13, 0.1);

    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2;

    /* Spacing System */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.5rem;     /* 24px */
    --space-6: 2rem;       /* 32px */
    --space-8: 3rem;       /* 48px */
    --space-10: 4rem;      /* 64px */

    /* Border Radius */
    --radius-sm: 0.125rem; /* 2px */
    --radius-base: 0.25rem;/* 4px */
    --radius-md: 0.375rem; /* 6px */
    --radius-lg: 0.5rem;   /* 8px */
    --radius-xl: 1rem;     /* 16px */
    --radius-full: 9999px;

    /* Z-index Scale */
    --z-below: -1;
    --z-base: 0;
    --z-above: 1;
    --z-modal: 100;
    --z-tooltip: 200;

    /* Borders */
    --border-width-thin: 1px;
    --border-width-medium: 2px;
    --border-width-thick: 4px;


    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 200ms;
    --transition-slow: 300ms;

    /* Font Families */
    --font-primary: 'Inter', system-ui, sans-serif;
    --font-secondary: 'Arial', sans-serif;
    --font-mono: 'Courier New', monospace;

    /* Logo Sizing */
    --logo-xs: 1.5rem;      /* 24px - tiny logo for compact spaces */
    --logo-sm: 2rem;        /* 32px - small logo for nav/mobile */
    --logo-md: 3rem;        /* 48px - standard logo size */
    --logo-lg: 4rem;        /* 64px - large logo for headers */
    --logo-xl: 6rem;        /* 96px - extra large for heroes */
    --logo-2xl: 8rem;       /* 128px - splash screens */

    /* Brand Image Aspect Ratios */
    --ratio-square: 1/1;
    --ratio-landscape: 16/9;
    --ratio-portrait: 4/5;
    --ratio-wide: 21/9;
    --ratio-logo: 3/1;      /* Adjust based on your logo's aspect ratio */

    /* Brand Image Container Sizes */
    --image-thumbnail: 5rem;      /* 80px - small thumbnails */
    --image-small: 10rem;         /* 160px - small images */
    --image-medium: 15rem;        /* 240px - medium images */
    --image-large: 20rem;         /* 320px - large images */
    --image-hero: 30rem;          /* 480px - hero images */
    --image-banner: 100%;         /* full-width banners */

    /* Icon Sizes */
    --icon-xs: 1rem;        /* 16px - tiny icons */
    --icon-sm: 1.25rem;     /* 20px - small icons */
    --icon-md: 1.5rem;      /* 24px - medium icons */
    --icon-lg: 2rem;        /* 32px - large icons */
    --icon-xl: 3rem;        /* 48px - extra large icons */

    /* Avatar Sizes */
    --avatar-xs: 1.5rem;    /* 24px - tiny avatars */
    --avatar-sm: 2rem;      /* 32px - small avatars */
    --avatar-md: 3rem;      /* 48px - medium avatars */
    --avatar-lg: 4rem;      /* 64px - large avatars */
    --avatar-xl: 6rem;      /* 96px - extra large avatars */

    /* Image Border Radius */
    --image-radius-none: 0;
    --image-radius-sm: var(--radius-sm);
    --image-radius-md: var(--radius-md);
    --image-radius-lg: var(--radius-lg);
    --image-radius-full: 50%;

    /* Image Container Max Widths */
    --container-sm: 20rem;   /* 320px */
    --container-md: 30rem;   /* 480px */
    --container-lg: 40rem;   /* 640px */
    --container-xl: 60rem;   /* 960px */
}

/* Base Typography Styles */
.text-heading-1 {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
}

.text-heading-2 {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-5);
}

.text-heading-3 {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--font-medium);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-4);
}

.text-body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    line-height: var(--leading-relaxed);
    color: var(--text-body);
}

.text-small {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

/* Component Templates */
.card {
    background-color: var(--surface-component);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-base);
    min-height: 88vh;
}

.card-header {
    margin-bottom: var(--space-4);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.card-subtitle {
    font-size: var(--text-sm);
    color: var(--text-body);
    margin-bottom: var(--space-4);
}

.card-content {
    margin-bottom: var(--space-4);
}

.card-footer {
    padding-top: var(--space-4);
    border-top: var(--border-width-thin) solid var(--border-light);
}

/* Button Templates */
.button {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-base);
    font-weight: var(--font-medium);
    transition: background-color var(--transition-base);
}

.button-primary {
    background-color: var(--action-primary-bg);
    color: var(--action-primary-text);
}

.button-primary:hover {
    background-color: var(--action-primary-hover);
}

/* Form Elements */
.input {
    padding: var(--space-2) var(--space-3);
    border: var(--border-width-thin) solid var(--border-light);
    border-radius: var(--radius-base);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

/* Layout Utilities */
.container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

/* Example Usage */
body {
    background-color: var(--color-neutral-300);
    color: var(--text-body);
}

.button-secondary {
    background-color: var(--action-secondary-bg);
    color: var(--action-secondary-text);
}

.button-secondary:hover {
    background-color: var(--action-primary-hover);
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff !important;
    background-color: var(--color-dark-blue) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.status-bar-safe-area {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area {
        display: flex;
        position: sticky;
        top: 0;
        height: env(safe-area-inset-top);
        background-color: #f7f7f7;
        width: 100%;
        z-index: 1;
    }

    .flex-column, .navbar-brand {
        padding-left: env(safe-area-inset-left);
    }
}

.portal-header{
    letter-spacing: -.025em;
    line-height: 1;
    font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
    font-weight: 600;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: var(--surface-primary);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mobile-login-card {
    position: fixed;
    bottom: 0;
    left: 0;
    align-self: center;
    width: 100%;
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: var(--surface-primary);
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: none;
    animation: slideUp 0.5s ease-out;
    max-height: 75vh;
    transform: translateY(100%);
    opacity: 0;
    animation-fill-mode: forwards;

    h1 {
        margin: 3rem 0 0 1.5rem;
    }

    img {
        height: 60px;
        margin: 10px 0;
    }
}

.login-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.back-to-login {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: bold;
    margin-bottom: 1rem;
    text-decoration: none;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: var(--surface-primary);
}

.page-content {
    background: var(--surface-primary);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    padding: 1.5rem;
    animation: slideUp 0.5s ease-out;
    min-height: 100vh;
}

.page-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px;
}

.page-header-text {
    align-content: center;
    justify-content: center;
}

.page-header-image {
    height: 80px;
}

.btn-edit {
    background-color: var(--color-teal-blue);
}

.btn-cancel:is(:hover, :active, :focus){
    background-color: red !important;
    color: var(--action-primary-text) !important;
}

select.custom-select {
    width: 100%;
    padding: 0.75rem;
    background-color: transparent !important;
    cursor: not-allowed;
    outline: none !important;
    border: none !important;
    font-size: 1rem;
    color: #495057;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23495057'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select.custom-select:hover {
    border-color: transparent;
}

select.custom-select:focus {
    background-color: transparent;
    outline: none;
    border: none;
}

select.custom-select:disabled {
    background-color: transparent;
    cursor: not-allowed;
    outline: none;
    border: none;
}

.custom-form-group{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.fade-out {
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.spinner-border {
    width: 20px;
    height: 20px;
    border: 3px solid var(--color-light-gray);
    border-top: 3px solid var(--action-primary-bg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reset {
    all: revert;
}

.input-wrapper{
    margin: 0.25rem 0;
    border-radius: 6px;
    border: 2px solid var(--border-component);
    padding: 0 0.5rem;
    transition: border-color 0.3s ease;
}

.custom {
    width: 80%;
    display: grid;
    align-items: center;
    justify-content: flex-start;
}

.input-wrapper.error {
    border-color: red;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

.input-name{
    width: auto;
    padding: 0 0.5rem;
    text-align: left;
}

.ml-5{
    margin: 0 0 0 5px;
}

.overflow-x-scroll { 
    overflow-x: scroll;
}

.transparent {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.transparent:hover,
.transparent:focus,
.transparent:active {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logout-button {
    background: var(--feedback-error);
    width: 100%;
    margin-top: 20px;
    
    span{
        color: var(--action-primary-text);
    }
}

.skills-header-container {
    display: grid;
    grid-template-columns: auto auto;
}

.skills-actions{
    display: grid;
    justify-content: end;
    grid-template-columns: auto auto;
    gap: 10px;
}

.brand-logo {
    width: var(--logo-md);
    height: auto;
    aspect-ratio: var(--ratio-logo);
}

.brand-image {
    width: var(--image-medium);
    height: auto;
    border-radius: var(--image-radius-md);
}

.avatar {
    width: var(--avatar-md);
    height: var(--avatar-md);
    border-radius: var(--image-radius-full);
    object-fit: cover;
}

.banner-image {
    width: var(--image-banner);
    height: auto;
    aspect-ratio: var(--ratio-landscape);
}

/* Responsive Image Container */
.image-container {
    position: relative;
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Aspect Ratio Container */
.ratio-container {
    position: relative;
    width: 100%;
    padding-top: calc(100% / (var(--ratio-landscape)));
}

.ratio-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bottom Navigation Styles */
.lovies-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    padding: 0.35rem 0.75rem;
    background: #ffffff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    align-items: center;
    z-index: 28;
}

.lovies-bottom-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #111827 !important;
    text-decoration: none;
    font-size: 0.78rem;
    padding: 0.35rem 0.25rem;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

.lovies-bottom-link.active {
    background: #111827;
    color: #ffffff !important;
}

.lovies-bottom-link:hover {
    background: #f5f5f5;
}

.lovies-bottom-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.lovies-bottom-label {
    color: inherit !important;
}

/* Navigation Menu Styles (Pandora-inspired) */
.nav-shell {
    position: relative;
}

.nav-toggle {
    display: none;
}

.nav-mobile-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-brand-logo {
    height: 28px;
    width: auto;
}

.nav-actions {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.nav-icon-btn:hover {
    background: #f5f5f5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Simple line icons */
.icon-menu,
.icon-search,
.icon-user,
.icon-close {
    position: relative;
    display: inline-block;
}

.icon-menu,
.icon-close {
    width: 20px;
    height: 20px;
}

.icon-menu::before,
.icon-menu::after,
.icon-menu span,
.icon-close::before,
.icon-close::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #111827;
    border-radius: 999px;
}

.icon-menu::before { top: 4px; }
.icon-menu::after { bottom: 4px; }
.icon-menu span { top: 9px; }

.icon-close::before { transform: rotate(45deg); top: 9px; }
.icon-close::after { transform: rotate(-45deg); top: 9px; }

.icon-search {
    width: 18px;
    height: 18px;
    border: 2px solid #111827;
    border-radius: 50%;
}

.icon-search::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: #111827;
    right: -6px;
    bottom: -2px;
    transform: rotate(45deg);
}

.icon-user {
    width: 18px;
    height: 18px;
    border: 2px solid #111827;
    border-radius: 50%;
}

.icon-user::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 8px;
    border: 2px solid #111827;
    border-top: none;
    border-radius: 0 0 10px 10px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 15;
}

.nav-drawer {
    position: fixed;
    top: 64px;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 64px);
    background: #ffffff;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
}

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.nav-drawer-title {
    font-weight: 700;
    color: #111827;
}

.nav-close {
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.nav-close:hover {
    background: #f5f5f5;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-links ::deep .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-links ::deep .nav-link:hover {
    background: #f5f5f5;
}

.nav-links ::deep .nav-link.active {
    background: #111827;
    color: #ffffff;
}

.nav-links ::deep .nav-link .icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bi-search-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.bi-calendar-event-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-calendar-event' viewBox='0 0 16 16'%3E%3Cpath d='M11 6H9v2h2V6z'/%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v1H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM16 14V5H0v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3Cpath fill-rule='evenodd' d='M14 14s-1-1.5-6-1.5S2 14 2 14s1-4 6-4 6 4 6 4z'/%3E%3C/svg%3E");
}

.bi-people-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-people-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0-2.995-3.176A3 3 0 0 0 11 8z'/%3E%3Cpath d='M4.216 14A2.238 2.238 0 0 1 4 13c0-1.355.68-2.75 1.936-3.72A5.77 5.77 0 0 0 4 9c-4 0-4 3-4 4 0 .667.333 1 1 1h3.216z'/%3E%3Cpath d='M4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-gear-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.605 1.05c-.413-1.4-2.797-1.4-3.21 0l-.2.682a1.464 1.464 0 0 1-2.105.872l-.616-.358c-1.183-.686-2.57.701-1.885 1.885l.359.616c.446.766.036 1.743-.872 2.105l-.683.2c-1.4.413-1.4 2.797 0 3.21l.682.2a1.464 1.464 0 0 1 .872 2.105l-.358.616c-.686 1.183.701 2.57 1.885 1.885l.616-.359a1.464 1.464 0 0 1 2.105.872l.2.683c.413 1.4 2.797 1.4 3.21 0l.2-.682a1.464 1.464 0 0 1 2.105-.872l.616.358c1.183.686 2.57-.701 1.885-1.885l-.359-.616a1.464 1.464 0 0 1 .872-2.105l.683-.2c1.4-.413 1.4-2.797 0-3.21l-.682-.2a1.464 1.464 0 0 1-.872-2.105l.358-.616c.686-1.183-.701-2.57-1.885-1.885l-.616.359a1.464 1.464 0 0 1-2.105-.872l-.2-.683zM8 10.93a2.93 2.93 0 1 1 0-5.86 2.93 2.93 0 0 1 0 5.86z'/%3E%3C/svg%3E");
}

.bi-box-arrow-right-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-box-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5-.5V10H5a.5.5 0 0 1 0-1h4.5V7a.5.5 0 0 1 1 0v2H15a.5.5 0 0 1 0 1h-4.5v2a.5.5 0 0 1-.5.5z'/%3E%3Cpath fill-rule='evenodd' d='M3.5 2a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5H8a.5.5 0 0 1 0 1H3.5A1.5 1.5 0 0 1 2 13.5v-11A1.5 1.5 0 0 1 3.5 1H8a.5.5 0 0 1 0 1z'/%3E%3C/svg%3E");
}

.bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    background-size: cover;
}

.bi-house-door-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23111827' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

.nav-toggle:checked ~ .nav-drawer {
    transform: translateX(0);
}

/* Shell Layout Styles */
.shell-layout {
    min-height: 100vh;
    background: var(--color-neutral-300);
}

.shell-inner {
    display: block;
}

.shell-main {
    padding: 5rem 1rem 5rem;
    min-height: 100vh;
}

.shell-nav {
    position: relative;
    z-index: 25;
}

/* Desktop Responsive Styles (1024px and up) */
@media (min-width: 1024px) {
    /* Bottom Navigation - hide on desktop */
    .lovies-bottom-nav {
        display: none;
    }

    /* Nav Menu - Desktop sidebar style
    .nav-overlay {
        display: none;
    } */

    .nav-drawer {
        position: fixed;
        top: 64px;
        transform: none;
        height: calc(100vh - 64px);
        width: 260px;
        max-width: none;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
        background: #ffffff;
        padding: 1rem;
    }

    .nav-drawer-header {
        display: flex;
    }

    .nav-links {
        gap: 0.25rem;
    }

    .nav-links ::deep .nav-link {
        color: #111827;
        border-radius: 10px;
    }

    .nav-links ::deep .nav-link:hover {
        background: #f5f5f5;
    }

    .nav-links ::deep .nav-link.active {
        background: #111827;
        color: #ffffff;
    }

    /* Shell Layout - Desktop flex layout */
    .shell-inner {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .shell-nav {
        width: 260px;
        flex-shrink: 0;
    }

    .shell-main {
        flex: 1;
        padding: 5rem 1.5rem 2rem 300px;
    }
}