.header{position:fixed;top:0;left:0;right:0;background:var(--bg-card);border-bottom:1px solid var(--border-light);box-shadow:var(--shadow-small);z-index:1000;backdrop-filter:blur(10px)}.header-content{display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:60px;max-width:1200px;margin:0 auto}.header-left .app-logo{height:40px;width:auto;object-fit:contain;transition:opacity .3s ease}.header-left .app-logo:hover{opacity:.8}.header-left .app-title{color:var(--text-primary);font-size:24px;font-weight:700;margin:0}.header-nav{display:none}@media(min-width: 768px){.header-nav{display:block}}.header-nav .nav-menu{display:flex;list-style:none;margin:0;padding:0;gap:8px}.header-nav .nav-item .nav-link{display:flex;align-items:center;gap:8px;padding:10px 18px;border-radius:8px;color:var(--text-secondary);text-decoration:none;font-weight:500;transition:all .3s ease}.header-nav .nav-item .nav-link:hover{background:var(--bg-secondary);color:var(--text-primary)}.header-nav .nav-item .nav-link.active{background:var(--menu-selection-color);color:#fff}.header-nav .nav-item .nav-link .nav-icon{font-size:20px}.header-nav .nav-item .nav-link .nav-label{font-size:16px;font-weight:600}.header-right{display:flex;align-items:center}
.bottom-menu{position:fixed;bottom:0;left:0;right:0;background:var(--bg-card);border-top:1px solid var(--border-light);box-shadow:var(--shadow-small);z-index:1000;backdrop-filter:blur(10px)}.bottom-menu.light{background:#1d3557}.bottom-menu.light .menu-link{color:hsla(0,0%,100%,.7)}.bottom-menu.light .menu-link:hover{color:hsla(0,0%,100%,.9);background:hsla(0,0%,100%,.1)}.bottom-menu.light .menu-link.active{color:var(--menu-selection-color);background:hsla(0,0%,100%,.2)}.bottom-menu.dark{background:#333}.bottom-menu.dark .menu-link{color:hsla(0,0%,100%,.7)}.bottom-menu.dark .menu-link:hover{color:hsla(0,0%,100%,.9);background:hsla(0,0%,100%,.1)}.bottom-menu.dark .menu-link.active{color:var(--menu-selection-color);background:hsla(0,0%,100%,.2)}@media(min-width: 768px){.bottom-menu{display:none}}.menu-list{display:flex;list-style:none;margin:0;padding:0}.menu-item{flex:1}.menu-item .menu-link{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 8px;color:var(--text-secondary);text-decoration:none;font-size:14px;font-weight:500;transition:all .3s ease;min-height:70px}.menu-item .menu-link:hover{color:var(--text-primary);background:var(--bg-secondary)}.menu-item .menu-link.active{color:var(--menu-selection-color);background:var(--accent-bg)}.menu-item .menu-link .menu-icon{margin-bottom:6px}.menu-item .menu-link .menu-icon svg{width:28px;height:28px}.menu-item .menu-link .menu-icon svg path{stroke:currentColor;fill:currentColor}.menu-item .menu-link .menu-label{font-size:12px;text-align:center;line-height:1.2;font-weight:600}
.protected-layout{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;padding-top:60px;padding-bottom:60px}@media(min-width: 768px){.main-content{padding-bottom:0}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:20px}.loading-container p{color:var(--text-secondary);font-size:16px;margin:0}.loading-spinner{width:40px;height:40px;border:4px solid var(--border-color);border-top:4px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
:root{--bg-primary: #ffffff;--bg-secondary: #f8f9fa;--bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);--bg-card: #ffffff;--bg-header: rgba(255, 255, 255, 0.95);--bg-menu: rgba(255, 255, 255, 0.95);--text-primary: #333333;--text-secondary: #666666;--text-muted: #999999;--border-color: rgba(0, 0, 0, 0.1);--border-light: #f0f0f0;--shadow-small: 0 1px 4px rgba(0, 0, 0, 0.1);--shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);--shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);--shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.1);--accent-primary: #667eea;--accent-secondary: #764ba2;--accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--accent-bg: rgba(102, 126, 234, 0.1);--success-bg: #d4edda;--success-text: #155724;--success-border: #c3e6cb;--success-hover: #c3e6cb;--error-bg: #f8d7da;--error-text: #721c24;--error-border: #f5c6cb;--error-hover: #f5c6cb;--warning-bg: #fff3cd;--warning-text: #856404;--warning-border: #ffeaa7;--warning-hover: #ffeaa7;--input-bg: #ffffff;--input-border: #e1e5e9;--input-focus: #667eea;--button-primary: #1D3557;--button-primary-hover: #5a6fd8;--button-danger: #dc3545;--button-danger-hover: #c82333;--color-primary: #667eea;--color-primary-light: rgba(102, 126, 234, 0.1);--color-primary-dark: #5a6fd8;--color-background: #ffffff;--color-surface: #f8f9fa;--color-text: #333333;--color-text-secondary: #666666;--color-border: rgba(0, 0, 0, 0.1);--color-success: #28a745;--color-error: #dc3545;--color-error-dark: #c82333;--menu-selection-color: #28a745}[data-theme=dark]{--bg-primary: #1a1a1a;--bg-secondary: #2d2d2d;--bg-gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);--bg-card: #2d2d2d;--bg-header: rgba(26, 26, 26, 0.95);--bg-menu: rgba(26, 26, 26, 0.95);--text-primary: #ffffff;--text-secondary: #cccccc;--text-muted: #999999;--border-color: rgba(255, 255, 255, 0.1);--border-light: #404040;--shadow-small: 0 1px 4px rgba(0, 0, 0, 0.3);--shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);--shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.3);--shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.3);--accent-primary: #7c8fff;--accent-secondary: #9b6bff;--accent-gradient: linear-gradient(135deg, #7c8fff 0%, #9b6bff 100%);--accent-bg: rgba(124, 143, 255, 0.1);--success-bg: #1e4d2b;--success-text: #4ade80;--success-border: #166534;--success-hover: #166534;--error-bg: #4d1e1e;--error-text: #f87171;--error-border: #7f1d1d;--error-hover: #7f1d1d;--warning-bg: #451a03;--warning-text: #fbbf24;--warning-border: #78350f;--warning-hover: #78350f;--input-bg: #404040;--input-border: #555555;--input-focus: #7c8fff;--button-primary: #7c8fff;--button-primary-hover: #6b7eff;--button-danger: #ef4444;--button-danger-hover: #dc2626;--color-primary: #7c8fff;--color-primary-light: rgba(124, 143, 255, 0.1);--color-primary-dark: #6b7eff;--color-background: #1a1a1a;--color-surface: #2d2d2d;--color-text: #ffffff;--color-text-secondary: #cccccc;--color-border: rgba(255, 255, 255, 0.1);--color-success: #4ade80;--color-error: #ef4444;--color-error-dark: #dc2626;--menu-selection-color: #fbbf24}
*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.6;color:var(--text-primary);background:var(--bg-primary);transition:background-color .3s ease,color .3s ease}.app{min-height:100vh}button{font-family:inherit}input{font-family:inherit}.auth-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:15px}.auth-loading p{color:var(--text-secondary);font-size:14px;margin:0}.loading-spinner{width:32px;height:32px;border:3px solid var(--border-color);border-top:3px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
