/* CSS Variables */
:root {
    /* Primary Colors - Dark Blue Matte Tone */
    --primary-color: #2c3e50;
    --primary-hover: #34495e;
    --primary-light: #4a6278;
    --primary-dark: #1a252f;

    /* Secondary Colors - Accent Blue */
    --secondary-color: #2471a3;
    --secondary-hover: #1e5a8e;
    --secondary-light: #2e86c1;
    --secondary-dark: #1b4f72;

    /* Accent Colors */
    --accent-color: #174a73;
    --accent-hover: #0f3a5f;

    /* Neutral Colors */
    --bg-primary: #ecf0f1;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f9fa;
    --bg-dark: #34495e;
    --dark-gray: #1f2937;

    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-muted: #95a5a6;
    --text-white: #ffffff;

    /* Border Colors */
    --border-light: #dfe6e9;
    --border-medium: #b2bec3;
    --border-dark: #636e72;

    /* Status Colors */
    --success-color: #27ae60;
    --success-hover: #229954;
    --warning-color: #f39c12;
    --warning-hover: #e67e22;
    --danger-color: #e74c3c;
    --danger-hover: #c0392b;
    --info-color: #3498db;
    --info-hover: #2980b9;

    /* Layout */
    --nav-height: 70px;
    --container-max-width: 1024px;
    --footer-height: 90px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.1);
    --shadow-md: 0 4px 8px rgba(44, 62, 80, 0.12);
    --shadow-lg: 0 8px 16px rgba(44, 62, 80, 0.15);
    --shadow-xl: 0 12px 24px rgba(44, 62, 80, 0.18);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

html {
    overflow-y: scroll;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    line-height: 1.6;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
    color: var(--dark-gray);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
    background-color: transparent;
    transition: color var(--transition-normal);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

a:hover {
    color: var(--secondary-color);
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Modern Header */
.modern_header {
    width: 100%;
    height: 70px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.header_wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    gap: var(--spacing-xl);
}

.header_brand {
    display: flex;
    align-items: center;
}

.brand_logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: opacity 0.2s ease;
}

.brand_logo:hover {
    opacity: 0.8;
}

.brand_logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.main_nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    margin-left: 24px;
}

.nav_item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 18px;
    color: #9ca3af;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav_item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav_item:hover {
    color: #d1d5db;
    background: rgba(255, 255, 255, 0.05);
}

.nav_item.active {
    color: #ffffff;
    font-weight: 600;
}

.nav_item.active::before {
    transform: translateX(-50%) scaleX(1);
}

.header_actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.action_time {
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 13px;
    color: #d1d5db;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action_time i {
    color: var(--secondary-color);
}

#current_time {
    font-weight: 400;
}

.action_user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    transition: all 0.2s ease;
}

.user_avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-sm);
    position: relative;
    cursor: pointer;
}

.user_avatar::after {
    content: attr(data-username);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-gray);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.user_avatar::before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--dark-gray);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1000;
}

.user_avatar:hover::after,
.user_avatar:hover::before {
    opacity: 1;
    visibility: visible;
}

.user_name {
    font-size: 13px;
    color: #d1d5db;
    font-weight: 500;
    display: none;
}

.action_logout {
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #9ca3af;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.action_logout:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.action_logout svg {
    width: 18px;
    height: 18px;
}

.action_menu {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #d1d5db;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.action_menu:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

main {
    width: 100%;
    margin: 0 auto;
    min-height: calc(100vh - 70px - 48px - var(--footer-height));
    padding: var(--spacing-lg) 0;
    background: #fafafa;
}

footer {
    background: transparent;
}

.container {
    margin: 0 auto;
    max-width: var(--container-max-width);
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-md);
}

main .container {
    overflow: hidden;
    overflow-wrap: break-word;
    display: block;
}

/* Header */
header .container {
    height: var(--nav-height);
    padding: 0 var(--spacing-md);
}

.header_content {
    width: 100%;
    display: flex;
    align-items: flex-end;
    height: var(--nav-height);
}

.header_logo a {
    height: var(--nav-height);
    display: flex;
    align-items: flex-end;
    padding-bottom: 14px;
}

.header_logo img {
    height: 24px;
    width: auto;
}

.header_nav {
    margin-left: var(--spacing-lg);
    height: var(--nav-height);
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-xs);
}

.nav_link {
    color: var(--text-white);
    font-weight: 500;
    padding: 12px 18px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-size: 15.5px;
    transition: all var(--transition-normal);
}

.nav_link:hover {
    color: var(--secondary-color);
    background: var(--bg-secondary);
}

.nav_link.is_active {
    color: var(--secondary-color);
    background: var(--bg-secondary);
}

.nav_link i {
    font-size: 11px;
}

.header_auth {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    height: var(--nav-height);
    gap: var(--spacing-md);
}

.user_info {
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-white);
    font-size: 13px;
    transition: all var(--transition-normal);
}

.user_info:hover {
    background: var(--primary-hover);
}

.user_info i {
    font-size: 12px;
}

.logout_btn {
    margin-bottom: 12px;
    width: 36px;
    height: 36px;
    outline: none;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.logout_btn:hover {
    background: var(--primary-hover);
    color: var(--bg-secondary);
}

.logout_btn i {
    font-size: 16px;
}

.mobile_menu_btn {
    width: 38px;
    height: 38px;
    outline: none;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-normal);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.mobile_menu_btn:hover {
    background: var(--primary-hover);
}

.logo a {
    height: var(--nav-height);
    display: flex;
    align-items: flex-end;
    padding-bottom: 14px;
}

.logo img {
    height: 24px;
    width: auto;
}

.navbar {
    margin-left: var(--spacing-lg);
    height: var(--nav-height);
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-xs);
}

.navbar a {
    color: var(--text-white);
    font-weight: 500;
    padding: 12px 18px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-size: 15.5px;
    transition: all var(--transition-normal);
}

.navbar a:hover {
    color: var(--secondary-color);
    background: var(--bg-secondary);
}

.navbar a.is_active {
    color: var(--secondary-color);
    background: var(--bg-secondary);
}

.navbar a i {
    font-size: 11px;
}

/* Auth Section */
.auth {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    height: var(--nav-height);
    gap: var(--spacing-md);
}

.auth .user_id_wrap {
    border-radius: var(--radius-sm);
    padding: 2px 6px;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-white);
    transition: all var(--transition-normal);
}

.auth .user_id_wrap:hover {
    color: var(--bg-secondary);
    background: var(--primary-hover);
}

.auth .user_id_wrap i {
    font-size: 11px;
}

.auth .icon {
    margin-bottom: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-white);
    transition: all var(--transition-normal);
}

.auth .icon i {
    font-size: 14px;
}

.auth .icon:hover {
    background: var(--primary-hover);
    color: var(--bg-secondary);
}

.auth .icon:hover::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    padding: 4px 12px;
    background: var(--primary-dark);
    color: var(--text-white);
    font-size: 11px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    z-index: 10;
}

.auth .icon:hover::before {
    content: "";
    position: absolute;
    top: calc(100% + 11px);
    right: 10px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--primary-dark);
    z-index: 10;
}

.auth button {
    width: 38px;
    height: 38px;
    outline: none;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-normal);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.auth button:hover {
    background: var(--primary-hover);
}

/* Sidebar Menu */
.sidebar_menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar_menu.show {
    left: 0;
}

.sidebar_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar_logo img {
    height: 32px;
    width: auto;
}

.sidebar_close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.sidebar_close:hover {
    background: var(--dark-gray);
    color: #ffffff;
}

.sidebar_body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.sidebar_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 6px;
    color: #9ca3af;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar_item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.sidebar_item:hover {
    color: #6b7280;
}

.sidebar_item.active {
    color: var(--dark-gray);
    font-weight: 600;
}

.sidebar_item.username {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.sidebar_item.logout {
    margin-top: auto;
    cursor: pointer;
    color: #e74c3c;
}

.sidebar_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar_overlay.show {
    display: block;
    opacity: 1;
}

/* Breadcrumb Bar */
.breadcrumb_bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 70px;
    z-index: 99;
}

.breadcrumb_wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 var(--spacing-lg);
    position: relative;
}

.breadcrumb_items {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 0 42px;
}

.breadcrumb_items::-webkit-scrollbar {
    display: none;
}

.breadcrumb_item {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 6px 14px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.breadcrumb_item:hover {
    color: #6b7280;
}

.breadcrumb_item.active {
    color: var(--dark-gray);
    font-weight: 600;
}

.breadcrumb_scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    z-index: 10;
}

#breadcrumb_scroll_left {
    left: var(--spacing-lg);
}

#breadcrumb_scroll_right {
    right: var(--spacing-lg);
}

.breadcrumb_scroll:hover {
    background: var(--dark-gray);
    border-color: var(--dark-gray);
    color: #ffffff;
}

.breadcrumb_scroll i {
    font-size: 12px;
}

/* Footer */
.modern_footer {
    width: 100%;
    background: var(--dark-gray);
    color: #d1d5db;
    margin-top: auto;
}

.footer_main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 48px var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
}

.footer_section {
    display: flex;
    flex-direction: column;
}

.footer_about {
    gap: 20px;
}

.footer_logo img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer_description {
    font-size: 14px;
    line-height: 1.7;
    color: #9ca3af;
    margin: 0;
}

.footer_social {
    display: flex;
    gap: 12px;
}

.social_link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #d1d5db;
    transition: all 0.2s ease;
}

.social_link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.footer_title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer_links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_links a {
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer_links a:hover {
    color: #ffffff;
}

.footer_contact_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_contact_list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer_contact_list i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    margin-top: 2px;
}

.footer_contact_list div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer_contact_list strong {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer_contact_list a,
.footer_contact_list span {
    font-size: 14px;
    color: #d1d5db;
    transition: color 0.2s ease;
}

.footer_contact_list a:hover {
    color: #ffffff;
}

.footer_bottom {
    background: rgba(0, 0, 0, 0.2);
}

.footer_bottom .footer_container {
    padding: 16px var(--spacing-lg);
}

.footer_bottom_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.footer_bottom_content p {
    margin: 0;
    font-size: 13px;
    color: #9ca3af;
}

.footer_bottom_links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.footer_bottom_links a {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.footer_bottom_links a:hover {
    color: #ffffff;
}

.footer_bottom_links span {
    color: #6b7280;
}

/* Common Form Elements */
.form-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.justify-center {
    justify-content: center;
}

/* Utility Classes */
.wrapper {
    width: 100%;
}

.p-8 {
    padding: var(--spacing-sm);
}

.p-16 {
    padding: var(--spacing-md);
}

.p-24 {
    padding: var(--spacing-lg);
}

.p-32 {
    padding: var(--spacing-xl);
}

.bg-white {
    background: var(--bg-secondary);
}

.br-8 {
    border-radius: var(--radius-md);
}

.br-16 {
    border-radius: var(--radius-lg);
}

.br-24 {
    border-radius: var(--radius-xl);
}

.mt-16 {
    margin-top: var(--spacing-md);
}

.mb-16 {
    margin-bottom: var(--spacing-md);
}

.color-primary {
    color: var(--primary-color);
}

.color-secondary {
    color: var(--secondary-color);
}

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

.color-warning {
    color: var(--warning-color);
}

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

.text-underline {
    text-decoration: underline;
}

/* Responsive */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --container-max-width: 100%;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .header_wrapper {
        padding: 0 var(--spacing-md);
    }

    .main_nav {
        display: none;
    }

    .action_menu {
        display: flex;
    }

    .action_time {
        display: none;
    }

    .action_user {
        padding: 0;
        background: transparent;
        border: none;
    }

    .action_user:hover {
        background: transparent;
    }

    .user_avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .user_name {
        display: none;
    }

    .action_logout {
        display: none;
    }

    .action_logout svg {
        width: 18px;
        height: 18px;
    }

    .breadcrumb_wrapper {
        padding: 0 var(--spacing-md);
    }

    .footer_container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 36px var(--spacing-md);
    }

    .footer_about {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 24px;
        --spacing-lg: 16px;
    }

    .modern_header {
        height: 64px;
    }

    .header_wrapper {
        padding: 0 var(--spacing-lg);
    }

    .brand_logo img {
        height: 32px;
    }

    .header_actions {
        gap: 8px;
    }

    .action_time {
        min-width: 140px;
        font-size: 12px;
    }

    .user_avatar {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .user_name {
        display: none;
    }

    .action_user {
        padding: 0;
        background: transparent;
        border: none;
    }

    .action_user:hover {
        background: transparent;
    }

    .action_logout {
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
    }

    .action_logout:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
        box-shadow: none;
    }

    .action_logout svg {
        width: 18px;
        height: 18px;
    }

    .action_menu {
        width: 36px;
        height: 36px;
    }

    .sidebar_menu {
        width: 280px;
        left: -300px;
    }

    .breadcrumb_bar {
        top: 64px;
    }

    .breadcrumb_wrapper {
        height: 44px;
        padding: 0 var(--spacing-lg);
    }

    .breadcrumb_item {
        font-size: 12px;
        padding: 5px 12px;
    }

    .breadcrumb_scroll {
        width: 28px;
        height: 28px;
    }

    .footer_container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px var(--spacing-lg);
    }

    .footer_about {
        grid-column: auto;
    }

    .footer_bottom_content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 0;
    }
}