@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";.login-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;background:#f3efea;padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));font-family:Plus Jakarta Sans,system-ui,-apple-system,Segoe UI,sans-serif}.login-shell{width:min(1100px,100%);min-height:600px;display:grid;grid-template-columns:1.1fr .9fr;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 18px 60px #1018282e}.login-left{position:relative;padding:40px 44px;color:#fff;background:radial-gradient(1200px 500px at 20% 0%,rgba(255,255,255,.06),transparent 60%),linear-gradient(135deg,#0f1224,#111a38 55%,#0b0f22)}.login-left-top{display:flex;align-items:center;gap:10px}.brand{display:inline-flex;align-items:center;gap:10px;-webkit-user-select:none;user-select:none}.brand-icon{width:28px;height:28px;border-radius:8px;display:inline-grid;place-items:center;font-weight:800;color:#ff6b2b;background:#ffffff12;border:1px solid rgba(255,255,255,.12)}.brand-text{font-weight:700;font-size:14px;color:#ffffffeb}.login-left-content{margin-top:96px;max-width:430px}.login-left-title{font-size:40px;line-height:1.08;letter-spacing:-.5px;font-weight:800;margin:0 0 18px}.login-left-subtitle{margin:0;font-size:14px;line-height:1.7;color:#ffffffb8}.login-left-footer{position:absolute;left:44px;right:44px;bottom:22px;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#ffffffa6}.login-right{background:#fff;border-top:4px solid #fc4f00;display:grid;align-items:start;padding:44px 46px}.login-form{width:100%;max-width:420px;margin-left:auto;margin-right:auto}.form-group label{display:block;margin-bottom:.5rem;color:#111827b8;font-weight:600;font-size:13px}.form-group input{width:100%;padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:8px;font-size:1rem;transition:border-color .18s ease,box-shadow .18s ease;background:#fff;color:#111827}.form-group input:focus{outline:none;border-color:#fc4f00bf;box-shadow:0 0 0 4px #fc4f001f}.error-message{background:#ef444414;color:#b42318;padding:10px 12px;border-radius:10px;margin-bottom:14px;font-size:13px;border:1px solid rgba(239,68,68,.18)}.primary-button{width:100%;padding:14px 16px;background:linear-gradient(180deg,#ff6b2b,#e54b12);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;box-shadow:0 8px 22px #e54b1247}.primary-button:hover:not(:disabled){filter:brightness(1.02);transform:translateY(-1px);box-shadow:0 12px 28px #e54b1257}.primary-button:active:not(:disabled){transform:translateY(0)}.primary-button:disabled{opacity:.6;cursor:not-allowed}.divider{margin:14px 0;position:relative;text-align:center;color:#11182773;font-size:12px;font-weight:600}.divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#0f172a14}.divider>span{position:relative;background:#fff;padding:0 10px}.ms-button{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 14px;border-radius:10px;border:1px solid rgba(15,23,42,.1);background:#fff;color:#111827e6;font-weight:700;font-size:13px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 10px 26px #10182814}.ms-button:hover{transform:translateY(-1px);box-shadow:0 14px 32px #1018281f}.ms-icon{display:inline-grid;place-items:center}@media (max-width: 920px){.login-shell{grid-template-columns:1fr;min-height:auto}.login-left{padding:34px 28px 64px}.login-left-content{margin-top:42px}.login-left-title{font-size:32px}.login-left-footer{left:28px;right:28px}.login-right{padding:30px 26px}}.sidebar{width:var(--sidebar-w, 260px);background:var(--bg-secondary);border-right:1px solid var(--border-color);min-height:100vh;display:flex;flex-direction:column;position:fixed;left:0;top:0;z-index:100;padding:0 14px 16px;transition:transform .22s ease,box-shadow .22s ease}@media (max-width: 900px){.sidebar{transform:translate(-100%);z-index:110;box-shadow:none}.sidebar.is-open{transform:translate(0);box-shadow:12px 0 40px #0f172a2e}}@media (min-width: 901px){.sidebar{transform:none!important}}.sidebar-brand-link{text-decoration:none;color:inherit;padding:20px 10px 18px;border-bottom:1px solid var(--border-color)}.sidebar-brand{display:flex;align-items:center;gap:12px}.sidebar-brand-mark{width:40px;height:40px;border-radius:12px;background:var(--accent);color:#fff;font-weight:800;font-size:18px;display:grid;place-items:center;flex-shrink:0;box-shadow:0 6px 16px #ff5b2259}.sidebar-brand-text{display:flex;flex-direction:column;gap:2px;min-width:0}.sidebar-brand-title{font-weight:800;font-size:15px;color:var(--text-primary);letter-spacing:-.02em}.sidebar-brand-sub{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--text-secondary)}.sidebar-nav{padding:14px 0;flex:1;display:flex;flex-direction:column;gap:4px}.sidebar-link{display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--text-secondary);text-decoration:none;font-size:13px;font-weight:600;border-radius:12px;border:1px solid transparent;transition:background .15s ease,color .15s ease,border-color .15s ease}.sidebar-link:hover{background:var(--bg-tertiary);color:var(--text-primary)}.sidebar-link.active{background:#ff5b221a;color:var(--accent);border-color:#ff5b222e}.sidebar-icon{width:22px;height:22px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.sidebar-profile{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;background:var(--bg-tertiary);border:1px solid var(--border-color)}.sidebar-avatar{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#1a2744,#2d3f63);color:#fff;font-weight:800;font-size:16px;display:grid;place-items:center;flex-shrink:0}.sidebar-profile-text{min-width:0}.sidebar-profile-name{font-size:13px;font-weight:700;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile-role{font-size:11px;color:var(--text-secondary);font-weight:600}.admin-panel{min-height:100vh;background:var(--bg-primary);display:flex;transition:background-color .3s ease;position:relative}.sidebar-backdrop{display:none}.admin-main{flex:1;margin-left:0;display:flex;flex-direction:column;min-width:0}@media (min-width: 901px){.admin-main{margin-left:var(--sidebar-w, 260px)}}.admin-header{background:var(--bg-secondary);box-shadow:0 1px 0 var(--border-color);padding:.65rem 1.25rem;border-bottom:1px solid var(--border-color);position:sticky;top:0;z-index:10;transition:background-color .3s ease,box-shadow .3s ease}.header-content{max-width:100%;margin:0 .5rem;display:flex;justify-content:space-between;align-items:center;gap:8px}.admin-menu-toggle{display:none;align-items:center;justify-content:center;width:40px;height:38px;border-radius:10px;border:1px solid var(--border-color);background:var(--bg-tertiary);font-size:1.25rem;line-height:1;cursor:pointer;color:var(--text-primary)}@media (max-width: 900px){.admin-menu-toggle{display:inline-flex}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#0f172a73}}.header-spacer{flex:1}.header-right{display:flex;align-items:center;gap:.75rem}.theme-toggle{padding:0;background:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border-color);border-radius:10px;cursor:pointer;font-size:1.1rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center;width:38px;height:38px;line-height:1}.theme-toggle:hover{background:var(--bg-primary);border-color:var(--border-color-light)}.logout-button{padding:.45rem 1rem;background:var(--accent);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:.8125rem;font-weight:700;transition:background .2s ease,transform .15s ease}.logout-button:hover{background:var(--accent-hover)}.logout-button:active{transform:translateY(1px)}.admin-content{max-width:100%;margin:0;padding:1.25rem 1.5rem calc(2rem + env(safe-area-inset-bottom,0px));width:100%;animation:fadeIn .4s ease-out}.dash{max-width:1280px;margin:0 auto;animation:fadeIn .35s ease-out}.dash-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.dash-main{display:flex;flex-direction:column;gap:18px;min-width:0}.dash-hero{border-radius:var(--radius-lg, 16px);background:linear-gradient(125deg,#ff5b22,#ff7a45 48%,#ff5b22);color:#fff;box-shadow:0 14px 40px #ff5b2247;overflow:hidden}.dash-hero-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(160px,.85fr);gap:20px;padding:28px 28px 26px;align-items:center}.dash-pill{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.12em;padding:6px 10px;border-radius:8px;background:#ffffff2e;border:1px solid rgba(255,255,255,.28);margin-bottom:12px}.dash-hero-title{margin:0 0 10px;font-size:clamp(1.35rem,2.4vw,1.75rem);font-weight:800;letter-spacing:-.02em;line-height:1.2}.dash-hero-lead{margin:0 0 18px;font-size:14px;line-height:1.55;color:#ffffffeb;max-width:34rem}.dash-btn-ghost{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;font-weight:700;font-size:13px;text-decoration:none;color:#ff5b22;background:#fff;border:1px solid rgba(255,255,255,.65);box-shadow:0 8px 22px #00000014;transition:transform .15s ease,box-shadow .15s ease}.dash-btn-ghost:hover{transform:translateY(-1px);box-shadow:0 12px 28px #0000001f}.dash-hero-visual{display:flex;align-items:center;justify-content:center}.dash-hero-card{width:min(220px,100%);aspect-ratio:1.55 / 1;border-radius:18px;background:linear-gradient(145deg,#ffffff59,#ffffff14);border:1px solid rgba(255,255,255,.35);box-shadow:0 18px 50px #0000002e;position:relative}.dash-hero-card:after{content:"";position:absolute;inset:14% 12% auto;height:42%;border-radius:10px;background:#ffffff38}.dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dash-stat-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-md, 12px);padding:16px 16px 14px;box-shadow:0 8px 24px var(--shadow)}.dash-stat-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px}.dash-stat-label{font-size:12px;font-weight:700;color:var(--text-secondary)}.dash-stat-icon{font-size:16px;opacity:.85}.dash-stat-value{font-size:1.65rem;font-weight:800;letter-spacing:-.03em;color:var(--text-primary);line-height:1.1}.dash-stat-meta{margin-top:6px;font-size:11px;font-weight:600;color:var(--text-tertiary)}.dash-panel{background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-md, 12px);padding:18px 18px 16px;box-shadow:0 8px 24px var(--shadow)}.dash-panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}.dash-panel-title{margin:0;font-size:15px;font-weight:800;color:var(--text-primary);letter-spacing:-.02em}.dash-panel-hint{font-size:11px;font-weight:600;color:var(--text-tertiary)}.dash-dept-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;font-weight:700;color:var(--text-primary)}.dash-dept-pct{color:var(--accent)}.dash-progress{height:10px;border-radius:999px;background:var(--bg-tertiary);overflow:hidden;margin-bottom:16px}.dash-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#3b82f6,#60a5fa);transition:width .35s ease}.dash-panel-actions{display:flex;flex-wrap:wrap;gap:10px}.dash-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;font-size:12px;font-weight:800;text-decoration:none;border:1px solid transparent;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.dash-btn-primary{background:var(--accent);color:#fff;box-shadow:0 8px 20px #ff5b2247}.dash-btn-primary:hover{background:var(--accent-hover);transform:translateY(-1px)}.dash-btn-navy{background:var(--navy, #1a2744);color:#fff}.dash-btn-navy:hover{filter:brightness(1.06);transform:translateY(-1px)}.dash-btn-muted{background:var(--bg-tertiary);color:var(--text-primary);border-color:var(--border-color)}.dash-btn-muted:hover{background:var(--bg-primary)}.dash-empty-inline{margin:0 0 14px;font-size:13px;color:var(--text-secondary);font-weight:600}.dash-activity .dash-panel-title{margin-bottom:12px}.dash-loading,.dash-empty{margin:0;padding:8px 0;font-size:13px;color:var(--text-secondary);font-weight:600}.dash-activity-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.dash-activity-item{display:flex;gap:12px;padding:12px;border-radius:12px;border:1px solid var(--border-color);background:var(--bg-tertiary)}.dash-activity-emoji{font-size:1.25rem;line-height:1}.dash-activity-line{font-size:13px;color:var(--text-primary);font-weight:600}.dash-activity-link{color:var(--accent);text-decoration:none;font-weight:800}.dash-activity-link:hover{text-decoration:underline}.dash-activity-action{color:var(--text-secondary);font-weight:600}.dash-activity-time{margin-top:4px;font-size:11px;font-weight:600;color:var(--text-tertiary)}.dash-aside{position:sticky;top:72px;background:var(--card-bg);border:1px solid var(--border-color);border-radius:var(--radius-md, 12px);padding:16px 14px;box-shadow:0 8px 24px var(--shadow)}.dash-aside-title{margin:0 0 12px 8px;font-size:14px;font-weight:800;color:var(--text-primary);letter-spacing:-.02em}.dash-quick-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.dash-quick-item{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;padding:12px 10px;border-radius:12px;text-decoration:none;color:inherit;border:1px solid var(--border-color);background:var(--bg-secondary);transition:border-color .15s ease,box-shadow .15s ease}.dash-quick-item:hover{border-color:#ff5b2259;box-shadow:0 6px 18px var(--shadow)}.dash-quick-icon{width:36px;height:36px;border-radius:10px;background:var(--bg-tertiary);display:grid;place-items:center;font-size:16px}.dash-quick-name{font-size:13px;font-weight:800;color:var(--text-primary)}.dash-quick-desc{font-size:11px;font-weight:600;color:var(--text-secondary);margin-top:2px}.dash-quick-cta{font-size:11px;font-weight:800;color:var(--accent);white-space:nowrap}@media (max-width: 1080px){.dash-grid{grid-template-columns:1fr}.dash-aside{position:static}.dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-hero-inner{grid-template-columns:1fr}.dash-hero-visual{justify-content:flex-start}}@media (max-width: 560px){.dash-stats{grid-template-columns:1fr}.dash-panel-actions{flex-direction:column}.dash-btn{width:100%}}.employee-list{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out;transition:background-color .3s ease}.tabs-container{display:flex;gap:.5rem;margin-bottom:1rem;border-bottom:2px solid var(--border-color);align-items:center;justify-content:space-between;padding-bottom:1rem}.bulk-actions{display:flex;gap:.75rem;justify-content:flex-end;align-items:center;margin-left:auto;flex-wrap:wrap}.bulk-actions .btn-with-icon{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.85rem;font-weight:600;border-radius:8px;white-space:nowrap;flex-shrink:0;transition:all .25s ease}.bulk-actions .btn-with-icon svg{flex-shrink:0;opacity:.95}.btn-add-card{padding:.5rem 1rem;background:#fc4f00;color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .25s ease;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center}.btn-add-card:hover{background:#e04500;color:#fff;transform:translateY(-2px)}.btn-export,.btn-import{padding:.4rem .85rem;border:none;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .25s ease;white-space:nowrap}.btn-sync{background:#0ea5e9;color:#fff}.btn-sync:hover{background:#0284c7;transform:translateY(-2px)}.btn-export{background:#28a745;color:#fff}.btn-export:hover{background:#218838;transform:translateY(-2px)}.btn-import{background:#17a2b8;color:#fff}.btn-import:hover{background:#138496;transform:translateY(-2px)}.btn-delete-all{background:#dc2626!important;color:#fff!important}.btn-delete-all:hover{background:#b91c1c!important;transform:translateY(-2px)}.tabs-left{display:flex;gap:.5rem;align-items:center}.tab-button{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s ease;margin-bottom:-3px;position:relative;display:inline-flex;align-items:center;gap:.5rem}.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;padding:.1rem .45rem;border-radius:999px;font-size:.75rem;font-weight:700;background:var(--bg-tertiary);color:var(--text-secondary)}.tab-button.active .tab-count{background:#fc4f00;color:#fff}.card-total{margin:0 0 0 auto;font-size:.9rem;color:var(--text-secondary);white-space:nowrap}.card-total strong{color:var(--text-primary);font-weight:700}.tab-button:hover{color:#fc4f00;background:var(--bg-tertiary)}.tab-button.active{color:#fc4f00;border-bottom-color:#fc4f00;background:var(--bg-tertiary)}.filters{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap;align-items:center}.search-wrapper{flex:1;min-width:200px;display:flex;gap:.5rem;align-items:center}.search-input{flex:1;padding:.875rem 1rem;border:1.5px solid var(--border-color);border-radius:8px;font-size:.95rem;transition:all .25s ease;background:var(--bg-secondary);color:var(--text-primary)}.filter-input{flex:1;min-width:200px;padding:.875rem 1rem;border:1.5px solid var(--border-color);border-radius:8px;font-size:.95rem;transition:all .25s ease;background:var(--bg-secondary);color:var(--text-primary)}.search-input:focus,.filter-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #fc4f001a;transform:translateY(-1px)}.company-filter-wrapper{position:relative}.company-filter{display:flex;align-items:center;gap:.5rem}.company-filter-compact,.department-filter-compact{position:relative;flex-shrink:0}.department-dropdown .company-dropdown-menu{max-height:320px;overflow-y:auto}.company-button-compact{padding:.875rem 1rem;border:1.5px solid var(--border-color);border-radius:8px;font-size:.95rem;background:var(--bg-secondary);color:var(--text-primary);transition:all .25s ease;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-width:120px;justify-content:space-between;font-weight:600;white-space:nowrap}.company-button-compact:hover{border-color:#fc4f00;background:var(--bg-tertiary)}.company-button-compact:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a}.company-filter-compact .company-dropdown-menu{top:calc(100% + .5rem);left:0;right:auto}.company-label{color:var(--text-secondary);font-size:.95rem;font-weight:500;white-space:nowrap}.company-dropdown{position:relative}.company-button{padding:.875rem 1rem;border:1.5px solid var(--border-color);border-radius:8px;font-size:.95rem;background:var(--bg-secondary);color:var(--text-primary);transition:all .25s ease;cursor:pointer;display:flex;align-items:center;gap:.5rem;min-width:140px;justify-content:space-between;font-weight:600}.company-button:hover{border-color:#fc4f00;background:var(--bg-tertiary)}.company-button:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a}.dropdown-arrow{font-size:.75rem;transition:transform .25s ease;color:var(--text-secondary)}.dropdown-arrow.open{transform:rotate(180deg)}.company-dropdown-menu{position:absolute;top:calc(100% + .5rem);left:0;background:var(--bg-secondary);border:1.5px solid var(--border-color);border-radius:8px;box-shadow:0 8px 24px var(--shadow);min-width:140px;z-index:100;opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .25s ease;overflow:hidden}.company-dropdown-menu.show{opacity:1;visibility:visible;transform:translateY(0)}.company-option{width:100%;padding:.75rem 1rem;border:none;background:transparent;color:var(--text-primary);font-size:.95rem;text-align:left;cursor:pointer;transition:all .2s ease;font-weight:500}.company-option:hover{background:var(--bg-tertiary);color:#fc4f00}.company-option:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.company-option:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.employee-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;align-items:stretch}.employee-card{display:flex;flex-direction:column;border:1px solid var(--border-color);border-radius:12px;padding:1.75rem;background:var(--bg-secondary);transition:all .3s cubic-bezier(.4,0,.2,1);animation:fadeInUp .4s ease-out;animation-fill-mode:both;overflow:hidden}.employee-card:nth-child(1){animation-delay:.05s}.employee-card:nth-child(2){animation-delay:.1s}.employee-card:nth-child(3){animation-delay:.15s}.employee-card:nth-child(4){animation-delay:.2s}.employee-card:nth-child(5){animation-delay:.25s}.employee-card:nth-child(n+6){animation-delay:.3s}.employee-card:hover{box-shadow:0 8px 24px var(--shadow-hover);transform:translateY(-4px);border-color:#fc4f00}.employee-header{flex-shrink:0;position:relative;background-size:cover;background-position:center 35%;background-repeat:no-repeat;padding:1rem;margin:-1.75rem -1.75rem 1rem;border-radius:12px 12px 0 0;min-height:120px}.employee-header-photo{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center 35%;z-index:0;border-radius:12px 12px 0 0}.employee-header:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(to bottom,#0006,#0003);z-index:1;pointer-events:none;border-radius:12px 12px 0 0;transition:opacity .3s ease}.employee-header:hover:before{background:linear-gradient(to bottom,#00000080,#0000004d)}.employee-header>*:not(.employee-header-photo){position:relative;z-index:2}.employee-header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.employee-header-content>div{flex:1;min-width:0}.employee-header h3{color:#fff;margin-bottom:.5rem;font-size:1.2rem;word-break:break-word;font-weight:700;text-shadow:0 2px 12px rgba(0,0,0,.6),0 0 4px rgba(0,0,0,.4)}.employee-card-logo{height:35px;width:auto;max-width:100px;flex-shrink:0;opacity:.85;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}.employee-header .title{color:#fff;font-size:.9rem;margin-bottom:1rem;font-weight:600;text-shadow:0 2px 10px rgba(0,0,0,.6),0 0 3px rgba(0,0,0,.4)}.employee-info{flex:1;min-height:120px;margin-bottom:1rem}.employee-info p{margin:.5rem 0;font-size:.9rem;color:var(--text-secondary);transition:color .3s ease}.employee-info strong{color:var(--text-primary);transition:color .3s ease}.employee-actions{display:flex;gap:.5rem;margin-bottom:1rem;padding-top:1rem;border-top:1px solid var(--border-color);flex-wrap:wrap;align-items:stretch;flex-shrink:0;transition:border-color .3s ease}.employee-actions .btn{flex:1;min-width:120px;white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis}.employee-links{padding-top:1rem;border-top:1px solid var(--border-color);transition:border-color .3s ease;flex-shrink:0}.employee-links .link-item{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;font-size:.9rem}.employee-links .link-item:last-child{margin-bottom:0}.employee-links .link-item .btn-download{width:100%}.link-button{padding:.375rem .875rem;background:#fc4f00;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .25s ease}.link-button:hover{background:#d94300;transform:translateY(-1px);box-shadow:0 4px 8px #d9430040}.link-button:active{transform:translateY(0)}.btn{padding:.625rem 1rem;border:none;border-radius:8px;cursor:pointer;font-size:.875rem;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;text-align:center;transition:all .25s cubic-bezier(.4,0,.2,1);font-weight:600;position:relative;overflow:hidden;white-space:nowrap}.btn-view{background:#17a2b8;color:#fff;flex:1;min-width:120px}.btn-view:hover{background:#138496;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #1384964d}.btn-view:active{transform:translateY(0) scale(.98)}.btn-edit{background:#fc4f00;color:#fff}.btn-edit:hover{background:#d94300;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #d943004d}.btn-delete{background:#dc3545;color:#fff}.btn-restore{background:#28a745;color:#fff}.btn-restore:hover{background:#218838;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #28a7454d}.btn-restore:active{transform:translateY(0) scale(.98)}.btn-download{background:#28a745;color:#fff;font-size:.85rem;padding:.5rem 1rem}.btn-download:hover{background:#218838;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #2188384d}.btn-download:active{transform:translateY(0) scale(.98)}.btn-primary:hover{background:#d94300}.loading{text-align:center;padding:2rem;color:#666}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease-out;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:var(--bg-secondary);border-radius:16px;width:90%;max-width:450px;box-shadow:0 20px 60px #0000004d;animation:fadeInUp .4s ease-out;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-color)}.modal-header h3{margin:0;color:var(--text-primary);font-size:1.25rem;font-weight:700}.modal-close{background:none;border:none;font-size:1.75rem;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease;line-height:1}.modal-close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.modal-body{padding:1.5rem}.modal-body p{margin:0 0 .75rem;color:var(--text-primary);font-size:1rem;line-height:1.6}.modal-body p:last-child{margin-bottom:0}.modal-warning{color:var(--text-secondary);font-size:.9rem;font-style:italic}.modal-footer{display:flex;gap:.75rem;justify-content:flex-end;padding:1.5rem;border-top:1px solid var(--border-color)}.modal-footer .btn{min-width:100px}.success-modal{max-width:400px}.success-modal .modal-body{text-align:center;padding:2rem 1.5rem}.success-modal .modal-body p{font-size:1.1rem;font-weight:500;color:var(--text-primary)}.success-modal .modal-footer{justify-content:center}.btn-primary:hover{background:#d94300;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #d943004d}.btn-primary:active{transform:translateY(0) scale(.98)}.btn-secondary:hover{background:#5a6268;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #6c757d4d}.btn-secondary:active{transform:translateY(0) scale(.98)}.employee-form-container{background:var(--card-bg);border-radius:8px;padding:2rem}.employee-form h2{color:var(--text-primary);margin-bottom:2rem;font-size:1.5rem}.form-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--border-color)}.form-section:last-of-type{border-bottom:none}.ad-lookup-section{background:var(--bg-tertiary);border:2px dashed var(--border-color);border-radius:12px;padding:1.25rem}.ad-lookup-hint{color:var(--text-secondary);font-size:.9rem;margin-bottom:1rem}.ad-lookup-row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.ad-sam-input{flex:1;min-width:200px;padding:.75rem 1rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;background:var(--input-bg);color:var(--text-primary)}.ad-sam-input:focus{outline:none;border-color:#fc4f00}.btn-ad-lookup{padding:.75rem 1.5rem;background:#0ea5e9;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.btn-ad-lookup:hover:not(:disabled){background:#0284c7}.btn-ad-lookup:disabled{opacity:.7;cursor:not-allowed}.form-section h3{color:var(--text-primary);margin-bottom:1.5rem;font-size:1.1rem;font-weight:600}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;color:var(--text-primary);font-weight:500;font-size:.9rem}.label-with-action{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.label-with-action label{margin-bottom:0}.btn-add-photo{width:28px;height:28px;border-radius:50%;background:transparent;border:2px solid #fc4f00;color:#fc4f00;font-size:20px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;line-height:1;padding:0}.btn-add-photo:hover{background:#fc4f00;color:#fff;transform:scale(1.1)}.form-group input,.form-group select{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:6px;font-size:1rem;transition:border-color .2s;background:var(--input-bg);color:var(--text-primary)}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border-color)}.btn-submit{background:#fc4f00;color:#fff}.btn-submit:hover{background:#d94300}.btn-submit:disabled{opacity:.6;cursor:not-allowed}.file-upload-container{display:flex;flex-direction:column;gap:1rem}.btn-upload{padding:.75rem 1.5rem;background:#17a2b8;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .2s;align-self:flex-start}.btn-upload:hover:not(:disabled){background:#138496}.btn-upload:disabled{opacity:.6;cursor:not-allowed}.image-preview{position:relative;display:inline-block;margin-top:.5rem}.image-preview img{width:150px;height:150px;object-fit:cover;border-radius:8px;border:2px solid #e0e0e0}.btn-remove-image{position:absolute;top:-8px;right:-8px;width:28px;height:28px;border-radius:50%;background:#dc3545;color:#fff;border:2px solid white;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:all .2s}.btn-remove-image:hover{background:#c82333;transform:scale(1.1)}.file-upload-hint{margin-top:.5rem;font-size:.85rem;color:#666;font-style:italic}.photo-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.photo-modal{background:var(--card-bg);border-radius:12px;width:100%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 10px 40px #0003}.photo-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-color)}.photo-modal-header h3{margin:0;color:var(--text-primary);font-size:1.25rem;font-weight:700}.photo-modal-close{background:none;border:none;font-size:1.5rem;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.photo-modal-close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.photo-modal-content{padding:1.5rem;overflow-y:auto;flex:1}.photo-modal-loading,.photo-modal-empty{text-align:center;padding:3rem;color:var(--text-secondary)}.photo-modal-empty p{margin-bottom:1rem}.photo-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;margin-bottom:1.5rem}.photo-modal-item{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;cursor:pointer;border:2px solid var(--border-color);transition:all .2s}.photo-modal-item:hover{border-color:#fc4f00;transform:scale(1.05)}.photo-modal-item img{width:100%;height:100%;object-fit:cover}.photo-modal-item-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}.photo-modal-item:hover .photo-modal-item-overlay{opacity:1}.photo-modal-item-overlay span{color:#fff;font-weight:600;font-size:1rem}.photo-modal-actions{display:flex;justify-content:center;padding-top:1rem;border-top:1px solid #e0e0e0}.btn-secondary{background:#6c757d;color:#fff;padding:.75rem 1.5rem;border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .2s}@media (max-width: 768px){.form-row{grid-template-columns:1fr}.photo-modal-overlay{padding:1rem}.photo-modal-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem}}.photos-page{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out;transition:background-color .3s ease}.tabs{display:flex;gap:.5rem;border-bottom:2px solid #e0e0e0;margin-bottom:2rem}.tab{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:#64748b;font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);margin-bottom:-2px;position:relative}.tab:after{content:"";position:absolute;bottom:-3px;left:0;right:0;height:3px;background:#fc4f00;transform:scaleX(0);transition:transform .25s ease}.tab:hover{color:#fc4f00}.tab.active{color:#fc4f00;border-bottom-color:#fc4f00}.tab.active:after{transform:scaleX(1)}.tab-content{min-height:400px}.error-message{background:#fee;color:#c33;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.9rem}.upload-section{text-align:center;padding:3rem}.upload-hint{margin-top:1rem;color:#666;font-size:.9rem;font-style:italic}.edit-section{padding:1rem 0}.edit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.edit-header h3{color:#1e293b;font-size:1.25rem;margin:0}.edit-content{display:grid;grid-template-columns:1fr 350px;gap:2rem}.edit-preview{display:flex;align-items:center;justify-content:center;background:#f8f9fa;border-radius:8px;padding:1rem;min-height:400px}.edit-controls{display:flex;flex-direction:column;gap:1.5rem}.control-group{display:flex;flex-direction:column;gap:.5rem}.control-group label{color:#1e293b;font-weight:500;font-size:.9rem;display:flex;flex-direction:column;gap:.5rem}.control-group label input[type=checkbox]{width:auto;margin-right:.5rem}.control-input{padding:.875rem 1rem;border:1.5px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:all .25s ease;background:#fff}.control-input:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a;transform:translateY(-1px)}.edit-actions{display:flex;gap:.75rem;margin-top:1rem}.photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}.photo-item{background:#fff;border:1px solid #e0e0e0;border-radius:12px;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);animation:fadeInUp .4s ease-out;animation-fill-mode:both}.photo-item:nth-child(1){animation-delay:.05s}.photo-item:nth-child(2){animation-delay:.1s}.photo-item:nth-child(3){animation-delay:.15s}.photo-item:nth-child(4){animation-delay:.2s}.photo-item:nth-child(5){animation-delay:.25s}.photo-item:nth-child(n+6){animation-delay:.3s}.photo-item:hover{box-shadow:0 8px 24px #0000001f;transform:translateY(-4px);border-color:#fc4f00}.photo-preview{position:relative;width:100%;height:200px;background:#f8f9fa;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-info{padding:1rem}.photo-filename{font-size:.85rem;color:#64748b;margin-bottom:.75rem;word-break:break-all}.photo-actions{display:flex;gap:.5rem}.btn-edit{flex:1;padding:.5rem;background:#17a2b8;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .2s}.btn-edit:hover{background:#138496;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #1384964d}.btn-edit:active{transform:translateY(0) scale(.98)}.btn-delete{flex:1;padding:.5rem;background:#dc3545;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:600;transition:all .25s cubic-bezier(.4,0,.2,1)}.btn-delete:hover{background:#c82333;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #c823334d}.btn-delete:active{transform:translateY(0) scale(.98)}.empty-state p{margin-bottom:1rem;font-size:1.1rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .25s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#fff3;transform:translate(-50%,-50%);transition:width .5s,height .5s}.btn:hover:before{width:200px;height:200px}.btn-primary{background:#fc4f00;color:#fff}.btn-primary:hover:not(:disabled){background:#d94300;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 16px #d943004d}.btn-primary:active:not(:disabled){transform:translateY(0) scale(.98)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#5a6268}.btn-cancel{background:#6c757d;color:#fff}.btn-cancel:hover{background:#5a6268}@media (max-width: 768px){.edit-content{grid-template-columns:1fr}.photos-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.analytics-page{background:#f5f7fa;min-height:100vh;padding:2rem;animation:fadeIn .4s ease-out}[data-theme=dark] .analytics-page{background:#1a1d29}.page-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding:1.5rem 0}.page-header h1{color:#1e293b;font-size:2.5rem;font-weight:800;margin:0;letter-spacing:-.5px;text-transform:uppercase;background:linear-gradient(135deg,#fc4f00,#ff6b2b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}[data-theme=dark] .page-header h1{background:linear-gradient(135deg,#ff6b2b,#fc4f00);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.period-filters{display:flex;gap:.5rem}.period-btn{padding:.5rem 1rem;border:2px solid #e0e0e0;background:#fff;color:#64748b;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s}.period-btn:hover{border-color:#fc4f00;color:#fc4f00}.period-btn.active{background:#fc4f00;color:#fff;border-color:#fc4f00}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.dashboard-widget{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 20px #00000014;transition:all .3s ease;border:1px solid rgba(0,0,0,.05);animation:fadeInUp .4s ease-out;animation-fill-mode:both}[data-theme=dark] .dashboard-widget{background:#2d3142;border-color:#ffffff1a}.dashboard-widget:nth-child(1){animation-delay:.1s}.dashboard-widget:nth-child(2){animation-delay:.2s}.dashboard-widget:nth-child(3){animation-delay:.3s}.dashboard-widget:nth-child(4){animation-delay:.4s}.dashboard-widget:hover{transform:translateY(-4px);box-shadow:0 8px 30px #0000001f}.widget-header h3{color:#64748b;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin:0 0 1rem}[data-theme=dark] .widget-header h3{color:#a0aec0}.widget-content{display:flex;align-items:center;justify-content:space-between}.widget-number{font-size:3rem;font-weight:800;color:#1e293b;line-height:1;margin:0}[data-theme=dark] .widget-number{color:#fff}.widget-label{font-size:.85rem;color:#64748b;margin-top:.5rem}[data-theme=dark] .widget-label{color:#a0aec0}.widget-primary .widget-number{color:#fc4f00}.widget-success .widget-number{color:#28a745}.widget-info .widget-number{color:#17a2b8}.widget-warning .widget-number{color:#ffc107}.widget-chart{display:flex;align-items:center;justify-content:center}.mini-chart{display:flex;align-items:flex-end;gap:4px;height:60px}.chart-bar{width:8px;border-radius:4px 4px 0 0;transition:all .3s ease}.mini-donut{display:flex;align-items:center;justify-content:center}.analytics-charts{margin-top:2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem}.chart-container{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 20px #00000014;animation:fadeInUp .5s ease-out;border:1px solid rgba(0,0,0,.05)}[data-theme=dark] .chart-container{background:#2d3142;border-color:#ffffff1a}.chart-simple{padding:1.5rem}.chart-simple .recharts-cartesian-axis-tick-value{font-weight:600;letter-spacing:.02em}[data-theme=dark] .chart-simple .recharts-cartesian-axis-tick-value{fill:#e2e8f0}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #f1f5f9}[data-theme=dark] .chart-header{border-bottom-color:#ffffff1a}.chart-header h2{color:#1e293b;font-size:1.1rem;font-weight:700;margin:0;text-transform:none;letter-spacing:0}[data-theme=dark] .chart-header h2{color:#fff}.chart-period{color:#94a3b8;font-size:.85rem;font-weight:500}[data-theme=dark] .chart-period{color:#a0aec0}.chart-legend{display:flex;gap:1.5rem;justify-content:center;margin-top:1rem;padding-top:1rem;border-top:1px solid #f1f5f9}[data-theme=dark] .chart-legend{border-top-color:#ffffff1a}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#64748b}[data-theme=dark] .legend-item{color:#a0aec0}.legend-color{width:12px;height:12px;border-radius:2px;display:inline-block}.analytics-table-container{margin-top:2rem;background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 20px #00000014;border:1px solid rgba(0,0,0,.05)}[data-theme=dark] .analytics-table-container{background:#2d3142;border-color:#ffffff1a}.analytics-table-container h2{color:#1e293b;font-size:1rem;font-weight:700;margin-bottom:1.5rem;text-transform:uppercase;letter-spacing:.5px}[data-theme=dark] .analytics-table-container h2{color:#fff}.analytics-table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px #00000014;animation:fadeInUp .5s ease-out;border:1px solid rgba(0,0,0,.05)}[data-theme=dark] .analytics-table{background:#2d3142;border-color:#ffffff1a}.analytics-table thead{background:linear-gradient(135deg,#fc4f00,#ff6b2b);color:#fff}.analytics-table th{padding:1rem;text-align:left}.analytics-table th .th-with-icon{display:inline-flex;align-items:center;gap:.5rem}.analytics-table th .th-with-icon svg{flex-shrink:0;color:inherit;font-weight:600;font-size:.9rem}.analytics-table tbody tr{border-bottom:1px solid #e0e0e0;transition:all .25s ease}.analytics-table tbody tr:hover{background:#f8f9fa;transform:translate(4px)}[data-theme=dark] .analytics-table tbody tr:hover{background:#3d4154}.analytics-table tbody tr:last-child{border-bottom:none}.analytics-table td{padding:1rem;color:#1e293b}[data-theme=dark] .analytics-table td{color:#e2e8f0}.employee-name{font-weight:600;color:#1e293b}[data-theme=dark] .employee-name{color:#fff}.stat-number{text-align:center;font-weight:600;color:#fc4f00;font-size:1.1rem}.last-viewed{color:#64748b;font-size:.9rem}.empty-state{text-align:center;padding:3rem;color:#666}.empty-state p{font-size:1.1rem}.loading{text-align:center;padding:3rem;color:#666}.error{text-align:center;padding:3rem;color:#dc3545;background:#fee;border-radius:8px}@media (max-width: 768px){.dashboard-grid{grid-template-columns:1fr}.analytics-charts{grid-template-columns:1fr;gap:1rem}.chart-container,.chart-simple{padding:1rem}.analytics-table{font-size:.85rem}.analytics-table th,.analytics-table td{padding:.75rem .5rem}.page-header h1{font-size:1.75rem}.widget-number{font-size:2rem}}.contact-messages-page{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out}.page-header h1{color:#1e293b;font-size:1.75rem;font-weight:700;margin:0}.unread-badge{background:#fc4f00;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.9rem;font-weight:600}.filter-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid var(--border-color)}.filter-tab{padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .25s ease;margin-bottom:-2px}.filter-tab:hover{color:#fc4f00;background:var(--bg-tertiary)}.filter-tab.active{color:#fc4f00;border-bottom-color:#fc4f00;background:var(--bg-tertiary)}.messages-container{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.messages-list{display:flex;flex-direction:column;gap:1rem;max-height:70vh;overflow-y:auto}.message-item{background:#fff;border-radius:8px;padding:1rem;cursor:pointer;transition:all .25s ease;border:2px solid var(--border-color)}.message-item:hover{border-color:#fc4f00;transform:translate(4px)}.message-item.unread{border-left:4px solid #fc4f00;background:#fff5f0}.message-item.selected{border-color:#fc4f00;box-shadow:0 4px 12px #fc4f0033}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.message-sender{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#1e293b}.unread-dot{width:8px;height:8px;background:#fc4f00;border-radius:50%;display:inline-block}.message-date{font-size:.85rem;color:#64748b}.message-subject{font-weight:600;color:#1e293b;margin-bottom:.5rem}.message-preview{font-size:.9rem;color:#64748b;line-height:1.5}.message-detail{background:#fff;border-radius:12px;padding:1.5rem;border:2px solid var(--border-color);position:sticky;top:1rem;max-height:70vh;overflow-y:auto}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid var(--border-color)}.detail-header h2{color:#1e293b;font-size:1.25rem;font-weight:700;margin:0}.close-btn{background:none;border:none;font-size:2rem;color:#64748b;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.close-btn:hover{background:#f0f0f0;color:#1e293b}.detail-section{margin-bottom:1.5rem}.detail-section label{display:block;font-weight:600;color:#64748b;font-size:.85rem;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.5px}.detail-value{color:#1e293b;font-size:1rem}.detail-value a{color:#fc4f00;text-decoration:none}.detail-value a:hover{text-decoration:underline}.detail-message{color:#1e293b;font-size:1rem;line-height:1.6;white-space:pre-wrap;background:#f8f9fa;padding:1rem;border-radius:8px}.detail-actions{margin-top:2rem;padding-top:1.5rem;border-top:2px solid var(--border-color)}.btn-reply{display:inline-block;padding:.75rem 1.5rem;background:#fc4f00;color:#fff;text-decoration:none;border-radius:8px;font-weight:600;transition:all .25s ease}.btn-reply:hover{background:#d94300;transform:translateY(-2px)}@media (max-width: 1024px){.messages-container{grid-template-columns:1fr}.message-detail{position:relative;top:0}}.settings-page{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.page-header h1{color:var(--text-primary);font-size:1.75rem;font-weight:700;margin:0}.success-message{background:#10b981;color:#fff;padding:.5rem 1rem;border-radius:8px;font-size:.9rem;font-weight:600;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.settings-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid var(--border-color);flex-wrap:wrap}.settings-tab{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .25s ease;margin-bottom:-2px}.settings-tab .settings-tab-icon{flex-shrink:0}.settings-tab:hover{color:#fc4f00;background:var(--bg-tertiary)}.settings-tab.active{color:#fc4f00;border-bottom-color:#fc4f00;background:var(--bg-tertiary)}.settings-content{background:var(--bg-secondary);border-radius:12px;padding:2rem;border:2px solid var(--border-color)}.settings-section h2{color:var(--text-primary);font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.send-mail-connect .send-mail-title{color:#fc4f00;font-size:1.5rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.send-mail-connect .settings-description{margin-bottom:1.5rem}.form-row.form-group{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap}.settings-description{color:var(--text-secondary);margin-bottom:1rem;font-size:.95rem}.ad-field-mappings{display:flex;flex-direction:column;gap:.75rem}.btn-test{padding:.75rem 1.5rem;background:var(--bg-tertiary);color:var(--text-primary);border:2px solid var(--border-color);border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s ease}.btn-test:hover:not(:disabled){border-color:#fc4f00;color:#fc4f00}.form-group input[type=text],.form-group input[type=url],.form-group input[type=email],.form-group input[type=number],.form-group input[type=password]{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:all .25s ease;box-sizing:border-box;background:var(--input-bg);color:var(--text-primary)}.form-group input:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a}.color-input-group{display:flex;gap:.5rem;align-items:center}.color-input-group input[type=color]{width:60px;height:40px;border:2px solid var(--border-color);border-radius:8px;cursor:pointer}.color-input-group input[type=text]{flex:1;background:var(--input-bg);color:var(--text-primary);border:2px solid var(--border-color)}.checkbox-group label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.checkbox-group input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#fc4f00}.settings-lock-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;padding:.9rem 1.25rem;margin-bottom:1rem;border-radius:10px;border:1px solid transparent}.settings-lock-bar.locked{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.settings-lock-bar.unlocked{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.settings-lock-text{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.95rem}.settings-lock-icon{flex-shrink:0}.settings-unlock-form{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.settings-unlock-form input{padding:.6rem .9rem;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;min-width:200px}.settings-unlock-form input:focus{outline:none;border-color:#fc4f00}.settings-unlock-form .btn-save,.settings-lock-bar .btn-save{padding:.6rem 1.4rem;font-size:.95rem}.settings-unlock-error{padding:.75rem 1.25rem;margin-bottom:1rem;border-radius:8px;background:#fee2e2;color:#991b1b;font-weight:600;font-size:.9rem}.settings-fieldset{border:0;padding:0;margin:0;min-width:0}.settings-fieldset:disabled{opacity:.55}.template-default{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);padding:2rem 1rem;animation:fadeIn .3s ease-out}.template-default .card-logo{text-align:center;margin-bottom:2rem}.template-default .humanis-logo{height:50px;width:auto;opacity:.9;transition:opacity .2s ease-out}.template-default .card-container{max-width:500px;margin:0 auto;background:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 10px 40px #0000001a;animation:fadeInUp .35s ease-out}.template-default .card-header{text-align:center;margin-bottom:1.5rem}.template-default .profile-image{width:120px;height:120px;margin:0 auto 1.5rem;border-radius:50%;overflow:hidden;border:4px solid #fc4f00;box-shadow:0 4px 12px #fc4f0033;transition:transform .2s ease-out,box-shadow .2s ease-out}.template-default .profile-image:hover{transform:scale(1.05);box-shadow:0 6px 20px #fc4f004d}.template-default .profile-image img{width:100%;height:100%;object-fit:cover}.template-default .card-header h1{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.template-default .title{font-size:1rem;color:#64748b;margin:0;font-weight:500}.template-default .card-divider{height:1px;background:linear-gradient(90deg,transparent,#e2e8f0,transparent);margin:1.5rem 0}.template-default .card-info{display:flex;flex-direction:column;gap:1rem}.template-default .info-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f8f9fa;border-radius:8px;transition:all .2s ease-out}.template-default .info-item:hover{background:#f1f5f9;transform:translate(4px)}.template-default .info-item .label{font-weight:600;color:#64748b;font-size:.9rem}.template-default .info-item .value{color:#1e293b;font-weight:500}.template-default .card-actions{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}.template-default .action-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:44px;padding:.75rem 1.35rem;border:none;border-radius:8px;font-weight:600;font-size:.95rem;letter-spacing:.02em;cursor:pointer;transition:all .2s ease-out}.template-default .action-btn svg{flex-shrink:0;width:20px;height:20px}.template-default .action-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.template-default .action-btn:active{transform:scale(.98)}.template-default .call-btn{background:#10b981;color:#fff}.template-default .email-btn{background:#3b82f6;color:#fff}.template-default .vcard-btn{background:#fc4f00;color:#fff}.template-default .card-qr{text-align:center;padding:1rem}.template-default .qr-code-container{display:inline-block;padding:1rem;background:#fff;border-radius:12px;box-shadow:0 4px 12px #0000001a;transition:all .2s ease-out}.template-default .qr-code-container:hover{transform:scale(1.02);box-shadow:0 6px 20px #00000026}.template-default .qr-code-image{width:150px;height:150px;display:block}.template-default .qr-code-hint{margin:.5rem 0 0;font-size:.85rem;color:#64748b;font-weight:500}.template-default .card-details{display:flex;flex-direction:column;gap:.75rem}.template-default .detail-item{color:#1e293b;font-size:.95rem;line-height:1.6}.template-default .detail-item strong{color:#64748b;font-weight:600}.template-default .card-share{max-width:500px;margin:2rem auto 0;text-align:center}.template-default .share-buttons-row{display:flex;gap:.75rem;justify-content:center;margin-bottom:1rem}.template-default .share-btn{padding:.75rem 1.25rem;border:2px solid var(--border-color);border-radius:8px;background:#fff;cursor:pointer;transition:all .2s ease-out;font-weight:600;font-size:.9rem;display:flex;align-items:center;gap:.5rem}.template-default .share-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.template-default .share-btn.whatsapp-btn{color:#25d366;border-color:#25d366}.template-default .share-btn.whatsapp-btn:hover{border-color:#20ba5a;box-shadow:0 4px 12px #25d3664d}.template-default .share-btn.linkedin-btn{color:#0a66c2;border-color:#0a66c2}.template-default .share-btn.linkedin-btn:hover{border-color:#004182;box-shadow:0 4px 12px #0a66c24d}.template-default .share-btn.instagram-btn{color:#e4405f;border-color:#e4405f}.template-default .share-btn.instagram-btn:hover{border-color:#c13584;box-shadow:0 4px 12px #e4405f4d}.template-default .share-btn svg{flex-shrink:0}.template-default .view-count{display:inline-flex;align-items:center;gap:.5rem;color:#64748b;font-size:.9rem;padding:.5rem 1rem;background:#fff;border-radius:20px;box-shadow:0 2px 8px #0000001a}.template-default .view-count .view-icon svg{flex-shrink:0}.template-default .contact-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.template-default .contact-modal{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.template-default .card-container{padding:1.5rem}.template-default .card-actions{flex-direction:column}.template-default .action-btn{width:100%;justify-content:center}}.template-modern{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2,#f093fb);position:relative;overflow:hidden;padding:2rem 1rem;animation:fadeIn .3s ease-out}.template-modern .modern-background{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:0}.template-modern .gradient-orb{position:absolute;border-radius:50%;filter:blur(80px);opacity:.3;animation:float 20s ease-in-out infinite}.template-modern .orb-1{width:400px;height:400px;background:radial-gradient(circle,#fc4f00,transparent);top:-100px;left:-100px}.template-modern .orb-2{width:300px;height:300px;background:radial-gradient(circle,#3b82f6,transparent);bottom:-50px;right:-50px;animation-delay:-10s}@keyframes float{0%,to{transform:translate(0) scale(1)}50%{transform:translate(50px,50px) scale(1.1)}}.template-modern .glass-card{background:#ffffff26;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.2);border-radius:24px;box-shadow:0 8px 32px #0000001a;position:relative;z-index:1}.template-modern .modern-card{max-width:500px;margin:0 auto;padding:2.5rem;animation:slideInUp .4s ease-out}.template-modern .modern-header{text-align:center;margin-bottom:2rem}.template-modern .company-badge{display:inline-block;padding:.5rem 1rem;background:#fff3;border-radius:20px;font-size:.85rem;font-weight:600;color:#fff;margin-bottom:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.template-modern .modern-profile-image{width:140px;height:140px;margin:0 auto 1.5rem;border-radius:50%;overflow:hidden;border:4px solid rgba(255,255,255,.3);box-shadow:0 8px 24px #0003;transition:transform .3s ease-out,box-shadow .3s ease-out;position:relative}.template-modern .modern-profile-image:before{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border-radius:50%;padding:4px;background:linear-gradient(135deg,#fc4f00,#3b82f6);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .3s ease-out}.template-modern .modern-profile-image:hover{transform:scale(1.08);box-shadow:0 12px 32px #0000004d}.template-modern .modern-profile-image:hover:before{opacity:1}.template-modern .modern-profile-image img{width:100%;height:100%;object-fit:cover}.template-modern .modern-name{font-size:2rem;font-weight:700;color:#fff;margin:0 0 .5rem;text-shadow:0 2px 8px rgba(0,0,0,.2)}.template-modern .modern-title{font-size:1.1rem;color:#ffffffe6;margin:0;font-weight:500}.template-modern .modern-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:2rem}.template-modern .modern-info-item{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem;border-radius:12px;border:1px solid rgba(255,255,255,.15);transition:all .2s ease-out}.template-modern .modern-info-item:hover{background:#ffffff26;transform:translateY(-2px)}.template-modern .modern-label{display:block;font-size:.8rem;color:#ffffffb3;margin-bottom:.5rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.template-modern .modern-value{display:block;font-size:1rem;color:#fff;font-weight:600}.template-modern .modern-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-bottom:2rem}.template-modern .modern-pill-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:44px;padding:.875rem 1.5rem;background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);border-radius:50px;color:#fff;font-weight:600;font-size:.95rem;letter-spacing:.02em;cursor:pointer;transition:all .2s ease-out}.template-modern .modern-pill-btn svg{flex-shrink:0;width:20px;height:20px}.template-modern .modern-pill-btn:hover{background:#ffffff4d;transform:translateY(-2px);box-shadow:0 6px 20px #0003}.template-modern .modern-pill-btn:active{transform:scale(.98)}.template-modern .pill-call:hover{background:#10b98166;border-color:#10b98199}.template-modern .pill-email:hover{background:#3b82f666;border-color:#3b82f699}.template-modern .pill-vcard:hover{background:#fc4f0066;border-color:#fc4f0099}.template-modern .modern-qr-section{text-align:center;margin-bottom:2rem;padding:1.5rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;border:1px solid rgba(255,255,255,.15)}.template-modern .modern-qr-container{display:inline-block;padding:1rem;background:#fff3;border-radius:12px;transition:transform .2s ease-out}.template-modern .modern-qr-container:hover{transform:scale(1.05)}.template-modern .modern-qr-image{width:120px;height:120px;display:block;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2))}.template-modern .modern-qr-hint{margin-top:.75rem;font-size:.85rem;color:#fffc;font-weight:500}.template-modern .modern-details{display:flex;flex-direction:column;gap:1rem}.template-modern .modern-detail-row{display:flex;justify-content:space-between;align-items:center;padding:.875rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;border:1px solid rgba(255,255,255,.15)}.template-modern .modern-detail-label{font-size:.85rem;color:#ffffffb3;font-weight:600}.template-modern .modern-detail-value{font-size:.95rem;color:#fff;font-weight:500}.template-modern .modern-share{max-width:500px;margin:2rem auto 0;text-align:center}.template-modern .modern-share-buttons{display:flex;gap:1rem;justify-content:center;margin-bottom:1rem}.template-modern .modern-share-btn{width:48px;height:48px;border-radius:50%;background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:1.25rem;cursor:pointer;transition:all .2s ease-out;display:flex;align-items:center;justify-content:center}.template-modern .modern-share-btn:hover{background:#ffffff4d;transform:translateY(-3px) scale(1.1);box-shadow:0 6px 20px #0003}.template-modern .modern-share-btn.whatsapp,.template-modern .modern-share-btn.whatsapp:hover{color:#25d366}.template-modern .modern-share-btn.linkedin,.template-modern .modern-share-btn.linkedin:hover{color:#0a66c2}.template-modern .modern-share-btn.instagram,.template-modern .modern-share-btn.instagram:hover{color:#e4405f}.template-modern .modern-share-btn svg{flex-shrink:0}.template-modern .modern-view-count{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;color:#fff;font-size:.9rem;font-weight:600}.template-modern .contact-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.template-modern .contact-modal{max-width:500px;width:90%;max-height:90vh;overflow-y:auto;padding:2rem;animation:slideUp .3s ease-out}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.template-modern .modern-card{padding:1.5rem}.template-modern .modern-info-grid{grid-template-columns:1fr}.template-modern .modern-actions{flex-direction:column}.template-modern .modern-pill-btn{width:100%;justify-content:center}}.template-classic{min-height:100vh;background:#f5f5f5;padding:2rem 1rem;animation:fadeIn .3s ease-out}.template-classic .classic-card{max-width:500px;margin:0 auto;background:#fff;border-radius:4px;box-shadow:0 4px 16px #0000001a;border:1px solid #e5e5e5;overflow:hidden;animation:slideInUp .35s ease-out;position:relative}.template-classic .classic-header-band{height:6px;background:linear-gradient(90deg,#fc4f00,#d94300);width:100%}.template-classic .classic-content{padding:2rem}.template-classic .classic-header{text-align:center;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e5e5e5}.template-classic .classic-profile-image{width:100px;height:100px;margin:0 auto 1rem;border-radius:50%;overflow:hidden;border:3px solid #fc4f00;box-shadow:0 2px 8px #0000001a;transition:transform .2s ease-out}.template-classic .classic-profile-image:hover{transform:scale(1.05)}.template-classic .classic-profile-image img{width:100%;height:100%;object-fit:cover}.template-classic .classic-name-section{margin-top:1rem}.template-classic .classic-name{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0 0 .5rem;font-family:Georgia,Times New Roman,serif;letter-spacing:.5px}.template-classic .classic-title{font-size:1rem;color:#64748b;margin:0 0 .25rem;font-weight:500;font-style:italic}.template-classic .classic-company{font-size:.9rem;color:#fc4f00;margin:0;font-weight:600;text-transform:uppercase;letter-spacing:1px}.template-classic .classic-divider{height:1px;background:#e5e5e5;margin:1.5rem 0}.template-classic .classic-info-section{display:flex;flex-direction:column;gap:.875rem;margin-bottom:1.5rem}.template-classic .classic-info-row{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;font-size:.95rem;color:#1e293b}.template-classic .classic-info-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#64748b}.template-classic .classic-info-text{flex:1;line-height:1.5}.template-classic .classic-extension{color:#64748b;font-size:.9em}.template-classic .classic-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.5rem}.template-classic .classic-outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:44px;padding:.75rem 1.35rem;background:transparent;border:2px solid #fc4f00;border-radius:8px;color:#fc4f00;font-weight:600;font-size:.9rem;letter-spacing:.02em;cursor:pointer;transition:all .2s ease-out}.template-classic .classic-outline-btn svg{flex-shrink:0;width:20px;height:20px}.template-classic .classic-outline-btn:hover{background:#fc4f00;color:#fff;transform:translateY(-1px);box-shadow:0 2px 8px #fc4f0033}.template-classic .classic-outline-btn:active{transform:scale(.98)}.template-classic .classic-qr-section{text-align:center;padding:1rem;background:#f8f9fa;border-radius:4px;border:1px solid #e5e5e5}.template-classic .classic-qr-container{display:inline-block;padding:.75rem;background:#fff;border-radius:4px;border:1px solid #e5e5e5;transition:transform .2s ease-out}.template-classic .classic-qr-container:hover{transform:scale(1.03)}.template-classic .classic-qr-image{width:100px;height:100px;display:block}.template-classic .classic-qr-text{margin-top:.75rem;font-size:.8rem;color:#64748b;font-style:italic}.template-classic .classic-share{max-width:500px;margin:2rem auto 0;text-align:center}.template-classic .classic-share-buttons{display:flex;gap:.75rem;justify-content:center;margin-bottom:1rem}.template-classic .classic-share-btn{width:44px;height:44px;border-radius:4px;background:#fff;border:2px solid #e5e5e5;color:#1e293b;font-size:1.1rem;cursor:pointer;transition:all .2s ease-out;display:flex;align-items:center;justify-content:center}.template-classic .classic-share-btn:hover{border-color:#fc4f00;background:#fff5f0;transform:translateY(-2px);box-shadow:0 2px 8px #0000001a}.template-classic .classic-share-btn.whatsapp{color:#25d366}.template-classic .classic-share-btn.whatsapp:hover{color:#25d366;border-color:#25d366}.template-classic .classic-share-btn.linkedin{color:#0a66c2}.template-classic .classic-share-btn.linkedin:hover{color:#0a66c2;border-color:#0a66c2}.template-classic .classic-share-btn.instagram{color:#e4405f}.template-classic .classic-share-btn.instagram:hover{color:#e4405f;border-color:#e4405f}.template-classic .classic-view-count{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;background:#fff;border:1px solid #e5e5e5;border-radius:4px;color:#64748b;font-size:.85rem;font-weight:500}.template-classic .classic-view-count svg{flex-shrink:0}.template-classic .contact-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.template-classic .classic-modal{background:#fff;border-radius:4px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px #0003;border:1px solid #e5e5e5;animation:slideUp .3s ease-out}@media (max-width: 768px){.template-classic .classic-content{padding:1.5rem}.template-classic .classic-actions{flex-direction:column}.template-classic .classic-outline-btn{width:100%}}.template-orange{min-height:100vh;background:#e84518;padding:2rem 1rem;animation:fadeIn .3s ease-out}.template-orange .orange-card{max-width:430px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;overflow:hidden;animation:slideInUp .35s ease-out;position:relative}.template-orange .orange-header-band{height:8px;background:linear-gradient(90deg,#ff8c42,#fc4f00,#d94300);width:100%}.template-orange .orange-content{padding:2rem}.template-orange .orange-logo{text-align:center;margin-bottom:1rem}.template-orange .orange-humanis-logo{height:40px;width:auto;opacity:.95}.template-orange .orange-header{text-align:center;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:2px solid rgba(252,79,0,.2)}.template-orange .orange-profile-image{width:100px;height:100px;margin:0 auto 1rem;border-radius:50%;overflow:hidden;border:4px solid #fc4f00;box-shadow:0 4px 12px #fc4f004d;transition:transform .2s ease-out}.template-orange .orange-profile-image:hover{transform:scale(1.05)}.template-orange .orange-profile-image img{width:100%;height:100%;object-fit:cover}.template-orange .orange-name{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.template-orange .orange-title{font-size:1rem;color:#fc4f00;margin:0;font-weight:600}.template-orange .orange-divider{height:2px;background:linear-gradient(90deg,transparent,rgba(252,79,0,.3),transparent);margin:1.5rem 0}.template-orange .orange-info-section{display:flex;flex-direction:column;gap:.875rem;margin-bottom:1.5rem}.template-orange .orange-info-row{display:flex;align-items:center;gap:.75rem;padding:.6rem 1rem;background:linear-gradient(90deg,rgba(252,79,0,.06),transparent);border-radius:8px;border-left:4px solid #fc4f00;font-size:.95rem;color:#1e293b}.template-orange .orange-info-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#64748b}.template-orange .orange-info-text{flex:1;line-height:1.5}.template-orange .orange-extension{color:#64748b;font-size:.9em}.template-orange .orange-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.5rem}.template-orange .orange-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:44px;padding:.75rem 1.35rem;background:linear-gradient(135deg,#fc4f00,#d94300);border:none;border-radius:8px;color:#fff;font-weight:600;font-size:.9rem;letter-spacing:.02em;cursor:pointer;transition:all .2s ease-out;box-shadow:0 2px 8px #fc4f004d}.template-orange .orange-action-btn svg{flex-shrink:0;width:20px;height:20px}.template-orange .orange-action-btn:hover{background:linear-gradient(135deg,#ff6b1a,#fc4f00);transform:translateY(-2px);box-shadow:0 6px 20px #fc4f0066}.template-orange .orange-action-btn:active{transform:scale(.98)}.template-orange .orange-qr-section{text-align:center;padding:1rem;background:linear-gradient(135deg,#fc4f000d,#ff8c420d);border-radius:8px;border:2px dashed rgba(252,79,0,.3)}.template-orange .orange-qr-container{display:inline-block;padding:.75rem;background:#fff;border-radius:8px;border:2px solid rgba(252,79,0,.2);transition:transform .2s ease-out}.template-orange .orange-qr-container:hover{transform:scale(1.03)}.template-orange .orange-qr-image{width:100px;height:100px;display:block}.template-orange .orange-qr-text{margin-top:.75rem;font-size:.8rem;color:#64748b;font-style:italic}.template-orange .orange-share{text-align:center}.template-orange .orange-share-buttons{display:flex;gap:.75rem;justify-content:center;margin-bottom:1rem}.template-orange .orange-share-btn{width:44px;height:44px;border-radius:8px;background:#f8fafc;border:2px solid #e2e8f0;color:#fc4f00;font-size:1.1rem;cursor:pointer;transition:all .2s ease-out;display:flex;align-items:center;justify-content:center}.template-orange .orange-share-btn:hover{background:#fff;border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 14px #0000001f}.template-orange .orange-share-btn.whatsapp,.template-orange .orange-share-btn.whatsapp:hover{color:#25d366}.template-orange .orange-share-btn.linkedin,.template-orange .orange-share-btn.linkedin:hover{color:#0a66c2}.template-orange .orange-share-btn.instagram,.template-orange .orange-share-btn.instagram:hover{color:#e4405f}.template-orange .orange-view-count{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;background:#f1f5f9;border-radius:20px;color:#1e293b;font-size:.85rem;font-weight:500}.template-orange .orange-view-count svg{flex-shrink:0;color:#64748b}.template-orange .contact-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.template-orange .orange-modal{background:#fff;border-radius:12px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px #0003;border-top:4px solid #fc4f00;animation:slideUp .3s ease-out}@media (max-width: 768px){.template-orange .orange-content{padding:1.5rem}.template-orange .orange-actions{flex-direction:column}.template-orange .orange-action-btn{width:100%}}@media (max-width: 430px){.template-orange{padding:.75rem .75rem 1rem}.template-orange .orange-content{padding:1.25rem}.template-orange .orange-logo{margin-bottom:.5rem}.template-orange .orange-header{margin-bottom:1rem;padding-bottom:1rem}.template-orange .orange-info-section{gap:.6rem}.template-orange .orange-divider{margin:1rem 0}.template-orange .orange-actions{gap:.6rem}.template-orange .orange-action-btn{padding:.7rem 1rem}.template-orange .orange-share-buttons{margin-bottom:.6rem}}.template-saya{min-height:100vh;background:linear-gradient(135deg,#b82442,#a61f38,#8a1a2e);padding:2rem 1rem;animation:fadeIn .3s ease-out}.template-saya .saya-card{max-width:500px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;overflow:hidden;animation:slideInUp .35s ease-out;position:relative}.template-saya .saya-header-band{height:8px;background:linear-gradient(90deg,#b82442,#a61f38,#8a1a2e);width:100%}.template-saya .saya-content{padding:2rem}.template-saya .saya-logo{text-align:center;margin-bottom:1rem}.template-saya .saya-logo-img{height:56px;width:auto;opacity:.95;display:inline-block}.template-saya .saya-logo-text{font-size:1.75rem;font-weight:700;color:#a61f38;letter-spacing:.02em}.template-saya .saya-header{text-align:center;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:2px solid rgba(166,31,56,.2)}.template-saya .saya-profile-image{width:100px;height:100px;margin:0 auto 1rem;border-radius:50%;overflow:hidden;border:4px solid #A61F38;box-shadow:0 4px 12px #a61f384d;transition:transform .2s ease-out}.template-saya .saya-profile-image:hover{transform:scale(1.05)}.template-saya .saya-profile-image img{width:100%;height:100%;object-fit:cover}.template-saya .saya-name{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0 0 .5rem}.template-saya .saya-title{font-size:1rem;color:#a61f38;margin:0;font-weight:600}.template-saya .saya-divider{height:2px;background:linear-gradient(90deg,transparent,rgba(166,31,56,.3),transparent);margin:1.5rem 0}.template-saya .saya-info-section{display:flex;flex-direction:column;gap:.875rem;margin-bottom:1.5rem}.template-saya .saya-info-row{display:flex;align-items:center;gap:.75rem;padding:.6rem 1rem;background:linear-gradient(90deg,rgba(166,31,56,.06),transparent);border-radius:8px;border-left:4px solid #A61F38;font-size:.95rem;color:#1e293b}.template-saya .saya-info-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#64748b}.template-saya .saya-info-text{flex:1;line-height:1.5}.template-saya .saya-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.5rem}.template-saya .saya-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:44px;padding:.75rem 1.35rem;background:linear-gradient(135deg,#a61f38,#8a1a2e);border:none;border-radius:8px;color:#fff;font-weight:600;font-size:.9rem;letter-spacing:.02em;cursor:pointer;transition:all .2s ease-out;box-shadow:0 2px 8px #a61f384d}.template-saya .saya-action-btn svg{flex-shrink:0;width:20px;height:20px}.template-saya .saya-action-btn:hover{background:linear-gradient(135deg,#b82442,#a61f38);transform:translateY(-2px);box-shadow:0 6px 20px #a61f3866}.template-saya .saya-action-btn:active{transform:scale(.98)}.template-saya .saya-qr-section{text-align:center;padding:1rem;background:linear-gradient(135deg,#a61f380d,#b8243e0d);border-radius:8px;border:2px dashed rgba(166,31,56,.3)}.template-saya .saya-qr-container{display:inline-block;padding:.75rem;background:#fff;border-radius:8px;border:2px solid rgba(166,31,56,.2);transition:transform .2s ease-out}.template-saya .saya-qr-container:hover{transform:scale(1.03)}.template-saya .saya-qr-image{width:100px;height:100px;display:block}.template-saya .saya-qr-text{margin-top:.75rem;font-size:.8rem;color:#64748b;font-style:italic}.template-saya .saya-share{max-width:500px;margin:2rem auto 0;text-align:center}.template-saya .saya-share-buttons{display:flex;gap:.75rem;justify-content:center;margin-bottom:1rem}.template-saya .saya-share-btn{width:44px;height:44px;border-radius:8px;background:#fff;border:2px solid rgba(255,255,255,.8);color:#a61f38;font-size:1.1rem;cursor:pointer;transition:all .2s ease-out;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 12px #00000026}.template-saya .saya-share-btn:hover{background:#fff;border-color:#fff;transform:translateY(-2px);box-shadow:0 4px 20px #0003}.template-saya .saya-share-btn.whatsapp,.template-saya .saya-share-btn.whatsapp:hover{color:#25d366}.template-saya .saya-share-btn.linkedin,.template-saya .saya-share-btn.linkedin:hover{color:#0a66c2}.template-saya .saya-share-btn.instagram,.template-saya .saya-share-btn.instagram:hover{color:#e4405f}.template-saya .saya-view-count{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;background:#ffffffe6;border-radius:20px;color:#1e293b;font-size:.85rem;font-weight:500;box-shadow:0 2px 8px #0000001a}.template-saya .saya-view-count svg{flex-shrink:0;color:#64748b}.template-saya .contact-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.template-saya .saya-modal{background:#fff;border-radius:12px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px #0003;border-top:4px solid #A61F38;animation:slideUp .3s ease-out}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.template-saya .saya-content{padding:1.5rem}.template-saya .saya-actions{flex-direction:column}.template-saya .saya-action-btn{width:100%}}.templates-page{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out}.templates-section,.logo-section,.theme-colors-section{background:var(--bg-secondary);border-radius:12px;padding:2rem;margin-bottom:2rem;border:2px solid var(--border-color)}.templates-section h2,.logo-section h2,.theme-colors-section h2{color:var(--text-primary);font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.template-card{background:var(--bg-tertiary);border-radius:12px;padding:1rem;border:2px solid var(--border-color);transition:all .2s ease-out;cursor:pointer;position:relative;overflow:hidden}.template-card:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#fc4f000d,#fc4f0005);opacity:0;transition:opacity .2s ease-out}.template-card:hover{border-color:#fc4f00;transform:translateY(-2px);box-shadow:0 6px 20px #fc4f0026}.template-card:hover:before{opacity:1}.template-card.active{border-color:#fc4f00;background:var(--bg-secondary);box-shadow:0 0 0 2px #fc4f0033}.template-card.active:before{opacity:1}.template-card.selected{box-shadow:0 0 0 3px #fc4f0040;transform:translateY(-1px)}.template-preview{width:100%;height:300px;background:var(--bg-secondary);border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;overflow:hidden;position:relative;cursor:pointer;border:2px solid var(--border-color);transition:all .2s ease-out}.template-preview:hover{border-color:#fc4f00;box-shadow:0 4px 12px #fc4f0026}.template-preview-content{width:100%;height:100%;overflow:hidden;position:relative;pointer-events:none;display:flex;align-items:center;justify-content:center}.template-preview-content>*{transform:scale(.35);transform-origin:top center;width:285.7%;height:285.7%;position:absolute;top:0;left:50%;margin-left:-142.85%}.preview-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease-out;border-radius:8px}.template-preview:hover .preview-overlay{opacity:1}.preview-icon{display:flex;align-items:center;justify-content:center;margin-bottom:.5rem;color:#fff}.preview-text{color:#fff;font-weight:600;font-size:1rem}.template-preview img{width:100%;height:100%;object-fit:cover}.template-placeholder{text-align:center;color:#64748b}.template-placeholder span{font-size:3rem;display:block;margin-bottom:.5rem}.template-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.template-actions{display:flex;gap:.5rem;width:100%}.btn-preview{display:inline-flex;flex:1;padding:.75rem;background:var(--bg-tertiary);color:var(--text-primary);border:2px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease-out;display:flex;align-items:center;justify-content:center;gap:.5rem}.btn-preview:hover{background:#fc4f00;color:#fff;border-color:#fc4f00;transform:translateY(-1px)}.template-info h3{color:var(--text-primary);font-size:1rem;font-weight:600;margin:0}.active-badge{background:#10b981;color:#fff;padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.btn-activate{flex:1;padding:.75rem;background:#fc4f00;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease-out;display:flex;align-items:center;justify-content:center;gap:.5rem;position:relative}.btn-activate:hover:not(:disabled){background:#d94300;transform:translateY(-1px);box-shadow:0 4px 12px #fc4f004d}.btn-activate:active:not(:disabled){transform:scale(.98)}.btn-activate:disabled{opacity:.7;cursor:not-allowed}.btn-activate.activating{background:#d94300}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.logo-upload-area{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.logo-preview-container{display:flex;flex-direction:column;align-items:center;gap:1rem}.logo-preview{max-width:300px;max-height:150px;border-radius:8px;border:2px solid var(--border-color);padding:1rem;background:var(--bg-secondary)}.logo-upload-placeholder{width:100%;height:200px;background:var(--bg-tertiary);border:2px dashed var(--border-color);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-secondary)}.logo-upload-placeholder .logo-upload-icon{color:var(--text-secondary);margin-bottom:.5rem}.logo-upload-controls{display:flex;gap:1rem}.btn-upload,.btn-save-logo,.btn-delete-logo{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .25s ease}.btn-upload{background:#fc4f00;color:#fff}.btn-upload:hover{background:#d94300}.btn-save-logo{background:#10b981;color:#fff}.btn-save-logo:hover{background:#059669}.btn-delete-logo{background:#ef4444;color:#fff}.btn-delete-logo:hover{background:#dc2626}.color-palette{display:flex;gap:2rem;flex-wrap:wrap;margin-bottom:1rem}.color-item{display:flex;flex-direction:column;align-items:center;gap:.5rem}.color-swatch{width:80px;height:80px;border-radius:12px;border:2px solid var(--border-color);box-shadow:0 4px 8px #0000001a}.color-item span{color:var(--text-secondary);font-size:.9rem;font-weight:600}.color-note{color:var(--text-secondary);font-size:.9rem;margin-top:1rem}.color-note a{color:#fc4f00;text-decoration:none}.color-note a:hover{text-decoration:underline}.toast-container{position:fixed;top:20px;right:20px;z-index:1000;display:flex;flex-direction:column;gap:.75rem;pointer-events:none}.toast{background:var(--bg-secondary);padding:1rem 1.5rem;border-radius:8px;box-shadow:0 8px 24px #00000026;font-weight:600;font-size:.95rem;cursor:pointer;pointer-events:auto;animation:toastSlideIn .3s ease-out;border-left:4px solid;min-width:280px;display:flex;align-items:center;gap:.75rem;transition:all .2s ease-out;color:var(--text-primary)}.toast:hover{transform:translate(-4px);box-shadow:0 12px 32px #0003}.toast-success{border-left-color:#10b981;color:#065f46}.toast-error{border-left-color:#ef4444;color:#991b1b}@keyframes toastSlideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.preview-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:2000;padding:2rem;animation:fadeIn .2s ease-out}.preview-modal-content{background:var(--bg-secondary);border-radius:16px;width:100%;max-width:1200px;max-height:95vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease-out}.preview-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid var(--border-color)}.preview-modal-header h3{color:var(--text-primary);font-size:1.5rem;font-weight:700;margin:0}.preview-modal-close{background:none;border:none;font-size:1.5rem;color:var(--text-secondary);cursor:pointer;padding:.5rem;line-height:1;transition:all .2s ease-out;border-radius:4px}.preview-modal-close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.preview-modal-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:2rem;display:flex;align-items:flex-start;justify-content:center;min-height:500px;background:var(--bg-primary)}.preview-template-wrapper{width:100%;max-width:800px;margin:0 auto}.preview-template-wrapper>*{width:100%!important;max-width:100%!important;transform:none!important;position:relative!important;margin:0!important;left:auto!important;top:auto!important;height:auto!important;min-height:auto!important}.preview-modal-body .template-default,.preview-modal-body .template-modern,.preview-modal-body .template-classic{min-height:auto!important;padding:1rem!important;background:transparent!important}.preview-modal-body .template-default .card-container,.preview-modal-body .template-modern .card-container,.preview-modal-body .template-classic .card-container{max-width:100%!important;margin:0!important}.preview-modal-footer{padding:1.5rem 2rem;border-top:2px solid var(--border-color);display:flex;justify-content:flex-end}.btn-activate-from-preview{padding:.75rem 2rem;background:#fc4f00;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease-out}.btn-activate-from-preview:hover:not(:disabled){background:#d94300;transform:translateY(-1px)}.btn-activate-from-preview:disabled{opacity:.6;cursor:not-allowed;background:#10b981}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.templates-grid{grid-template-columns:1fr}.toast-container{left:20px;right:20px}.toast{min-width:auto;width:100%}.preview-modal-overlay{padding:1rem}.preview-modal-content{max-height:95vh}.preview-modal-header,.preview-modal-body,.preview-modal-footer{padding:1rem}.template-actions{flex-direction:column}.btn-preview,.btn-activate{width:100%}}.reports-page{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out}.reports-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.report-config,.report-preview{background:#fff;border-radius:12px;padding:2rem;border:2px solid var(--border-color)}.report-config h2,.report-preview h2{color:#1e293b;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.form-section{margin-bottom:1.5rem}.form-section label{display:block;font-weight:600;color:#1e293b;margin-bottom:.75rem;font-size:.95rem}.radio-group{display:flex;flex-direction:column;gap:.75rem}.radio-group label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:500}.radio-group input[type=radio]{width:18px;height:18px;cursor:pointer;accent-color:#fc4f00}.date-range{display:flex;align-items:center;gap:1rem}.date-range input[type=date]{flex:1;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:all .25s ease}.date-range input:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a}.date-range span{color:#64748b;font-weight:600}.form-section input[type=text],.form-section select{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:all .25s ease;box-sizing:border-box}.form-section input:focus,.form-section select:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a}.report-actions{display:flex;gap:1rem;margin-top:2rem}.btn-export{flex:1;padding:1rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s ease}.btn-pdf{background:#ef4444;color:#fff}.btn-pdf:hover:not(:disabled){background:#dc2626;transform:translateY(-2px)}.btn-excel{background:#10b981;color:#fff}.btn-excel:hover:not(:disabled){background:#059669;transform:translateY(-2px)}.btn-export:disabled{opacity:.6;cursor:not-allowed}.preview-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:400px;background:#f8f9fa;border-radius:8px;color:#64748b}.preview-placeholder span{font-size:4rem;margin-bottom:1rem}.preview-placeholder p{font-size:1.1rem;text-align:center}@media (max-width: 1024px){.reports-content{grid-template-columns:1fr}}.backup-page{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out}.page-header h1{color:#1e293b;font-size:1.75rem;font-weight:700;margin-bottom:2rem}.backup-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.backup-section,.auto-backup-section,.backup-history-section{background:#fff;border-radius:12px;padding:2rem;border:2px solid var(--border-color)}.backup-section h2,.auto-backup-section h2,.backup-history-section h2{color:#1e293b;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.backup-actions{display:flex;flex-direction:column;gap:1rem}.btn-backup,.btn-restore{padding:1rem;background:#fc4f00;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s ease;text-align:center}.btn-restore{background:#10b981}.btn-backup:hover:not(:disabled),.btn-restore:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.btn-backup:disabled{opacity:.6;cursor:not-allowed}.form-group label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#1e293b;cursor:pointer}.form-group input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#fc4f00}.form-group input[type=time],.form-group select{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:all .25s ease;box-sizing:border-box;margin-top:.5rem}.form-group input:focus,.form-group select:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a}.btn-save{padding:.75rem 2rem;background:#fc4f00;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s ease}.btn-save:hover:not(:disabled){background:#d94300;transform:translateY(-2px)}.btn-save:disabled{opacity:.6;cursor:not-allowed}.backup-history-section{grid-column:1 / -1}.backup-list{display:flex;flex-direction:column;gap:1rem}.backup-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border-radius:8px;border:2px solid var(--border-color)}.backup-info{flex:1}.backup-name{font-weight:600;color:#1e293b;margin-bottom:.25rem}.backup-date{font-size:.85rem;color:#64748b}.backup-size{color:#64748b;font-weight:600}.empty-state{text-align:center;padding:3rem;color:#64748b}@media (max-width: 1024px){.backup-content{grid-template-columns:1fr}}.help-page{background:var(--bg-secondary);border-radius:12px;padding:2rem;animation:fadeIn .4s ease-out}.page-header h1{color:var(--text-primary);font-size:1.75rem;font-weight:700;margin-bottom:2rem}.help-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid var(--border-color);flex-wrap:wrap}.help-tab{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:none;border:none;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .25s ease;margin-bottom:-2px}.help-tab .help-tab-icon{flex-shrink:0}.help-tab:hover{color:#fc4f00;background:var(--bg-tertiary)}.help-tab.active{color:#fc4f00;border-bottom-color:#fc4f00;background:var(--bg-tertiary)}.help-content{background:var(--bg-secondary);border-radius:12px;padding:2rem;border:2px solid var(--border-color)}.guide-section h2,.faq-section h2,.support-section h2{color:var(--text-primary);font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}.guide-steps{display:flex;flex-direction:column;gap:1.5rem}.guide-step{display:flex;gap:1.5rem;align-items:flex-start}.step-number{width:40px;height:40px;background:#fc4f00;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.25rem;flex-shrink:0}.step-content h3{color:var(--text-primary);font-size:1.25rem;font-weight:700;margin-bottom:.5rem}.step-content p{color:var(--text-secondary);line-height:1.6}.faq-list{display:flex;flex-direction:column;gap:1rem}.faq-item{border:2px solid var(--border-color);border-radius:8px;overflow:hidden}.faq-question{width:100%;padding:1rem 1.5rem;background:var(--bg-tertiary);border:none;text-align:left;font-size:1rem;font-weight:600;color:var(--text-primary);cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all .25s ease}.faq-question:hover{background:var(--bg-secondary)}.faq-icon{font-size:1.5rem;color:#fc4f00;font-weight:700}.faq-answer{padding:1rem 1.5rem;color:var(--text-secondary);line-height:1.6;background:var(--bg-secondary);animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:200px}}.support-form{max-width:600px}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-weight:600;color:var(--text-primary);margin-bottom:.5rem;font-size:.95rem}.form-group input,.form-group textarea{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:all .25s ease;box-sizing:border-box;font-family:inherit;background:var(--bg-secondary);color:var(--text-primary)}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#fc4f00;box-shadow:0 0 0 3px #fc4f001a}.btn-submit{padding:.75rem 2rem;background:#fc4f00;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .25s ease}.btn-submit:hover{background:#d94300;transform:translateY(-2px)}.template-wrapper{width:100%;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.create-card-page{min-height:100vh;background:var(--bg-primary, #0f172a);padding:2rem;display:flex;align-items:flex-start;justify-content:center}.create-card-form-container{max-width:600px;width:100%;background:var(--card-bg, #1e293b);border-radius:12px;padding:2rem;box-shadow:0 4px 6px -1px #0003}.create-card-form-container h1{margin-bottom:.5rem;color:var(--text-primary, #f8fafc)}.create-card-desc{color:var(--text-secondary, #94a3b8);margin-bottom:1.5rem;font-size:.95rem}.create-card-form-container .form-section{margin-bottom:1.5rem}.create-card-form-container .form-section h3{color:var(--text-primary);font-size:1rem;margin-bottom:.75rem}.create-card-form-container .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.create-card-form-container .form-group{margin-bottom:1rem}.create-card-form-container .form-group label{display:block;color:var(--text-secondary);font-size:.875rem;margin-bottom:.25rem}.create-card-form-container input,.create-card-form-container select{width:100%;padding:.5rem .75rem;border-radius:6px;border:1px solid var(--border-color, #334155);background:var(--input-bg, #0f172a);color:var(--text-primary)}.photo-upload{display:flex;align-items:center;gap:1rem}.photo-upload .profile-preview{width:80px;height:80px;object-fit:cover;border-radius:8px;border:2px solid var(--border-color)}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.form-actions .btn{padding:.6rem 1.2rem;border-radius:8px;border:none;cursor:pointer;font-size:.95rem;text-decoration:none;display:inline-flex;align-items:center}.form-actions .btn-primary{background:var(--primary-color, #fc4f00);color:#fff}.form-actions .btn-secondary{background:var(--card-bg);color:var(--text-secondary);border:1px solid var(--border-color)}.error-message{background:#7f1d1d;color:#fecaca;padding:.75rem;border-radius:8px;margin-bottom:1rem}.create-card-success{max-width:500px;background:var(--card-bg);border-radius:12px;padding:2rem;text-align:center}.create-card-success h1{color:var(--text-primary);margin-bottom:.5rem}.create-card-success p{color:var(--text-secondary);margin-bottom:1.5rem}.card-link-box{text-align:left;margin-bottom:1.5rem}.card-link-box label{display:block;color:var(--text-secondary);font-size:.875rem;margin-bottom:.25rem}.link-row{display:flex;gap:.5rem}.link-row input{flex:1;padding:.5rem;border-radius:6px;border:1px solid var(--border-color);background:var(--input-bg);color:var(--text-primary);font-size:.875rem}.link-row button{padding:.5rem 1rem;background:var(--primary-color);color:#fff;border:none;border-radius:6px;cursor:pointer}.success-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.success-actions .btn{padding:.6rem 1.2rem;border-radius:8px;text-decoration:none;font-size:.95rem}.success-actions .btn-primary{background:var(--primary-color);color:#fff;border:none}.success-actions .btn-secondary{background:transparent;color:var(--text-secondary);border:1px solid var(--border-color);cursor:pointer}.app{min-height:100vh}*{margin:0;padding:0;box-sizing:border-box}:root{--bg-primary: #f3f4f8;--bg-secondary: #ffffff;--bg-tertiary: #f8f9fc;--input-bg: #f1f3f9;--card-bg: #ffffff;--text-primary: #0f172a;--text-secondary: #64748b;--text-tertiary: #94a3b8;--border-color: #e8eaf0;--border-color-light: #eef0f6;--shadow: rgba(15, 23, 42, .06);--shadow-hover: rgba(15, 23, 42, .1);--accent: #ff5b22;--accent-hover: #e54b12;--navy: #1a2744;--radius-lg: 16px;--radius-md: 12px;--radius-sm: 10px;--sidebar-w: 260px}[data-theme=dark]{--bg-primary: #0f172a;--bg-secondary: #1e293b;--bg-tertiary: #334155;--input-bg: #334155;--card-bg: #1e293b;--text-primary: #f1f5f9;--text-secondary: #cbd5e1;--text-tertiary: #94a3b8;--border-color: #334155;--border-color-light: #475569;--shadow: rgba(0, 0, 0, .3);--shadow-hover: rgba(0, 0, 0, .4);--accent: #ff5b22;--accent-hover: #ff7a45;--navy: #1a2744}body{font-family:Plus Jakarta Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-primary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.fade-in-up{animation:fadeInUp .4s ease-out}.fade-in{animation:fadeIn .3s ease-out}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
