/* #GLOBALNE */
:root { --bg-body: #0a0a0a; --bg-sidebar: #111; --card-bg: #161616; --text-main: #f0f0f0; --text-muted: #888; --neon: #3eb6ea; --neon-glow: 0 0 10px rgba(212, 175, 55, 0.3); --card-border: #333; --success: #00ff88; --danger: #ff3b3b; --radius-lg: 14px; --sidebar-width: 295px; --sidebar-collapsed-width: 80px; }
* { box-sizing: border-box; outline: none; -ms-overflow-style: none; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
body { margin: 0; padding: 0; font-family: 'Montserrat', sans-serif; background-color: var(--bg-body); color: var(--text-main); overflow-x: hidden; }
.mobile-menu-toggle { display: none; }

/* LIGHT MODE
body.light-mode { --bg-body: #f3f4f6; --bg-sidebar: #ffffff; --card-bg: #ffffff; --text-main: #1f2937; --text-muted: #6b7280; --card-border: #e5e7eb; --neon-glow: 0 0 5px rgba(0,0,0,0.1); }
body.light-mode .dashboard-widget, body.light-mode .stat-card-small, body.light-mode .settings-card, body.light-mode .client-form-box { background: #ffffff; border-color: #e5e7eb; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); color: #1f2937; }
body.light-mode .nav-cal-weekdays { background: #f9fafb; color: #6b7280; border-color: #e5e7eb; }
body.light-mode .nav-cal-day { background: #ffffff; border-color: #e5e7eb; color: #374151; }
body.light-mode .nav-cal-day:hover { background: #f3f4f6; }
body.light-mode .nav-cal-day-num { color: #9ca3af; }
body.light-mode .nav-cal-header-bar { background: #ffffff; border-color: #e5e7eb; }
body.light-mode .event-item { background: #ffffff; border: 1px solid #e5e7eb; color: #1f2937; box-shadow: 0 2px 4px rgba(0,0,0,0.03); }
body.light-mode .event-name { color: #111827; }
body.light-mode .event-detail { color: #6b7280; }
body.light-mode .event-item:hover { border-color: var(--neon); background: #f9fafb; }
body.light-mode .chart-widget-box, body.light-mode .equal-height-widget { background: #ffffff !important; border-color: #e5e7eb; }
body.light-mode .bar-fill[style*="background: #333"], body.light-mode .bar-fill[style*="background: rgb(51, 51, 51)"] { background: #e5e7eb !important; }
body.light-mode .widget-title-center { color: #374151; }
body.light-mode input, body.light-mode select, body.light-mode textarea { background: #f9fafb !important; color: #1f2937 !important; border-color: #d1d5db !important; }
body.light-mode input:focus, body.light-mode select:focus, body.light-mode textarea:focus { background: #ffffff !important; border-color: var(--neon) !important; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important; }
body.light-mode .sidebar-logo { border-bottom-color: #e5e7eb; }
body.light-mode .nav-item { color: #4b5563; }
body.light-mode .nav-item:hover { background: #f3f4f6; color: #111; }
body.light-mode .nav-section { color: #9ca3af; }
body.light-mode .stat-label { color: #6b7280; }
body.light-mode .stat-val { color: #111827; } */

/* #UKŁAD */
.admin-layout { display: none; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); background-color: var(--bg-sidebar); border-right: 1px solid var(--card-border); height: 100vh; position: fixed; display: flex; flex-direction: column; z-index: 1000; transition: width 0.3s; top: 0; left: 0; bottom: 0;}
.sidebar.collapsed { width: var(--sidebar-collapsed-width); }
.sidebar-logo { height: 80px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--card-border); cursor: pointer; }
.logo-img { max-height: 50px;}
.sidebar.collapsed .logo-img { max-height: 30px; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 20px 0; }
.nav-section { font-size: 10px; text-transform: uppercase; color: var(--text-muted); padding: 20px 25px 8px; font-weight: 900; letter-spacing: 2px; }
.sidebar.collapsed .nav-section { display: none; }
.nav-item { display: flex; align-items: center; padding: 12px 25px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 700; transition: 0.3s; border-left: 3px solid transparent; }
.nav-item i { width: 25px; font-size: 18px; color: var(--neon); text-shadow: var(--neon-glow); margin-right: 15px; }
.nav-item:hover, .nav-item.active { background: rgba(212, 175, 55, 0.05); color: var(--neon); }
.nav-item.active { border-left-color: var(--neon); background: rgba(212, 175, 55, 0.1); }
.sidebar.collapsed .nav-text { display: none; }
.sidebar.collapsed .nav-item i { margin-right: 0; }
.sidebar-user-container { border-top: 1px solid var(--card-border); padding: 20px; background: #0d0d0d; }
.user-row { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.user-avatar-img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid var(--neon); }
.user-meta { display: flex; flex-direction: column; }
.user-role { font-size: 10px; color: var(--neon); font-weight: 700; }
.user-id { font-size: 13px; font-weight: 700; }
.user-actions { display: flex; gap: 10px; }
.action-icon-btn { flex: 1; background: #222; border: 1px solid #333; color: #fff; padding: 8px; border-radius: 6px; cursor: pointer; transition: 0.3s; }
.action-icon-btn:hover { background: var(--neon); color: black; }
div.user-avatar-img.default-placeholder { display: flex; align-items: center; justify-content: center; background-color: #222; color: #555; font-size: 24px; width: 45px; height: 45px; border-radius: 50%; border: 2px solid var(--neon); box-sizing: border-box; }
.admin-main { margin-left: var(--sidebar-width); width: calc(100% - var(--sidebar-width)); padding: 30px; transition: margin-left 0.3s; min-height: 100vh; position: relative;}
.admin-main.expanded { margin-left: var(--sidebar-collapsed-width); width: calc(100% - var(--sidebar-collapsed-width)); }

/* #NAGŁÓWEK */
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.header-search { position: relative; }
.header-search input { background: var(--bg-sidebar); border: 1px solid var(--card-border); padding: 10px 15px 10px 40px; border-radius: 20px; color: #fff; width: 300px; }
.header-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.live-clock { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: var(--neon); text-shadow: var(--neon-glow); background: rgba(212, 175, 55, 0.1); padding: 10px 20px; border-radius: 8px; border: 1px solid var(--neon); letter-spacing: 1px; }
.year-select { background: rgba(212, 175, 55, 0.1); border: 1px solid var(--neon); color: var(--neon); padding: 0 15px; border-radius: 8px; font-weight: 800; font-family: 'Montserrat'; cursor: pointer; height: 43px; margin-right: 15px; outline: none; text-align: center; }
.year-select option { background: #000; color: #fff; padding: 10px; }
.year-select:hover { background: rgba(212, 175, 55, 0.2); box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); }

/* #INPUTY */
select { background: #111; color: #fff; border: 1px solid var(--neon); padding: 10px; border-radius: 5px; font-weight: 700; font-family: 'Montserrat'; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23D4AF37%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2082.2c3.6-3.6%205.4-7.8%205.4-12.8%200-5-1.8-9.3-5.4-12.9z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 10px top 50%; background-size: 10px auto; }
select:focus { box-shadow: 0 0 10px rgba(212,175,55,0.4); outline: none; }
option { background: #111; color: #fff; }
input[type="text"], input[type="number"], input[type="date"], textarea { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; backdrop-filter: blur(5px); padding: 12px 15px; border-radius: 8px; font-family: 'Montserrat'; width: 100%; transition: 0.3s; }
input:focus { border-color: var(--neon); box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); background: rgba(255, 255, 255, 0.08); }
input[type="text"], input[type="number"], input[type="date"], input[type="time"], input[type="email"], input[type="password"], textarea { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; backdrop-filter: blur(5px); padding: 12px 15px; border-radius: 8px; font-family: 'Montserrat'; width: 100%; transition: 0.3s; color-scheme: dark; }
input::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
body .input-error { border: 1px solid #ff4444; box-shadow: 0 0 10px rgba(255, 68, 68, 0.4); animation: shake 0.3s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } }

/* #DASHBOARD */
.stats-grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; margin-bottom: 30px; }
.stat-card-small { background: var(--card-bg); border: 1px solid var(--card-border); padding: 15px; border-radius: var(--radius-lg); text-align: center; transition: 0.3s; }
.stat-card-small:hover { transform: translateY(-5px); border-color: var(--neon); }
.stat-label { font-size: 14px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 5px; font-weight: 700; }
.stat-val { font-size: 24px; font-weight: 900; }
.text-neon { color: var(--neon); text-shadow: var(--neon-glow); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: #ffcc00; text-shadow: 0 0 10px rgba(255, 204, 0, 0.2); }
.dashboard-widgets-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.dashboard-widget { background: var(--card-bg); border: 1px solid var(--card-border); padding: 20px; border-radius: var(--radius-lg); }
.widget-title { font-size: 18px; font-weight: 800; color: var(--neon); text-transform: uppercase; margin-bottom: 20px; border-bottom: 1px solid #222; padding-bottom: 15px; }
.dashboard-middle-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: stretch; margin-top: 30px; margin-bottom: 30px; }
.equal-height-widget { height: 100%; display: flex; flex-direction: column; justify-content: flex-start; background: #111; border: 1px solid #333; border-radius: 12px; padding: 20px; position: relative; box-sizing: border-box; min-width: 0; }
.widget-title-center { text-align: center; font-size: 18px; font-weight: 900; color: #888; margin-bottom: 0; letter-spacing: 1px; text-transform: uppercase; line-height: 24px; position: relative; z-index: 5; }
.highlight-title { color: var(--neon); text-shadow: 0 0 10px rgba(212,175,55,0.2); }

/* #SOCJALE */
.social-grid-compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 100%; align-content: center; margin-top: 15px; }
.soc-icon { aspect-ratio: 1/1; background: #1a1a1a; border: 1px solid #333; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #555; transition: 0.3s; text-decoration: none; }
.soc-icon:hover { transform: translateY(-3px); color: #fff; border-color: var(--neon); box-shadow: 0 0 15px rgba(212,175,55,0.2); }
.soc-icon.fb:hover { color: #1877F2; border-color: #1877F2; } 
.soc-icon.ig:hover { color: #E1306C; border-color: #E1306C; } 
.soc-icon.tt:hover { color: #00f2ea; border-color: #00f2ea; } 
.soc-icon.yt:hover { color: #FF0000; border-color: #FF0000; } 
.soc-icon.sp:hover { color: #1DB954; border-color: #1DB954; }
.soc-icon.mail:hover { border-color: #fff; color: #fff; }

/* #CEL */
.goal-widget-container { justify-content: space-between; position: relative; overflow: hidden; padding: 25px; background: linear-gradient(145deg, #111, #141414); }
.goal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; width: 100%; }
.goal-label { font-size: 11px; font-weight: 800; color: #666; letter-spacing: 2px; text-transform: uppercase; }
.goal-icon { color: var(--neon); font-size: 14px; opacity: 0.8; }
.goal-center-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; }
.goal-numbers.big-font { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 15px; text-align: center; }
.goal-current { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.goal-separator { color: #444; font-size: 20px; margin: 0 5px; font-weight: 300; }
.goal-target { color: #666; font-size: 18px; }
.goal-bar-bg.big-bar { width: 100%; height: 12px; background: #222; border-radius: 20px; border: 1px solid #333; position: relative; overflow: hidden; margin-bottom: 15px; }
.goal-bar-fill { height: 100%; background: linear-gradient(90deg, var(--neon), #fff); border-radius: 20px; width: 0%; transition: width 1s ease-out; position: relative; box-shadow: 0 0 20px var(--neon); }
.goal-glow { position: absolute; top: 0; right: 0; bottom: 0; width: 5px; background: #fff; opacity: 0.8; filter: blur(4px); }
.goal-percentage.big-badge { font-size: 13px; font-weight: 800; color: #000; background: var(--neon); padding: 4px 12px; border-radius: 20px; box-shadow: 0 0 15px rgba(212,175,55,0.4); }

/* #WYKRESY */
.chart-widget-box { padding: 15px 15px 0 15px; }
.chart-bars-container { display: flex; justify-content: space-between; height: 100%; width: 100%; gap: 4px; align-items: stretch; position: relative; padding-top: 40px; padding-bottom: 10px; }
.chart-col { display: flex; flex-direction: column; align-items: center; flex: 1; cursor: pointer; height: 100%; justify-content: flex-end; position: relative; min-width: 15px; }
.bar-fill { width: 65%; background: #333; border-radius: 3px; transition: height 0.5s ease; position: relative; min-height: 4px; }
.chart-col:hover .bar-fill { background: var(--neon); box-shadow: 0 0 15px var(--neon); }
.bar-label { font-size: 9px; color: #555; margin-top: 8px; font-weight: 700; font-family: monospace; }
.bar-tooltip { visibility: hidden; background-color: #000; color: #fff; text-align: center; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--neon); position: absolute; z-index: 1000; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 8px; font-size: 11px; font-weight: 800; white-space: nowrap; opacity: 0; transition: opacity 0.2s; box-shadow: 0 5px 20px rgba(0,0,0,0.9); pointer-events: none; }
.bar-tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: var(--neon) transparent transparent transparent; }
.chart-col:hover .bar-tooltip { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(-5px); }

/* #KALENDARZ */
.main-dashboard-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 20px; }
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-btn { background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; }
.mini-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mini-day { aspect-ratio: 1; background: #111; border: 1px solid #333; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border-radius: 6px; color: #666; }
.mini-day.header { background: none; border: none; color: var(--text-muted); font-size: 10px; }
.mini-day.booked { background: rgba(255, 59, 59, 0.15); border: 1px solid var(--danger); color: var(--danger); }
.mini-day.free { background: rgba(0, 255, 136, 0.05); border: 1px solid var(--success); color: var(--success); }

/* #ZLECENIA */
.event-item { background: linear-gradient(145deg, #1a1a1a, #111); border: 1px solid #222; padding: 15px; border-radius: 12px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.event-item:hover { border-color: var(--neon); transform: translateX(5px); }
.event-main-info { display: flex; flex-direction: column; gap: 4px; }
.event-name { font-size: 18px; font-weight: 800; color: #fff; text-transform: uppercase; }
.event-detail { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.event-detail i { color: var(--neon); width: 14px; }
.days-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--neon); color: var(--neon); border-radius: 10px; min-width: 50px; height: 50px; padding: 0 8px; font-weight: 900; line-height: 1; font-size: 16px; background: rgba(0,0,0,0.3); }
.days-badge span { font-size: 12px; margin-top: 3px; font-weight: 400; opacity: 0.8; }
.widget-add-btn { background: none; border: 1px solid var(--neon); color: var(--neon); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; transition: 0.3s; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.widget-add-btn:hover { background: var(--neon); color: black; box-shadow: 0 0 10px var(--neon); }
.event-actions { display: flex; gap: 10px; margin-left: 10px; }
.event-action-icon { color: #555; cursor: pointer; transition: 0.3s; font-size: 14px; padding: 5px; }
.event-action-icon:hover { color: var(--neon); transform: scale(1.2); }
.event-action-icon.trash:hover { color: var(--danger); }

/* #TODO */
.setting-group-header#todoModalTitle { padding: 45px 55px; font-size: 15px; font-weight: 900; letter-spacing: 3px; color: #00e5ff; text-transform: uppercase; background: #0a0a0c; border-bottom: 1px solid #1a1a1a; display: block; margin: 0; text-align: left; }
#todoList { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; padding: 0; margin: 0; }
.todo-item-v2 { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: rgba(25, 25, 30, 0.5); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.2s; cursor: grab; width: 100%; box-sizing: border-box; margin-left: 0; }
.todo-item-v2:hover { background: rgba(35, 35, 45, 0.8); border-color: var(--neon); transform: translateY(-1px); }
.todo-content-left { display: flex; align-items: center; gap: 15px; flex: 1; text-align: left; }
.big-checkbox { font-size: 22px; cursor: pointer; color: #444; transition: 0.2s; flex-shrink: 0; }
.todo-title-text { font-weight: 700; font-size: 15px; color: #fff; letter-spacing: 0.3px; }
.priority-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 10px currentColor; }
.pd-high { background: #ff4444; color: #ff4444; }
.pd-medium { background: #ffbb33; color: #ffbb33; }
.pd-low { background: #00C851; color: #00C851; }
.todo-info-badge { font-size: 10px; color: #666; font-weight: 900; background: rgba(0, 0, 0, 0.4); padding: 4px 10px; border-radius: 4px; display: flex; align-items: center; gap: 5px; text-transform: uppercase; }
.todo-actions-right { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.action-icon { font-size: 20px; cursor: pointer; color: #444; transition: 0.2s; opacity: 0.6; }

/* #MODALE */
.todo-modal-v2-box { width: 750px; max-width: 90vw; background: #0f0f12; border: 1px solid #333; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,0.9); overflow: hidden; padding: 0; }
.todo-modal-header { padding: 40px 50px; border-bottom: 1px solid #1a1a1a; display: flex; justify-content: space-between; align-items: center; background: #0a0a0c; }
.todo-modal-title { font-size: 15px; font-weight: 900; letter-spacing: 3px; color: #00e5ff; text-transform: uppercase; }
.todo-modal-content { padding: 40px 50px; display: flex; flex-direction: column; gap: 30px; }
.modal-section-label { font-size: 11px; font-weight: 900; color: #666; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block; text-align: left; }
.guide-input { background: #16161a; border: 1px solid #222; padding: 15px 20px; border-radius: 10px; color: #ffffff; width: 100%; outline: none; transition: 0.2s; font-size: 15px; font-weight: 700; }
.guide-input:focus { border-color: #00e5ff; background: #1c1c22; box-shadow: 0 0 15px rgba(0, 229, 255, 0.1); }
.subtask-item { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.03); padding: 15px 20px; border-radius: 10px; border: 1px solid #222; margin-bottom: 10px; }
.subtask-item input[type="checkbox"] { width: 22px; height: 22px; accent-color: #00e5ff; cursor: pointer; }
.todo-footer { padding: 40px 50px; background: #0a0a0c; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #1a1a1a; }

/* #PRZYCISKI */
.btn-modal-delete { background: #ff4444; color: #ffffff; border: none; padding: 15px 30px; border-radius: 12px; font-weight: 900; cursor: pointer; transition: 0.3s; font-size: 12px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 20px rgba(255, 68, 68, 0.2); }
.btn-modal-delete:hover { background: #ff0000; transform: scale(1.05); box-shadow: 0 15px 30px rgba(255, 68, 68, 0.4); }
.btn-modal-main { background: #00e5ff; color: #000; border: none; padding: 15px 45px; border-radius: 12px; font-weight: 900; cursor: pointer; transition: 0.3s; font-size: 13px; text-transform: uppercase; box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2); }
.btn-modal-main:hover { background: #fff; transform: scale(1.05); box-shadow: 0 15px 30px rgba(0, 229, 255, 0.4); }
.btn-modal-secondary { background: transparent; border: 1px solid #333; color: #888; padding: 15px 30px; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.2s; font-size: 13px; text-transform: uppercase; }
.todo-input-group { display: flex; gap: 10px; margin-bottom: 25px; background: rgba(255, 255, 255, 0.03); padding: 10px; border-radius: 15px; border: 1px solid #222; }
.btn-gold { background: #3eb6ea; color: #000; border: none; padding: 12px 20px; font-size: 18px; font-weight: 900; border-radius: 10px; cursor: pointer; transition: 0.3s; }
.btn-save-big { width: 100%; background: #00C851; color: #ffffff; border: none; padding: 16px; border-radius: 50px; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(0, 200, 81, 0.3); margin-top: 15px; }
.btn-save-big:hover { background: #00e676; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 200, 81, 0.5); }





/* =========================================
   USTAWIENIA - VER 2.0
   ========================================= */
   
.settings-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.settings-overlay.active { display: flex; }
.settings-modal-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1100px; height: 85vh; max-height: 850px; z-index: 2001; }
.settings-modal { background: #0f0f0f; border: 1px solid #333; border-radius: 24px; width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.6); position: relative; }
.settings-header { padding: 25px 40px; border-bottom: 1px solid #222; background: rgba(15, 15, 15, 0.98); z-index: 10; }
.settings-header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.settings-header-actions { display: flex; align-items: center; gap: 20px; }
#settingsHeaderTitle { font-size: 32px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin: 0; line-height: 1; }
.settings-title-area { display: flex; flex-direction: column; gap: 5px; }
.settings-main-layout { display: grid; grid-template-columns: 260px 1fr; height: 100%; overflow: hidden; }
.settings-sidebar { background: #0a0a0a; border-right: 1px solid #222; padding: 20px 0; display: flex; flex-direction: column; gap: 5px; overflow-y: auto; }
.nav-section { padding: 15px 30px 10px; font-size: 11px; font-weight: 800; color: #555; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }
.settings-tab-btn { padding: 14px 30px; font-size: 13px; font-weight: 800; color: #888; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: 0.2s; text-transform: uppercase; border-left: 3px solid transparent; width: 100%; text-align: left; }
.settings-tab-btn i { font-size: 16px; width: 20px; text-align: center; transition: 0.2s; }
.settings-tab-btn:hover { color: #fff; background: #111; }
.settings-tab-btn.active { color: #fff; background: linear-gradient(90deg, rgba(212,175,55,0.08), transparent); border-left-color: var(--neon); }
.settings-tab-btn.active i { color: var(--neon); text-shadow: var(--neon-glow); }
.settings-content { flex: 1; padding: 40px; padding-bottom: 120px; overflow-y: auto; background: #0f0f0f; scroll-behavior: smooth; position: relative; }
.tab-pane { display: none; animation: fadeIn 0.3s ease-out; }
.tab-pane.active { display: block; }
.settings-card { background: #161616; border: 1px solid #222; border-radius: 16px; padding: 30px; margin-bottom: 30px; }
.setting-group-header { color: var(--neon); font-size: 16px; font-weight: 900; letter-spacing: 2px; margin-bottom: 20px; display: block; border-bottom: 1px solid #333; padding-bottom: 10px; text-transform: uppercase; }
.setting-row { margin-bottom: 20px; }
.setting-row label { display: block; color: #888; font-size: 11px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.settings-footer { position: absolute; bottom: 0; left: 0; width: 100%; height: 90px; display: flex; justify-content: center; align-items: center; gap: 20px; background: rgba(10, 10, 10, 0.95); border-top: 1px solid #222; z-index: 50; backdrop-filter: blur(10px); }
.btn-save-primary { background: var(--neon); color: #000; padding: 14px 40px; border-radius: 10px; font-weight: 900; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2); }
.btn-save-secondary { background: #1a1a1a; color: #fff; padding: 14px 40px; border-radius: 10px; font-weight: 800; border: 1px solid #444; cursor: pointer; text-transform: uppercase; transition: 0.3s; }
.btn-save-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-save-primary:disabled { opacity: 0.3; cursor: not-allowed; filter: grayscale(1); transform: none; box-shadow: none; }
.btn-save-secondary:disabled { opacity: 0.3; cursor: not-allowed; filter: grayscale(1); transform: none; box-shadow: none; }

/* #USTAWIENIA_TRESC */
.sub-banner { background: linear-gradient(145deg, #0a0a0a, #111); border: 1px solid var(--neon); padding: 40px; border-radius: 16px; text-align: center; color: white; margin-bottom: 35px; position: relative; overflow: hidden; box-shadow: 0 0 40px rgba(212, 175, 55, 0.05); }
.sub-banner h2 { font-size: 32px; font-weight: 900; margin: 0 0 10px 0; color: var(--neon); text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
.sub-banner p { font-size: 13px; color: #888; margin: 0 0 25px 0; font-weight: 600; letter-spacing: 0.5px; }
.btn-premium { background: var(--neon); color: #000; padding: 14px 40px; border-radius: 30px; border: none; font-weight: 900; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(212, 175, 55, 0.4); background: #fff; }
.pay-empty-state { border: 2px dashed #333; border-radius: 12px; padding: 50px 20px; text-align: center; color: #555; margin-bottom: 30px; background: rgba(255,255,255,0.01); transition: 0.3s; }
.pay-empty-state:hover { border-color: #555; background: rgba(255,255,255,0.02); }
.pay-empty-state i { font-size: 40px; margin-bottom: 20px; display: block; opacity: 0.5; color: var(--neon); }
.pay-empty-text { font-size: 14px; font-weight: 700; margin-bottom: 20px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.btn-add-card { background: #222; border: 1px solid #444; color: #ccc; padding: 12px 30px; border-radius: 6px; font-weight: 800; cursor: pointer; transition: 0.3s; font-size: 11px; text-transform: uppercase; }
.btn-add-card:hover { border-color: var(--neon); color: #fff; background: #000; }
.pay-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.pay-table th { text-align: left; font-size: 11px; color: #888; text-transform: uppercase; padding-bottom: 15px; border-bottom: 1px solid #333; letter-spacing: 1px; }
.pay-table td { padding: 20px 0; color: #ddd; font-size: 13px; border-bottom: 1px solid #222; font-weight: 600; }
.danger-zone-box { margin-top: 50px; border-top: 1px solid #222; padding-top: 40px; }
.danger-actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 90%; margin: 0 auto; }
.btn-danger-tile { aspect-ratio: 2.8/1; background: #0f0f0f; border: 2px solid #222; border-radius: 16px; color: #666; font-weight: 900; font-size: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.btn-danger-tile i { font-size: 24px; margin-bottom: 2px; }
.btn-danger-tile:hover { border-color: #ff3b3b; color: #ff3b3b; background: rgba(255, 59, 59, 0.05); transform: translateY(-3px); }
.btn-danger-tile.deactivate:hover { border-color: #f39c12; color: #f39c12; background: rgba(243, 156, 18, 0.05); }

/* #USTAWIENIA_INPUTY */
.input-prefix-group { display: flex; align-items: stretch; width: 100%; background: #000; border: 1px solid #333; border-radius: 10px; overflow: hidden; transition: 0.3s; height: 48px; }
.input-prefix-group:focus-within { border-color: var(--neon); box-shadow: 0 0 10px rgba(212,175,55,0.1); }
.input-prefix-group .prefix { display: flex; align-items: center; justify-content: center; background: #1a1a1a; color: #555; padding: 0 15px; font-size: 18px; border-right: 1px solid #333; font-weight: 800; min-width: 50px; flex-shrink: 0; }
body .input-prefix-group .prefix.url-text { width: 230px; min-width: 230px; flex-shrink: 0; font-size: 13px; padding: 0 10px; white-space: nowrap; background: #111; color: #888; justify-content: flex-end; }
body .input-prefix-group input { flex: 1; width: 100%; border: none; background: transparent; padding: 0 15px; color: #fff; font-weight: 600; font-size: 16px; outline: none; height: 100%; }
.btn-edit-dark { background: #2b2d31; color: #ccc; border: none; padding: 8px 16px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: 0.2s; font-size: 11px; }
.btn-edit-dark:hover { background: #444; color: #fff; }
.avatar-upload-section { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 30px; gap: 15px; }
.avatar-preview-circle { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--neon); object-fit: cover; box-shadow: 0 0 20px rgba(212,175,55,0.2); transition: 0.3s; cursor: pointer; }
.btn-upload-avatar { background: #222; border: 1px solid #333; color: #ccc; padding: 8px 20px; border-radius: 20px; font-size: 10px; font-weight: 800; cursor: pointer; text-transform: uppercase; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.row-spaced { display: flex; justify-content: space-between; align-items: center; width: 100%; background: #0a0a0a; padding: 20px; border-radius: 12px; border: 1px solid #222; margin-top: 15px; }
.row-info h4 { margin: 0 0 5px 0; font-size: 13px; color: #fff; text-transform: uppercase; font-weight: 800; }
.row-info p { margin: 0; font-size: 11px; color: #666; font-weight: 600; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; margin: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #222; transition: .4s; border-radius: 34px; border: 1px solid #444; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: #888; transition: .4s; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
input:checked + .slider { background-color: rgba(212, 175, 55, 0.2); border-color: var(--neon); }
input:checked + .slider:before { transform: translateX(24px); background-color: var(--neon); box-shadow: 0 0 10px var(--neon); }
.settings-close { font-size: 40px; color: #ff4444; cursor: pointer; line-height: 0.7; transition: 0.3s; font-weight: 900; }
.settings-close:hover { transform: rotate(90deg); color: #ff0000; }
.edit-btn-square { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: #222; border: 1px solid #333; border-radius: 10px; color: #fff; font-size: 20px; cursor: pointer; transition: 0.3s; }
.edit-btn-square:hover { border-color: var(--neon); color: var(--neon); }
.color-picker-wrapper { display: flex; align-items: center; gap: 10px; background: #000; padding: 5px 10px; border-radius: 8px; border: 1px solid #333; }
.color-input-circle { width: 30px; height: 30px; border: none; padding: 0; background: none; cursor: pointer; border-radius: 50%; overflow: hidden; }
.color-hex-text { background: transparent; border: none; color: #fff; font-family: monospace; font-size: 14px; width: 70px; text-transform: uppercase; }

/* #USTAWIENIA_STATUSY */
.status-badge { padding: 6px 0; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; width: 130px; justify-content: center; flex-shrink: 0; }
.badge-success { background: rgba(0, 255, 136, 0.1); color: #00ff88; border-color: #00ff88; box-shadow: 0 0 10px rgba(0, 255, 136, 0.1); }
.badge-info { background: rgba(0, 204, 255, 0.1); color: #00ccff; border-color: #00ccff; box-shadow: 0 0 10px rgba(0, 204, 255, 0.1); }
.badge-warning { background: rgba(255, 204, 0, 0.1); color: #ffcc00; border-color: #ffcc00; box-shadow: 0 0 10px rgba(255, 204, 0, 0.1); }
.badge-gray { background: rgba(255, 255, 255, 0.1); color: #aaa; border-color: #666; }
body .history-status.badge-danger { background: rgba(255, 68, 68, 0.1); color: #ff4444; border: 1px solid #ff4444; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 900; }
body .btn-sys { background: #111; border: 1px solid var(--neon); color: var(--neon); padding: 10px 20px; border-radius: 6px; font-weight: 800; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 11px; display: inline-flex; align-items: center; gap: 8px; }
body .btn-sys:hover { background: var(--neon); color: #000; box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
.btn-sys i { font-size: 14px; }

/* #USTAWIENIA_KARTY */
.pay-card-list { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.pay-card-item:hover { border-color: var(--neon); }
.pay-card-meta div { font-weight: 800; font-size: 14px; color: #fff; }
.pay-card-meta span { font-size: 11px; color: #888; }
.pay-card-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; background: rgba(255,255,255,0.03); border: 1px solid #333; border-radius: 8px; margin-bottom: 10px; transition: 0.3s; }
.pay-card-left { display: flex; align-items: center; gap: 15px; }
.pay-card-brand { width: 48px; height: 32px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; box-shadow: 0 4px 8px rgba(0,0,0,0.4); }
.pay-card-number { font-family: 'Courier New', monospace; font-weight: 800; font-size: 16px; letter-spacing: 1.5px; color: var(--neon); text-shadow: 0 0 5px var(--neon-glow); }
.pay-card-sub { font-size: 10px; color: #777; text-transform: uppercase; margin-top: 2px; font-weight: bold; letter-spacing: 0.5px; }
.btn-trash-card { background: transparent; border: none; color: #444; cursor: pointer; padding: 8px; transition: 0.3s; font-size: 16px; }
.btn-trash-card:hover { color: #ff4444; transform: scale(1.1); }
.btn-cancel-sub { background: transparent; border: 1px solid #ff4444; color: #ff4444; padding: 5px 15px; border-radius: 20px; font-size: 10px; font-weight: 700; cursor: pointer; text-transform: uppercase; transition: 0.3s; margin-left: auto; }
.btn-cancel-sub:hover { background: rgba(255, 68, 68, 0.1); }
.card-preview-wrapper { perspective: 1000px; width: 100%; height: 220px; margin-bottom: 30px; display: flex; justify-content: center; }
.credit-card-preview { width: 360px; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.6s; font-family: 'Courier New', Courier, monospace; }
.credit-card-preview.flipped { transform: rotateY(180deg); }
.card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 16px; padding: 25px; box-sizing: border-box; background: linear-gradient(135deg, #1a1a1a, #0a0a0a); border: 2px solid rgba(212, 175, 55, 0.3); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05); color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.card-front::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); pointer-events: none; }
.card-top-row { display: flex; justify-content: space-between; align-items: center; }
.card-chip i { font-size: 34px; color: #3eb6ea; opacity: 0.9; }
.card-logo i { font-size: 36px; color: #fff; }
.card-number-display { font-size: 24px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); margin: 20px 0; white-space: nowrap; }
.card-bottom-row { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; color: #aaa; }
.card-holder-display { font-size: 16px; font-weight: 600; color: #fff; margin-top: 5px; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.card-expiry-display { font-size: 16px; font-weight: 600; color: #fff; margin-top: 5px; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.card-back { transform: rotateY(180deg); padding: 0; }
.magnetic-strip { width: 100%; height: 50px; background: #333; margin-top: 25px; }
.cvc-container { padding: 20px 25px; text-align: right; }
.cvc-label { font-size: 12px; color: #aaa; text-transform: uppercase; margin-right: 10px; }
.cvc-display-box { background: #fff; color: #000; font-weight: 700; padding: 8px 15px; border-radius: 4px; display: inline-block; font-family: 'Courier New', Courier, monospace; font-size: 16px; }

/* #USTAWIENIA_PLAN */
.modal-input-grid { display: grid; gap: 15px; margin-top: 20px; }
.modal-input-row { display: flex; flex-direction: column; gap: 8px; }
.modal-input-row label { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.add-card-input { background: #0a0a0a; border: 1px solid #333; padding: 12px; border-radius: 8px; color: #fff; font-weight: 600; outline: none; transition: 0.3s; }
.add-card-input:focus { border-color: var(--neon); box-shadow: 0 0 10px rgba(212,175,55,0.1); }
.sub-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; height: 100%; padding: 40px; box-sizing: border-box; }
.sub-info-col { height: 100%; display: flex; flex-direction: column; gap: 20px; }
.sub-plan-card { background: linear-gradient(145deg, #0f0f0f, #141414); border: 1px solid var(--neon); border-radius: 16px; padding: 40px; text-align: center; position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.sub-plan-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--neon); box-shadow: 0 0 15px var(--neon); }
.sub-plan-name { font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 2px; }
.sub-plan-price { font-size: 14px; color: #888; margin-bottom: 20px; }
.sub-plan-price strong { color: var(--neon); font-size: 18px; }
.sub-status-indicator { display: inline-block; padding: 5px 15px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; }
.sub-status-indicator.active { background: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid #2ecc71; }
.sub-status-indicator.inactive { background: rgba(255, 59, 59, 0.15); color: #ff4444; border: 1px solid #ff4444; }
.sub-usage-box { background: #0f0f0f; border: 1px solid #333; padding: 25px; border-radius: 12px; margin-top: 30px; }
.usage-row { margin-bottom: 15px; }
.usage-header { display: flex; justify-content: space-between; font-size: 11px; color: #888; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; }
.usage-bar-bg { width: 100%; height: 6px; background: #222; border-radius: 10px; overflow: hidden; }
.usage-bar-fill { height: 100%; background: var(--neon); width: 0%; transition: width 1s ease; box-shadow: 0 0 10px rgba(212,175,55,0.3); }
.sub-features-col { background: linear-gradient(145deg, #0f0f0f, #141414); border: 1px solid #333; border-radius: 16px; padding: 40px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.sub-feature-list { list-style: none; padding: 0; margin: 0; }
.sub-feature-item { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; font-size: 14px; color: #ccc; font-weight: 600; }
.sub-feature-item i { color: var(--neon); font-size: 18px; width: 25px; text-align: center; }
.sub-actions-footer { width: 100%; margin-top: auto; display: block; }
.btn-reactivate { background: var(--neon); color: #000; width: 100%; padding: 15px; border: none; border-radius: 8px; font-weight: 900; cursor: pointer; text-transform: uppercase; transition: 0.3s; }
.btn-reactivate:hover { background: #fff; box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
body .btn-cancel-full { background: rgba(255, 68, 68, 0.05); border: 1px solid #ff4444; color: #ff4444; width: 100%; padding: 15px; border-radius: 8px; font-weight: 700; cursor: pointer; text-transform: uppercase; transition: 0.3s; margin-top: auto; display: block; text-align: center; box-sizing: border-box; }
body .btn-cancel-full:hover { background: #ff4444; color: #000; box-shadow: 0 0 15px rgba(255, 68, 68, 0.4); }

/* #CHANGELOG_I_MODALE */
.changelog-modal { background: rgba(15, 15, 15, 0.85); backdrop-filter: blur(15px); border: 1px solid var(--neon); box-shadow: 0 0 30px var(--neon-glow); }
#changelogModal.active { display: flex; align-items: center; justify-content: center; position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 9999; }
.changelog-content { background: rgba(20, 20, 20, 0.95); border: 1px solid var(--neon); border-radius: 15px; width: 90%; max-width: 500px; padding: 30px; box-shadow: 0 0 40px var(--neon-glow); }
body .badge-new { display: inline-block; width: 75px; text-align: center; padding: 3px 0; border-radius: 4px; font-size: 10px; font-weight: 900; margin-right: 12px; flex-shrink: 0; background: #2ecc71; color: #000; }
body .badge-update { display: inline-block; width: 75px; text-align: center; padding: 3px 0; border-radius: 4px; font-size: 10px; font-weight: 900; margin-right: 12px; flex-shrink: 0; background: #fceb00; color: #000; }
body .badge-fix { display: inline-block; width: 75px; text-align: center; padding: 3px 0; border-radius: 4px; font-size: 10px; font-weight: 900; margin-right: 12px; flex-shrink: 0; background: #e74c3c; color: #fff; }
.ch-item { display: flex; align-items: center; margin-bottom: 12px; line-height: 1.4; font-size: 14px; color: #ccc; }
.ch-btn { width: 100%; margin-top: 25px; background: var(--neon); color: #000; border: none; padding: 12px; border-radius: 8px; font-weight: 800; cursor: pointer; text-transform: uppercase; transition: opacity 0.2s; }
.ch-btn:hover { opacity: 0.9; }
.ch-btn:active { transform: scale(0.98); }






/* =========================================
   KILOMETRÓWKA - VER 2.0
   ========================================= */

.kil-title { font-size: 28px; font-weight: 900; margin-bottom: 30px; letter-spacing: 1px; }
.kil-vehicle-section { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 30px; }
.kil-vehicle-card { background: #111; border: 2px solid #333; border-radius: 15px; padding: 30px; cursor: pointer; transition: 0.3s; display: flex; flex-direction: column; align-items: center; opacity: 0.6; position: relative; overflow: hidden; }
.kil-vehicle-card:hover { opacity: 0.9; border-color: #555; }
.kil-vehicle-card.active { opacity: 1; border-color: var(--neon); background: linear-gradient(145deg, #161616, #0a0a0a); box-shadow: 0 0 30px rgba(212, 175, 55, 0.15); transform: scale(1.02); }
.kil-card-icon { font-size: 50px; color: var(--text-muted); margin-bottom: 15px; transition: 0.3s; }
.kil-vehicle-card.active .kil-card-icon { color: var(--neon); text-shadow: 0 0 15px var(--neon); }
.kil-vehicle-card h3 { margin: 0 0 20px 0; font-weight: 900; letter-spacing: 1px; }

/* #KILOMETRÓWKA_EDYCJA */
.kil-specs { width: 100%; border-top: 1px solid #333; padding-top: 15px; margin-top: 10px; }
.kil-spec-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 12px; color: #888; font-weight: 700; }
.kil-edit-group { display: flex; align-items: center; gap: 5px; }
body .kil-edit-group input { width: 60px; padding: 5px; font-size: 12px; text-align: right; border: 1px solid transparent; background: transparent; color: var(--neon); font-weight: 800; border-radius: 4px; height: auto; transition: 0.2s; }
.kil-edit-group input:disabled { opacity: 1; border: none; }
body .kil-edit-group input:not(:disabled) { border-color: #555; background: #000; color: #fff; }
.kil-edit-group i { cursor: pointer; font-size: 12px; padding: 5px; color: #555; transition: 0.2s; }
.kil-edit-group i:hover { color: #fff; }

/* #KILOMETRÓWKA_KALKULATOR */
.kil-calc-container { background: var(--card-bg); padding: 30px; border-radius: 15px; border: 1px solid var(--card-border); }
.kil-inputs-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr; gap: 20px; margin-bottom: 30px; }
.kil-input-box { display: flex; flex-direction: column; }
.kil-input-box label { font-size: 11px; font-weight: 800; color: var(--neon); margin-bottom: 8px; text-transform: uppercase; }
.kil-input-box input { height: 50px; font-size: 16px; font-weight: 600; }

/* #KILOMETRÓWKA_WYNIKI */
.kil-results-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.kil-res-box { background: #0a0a0a; border: 1px solid #333; border-radius: 12px; padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.kil-res-box span { font-size: 11px; color: #666; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.kil-res-box h2 { font-size: 28px; font-weight: 900; margin: 0; }
.kil-res-box.highlight { border-color: var(--neon); background: rgba(212, 175, 55, 0.05); }
.kil-res-box small { font-size: 9px; color: #888; display: block; margin-bottom: 5px; }

/* #KILOMETRÓWKA_AKCJE_I_TABELA */
.kil-actions { display: flex; gap: 10px; justify-content: center; }
.kil-row:hover { background: rgba(255, 255, 255, 0.03); }
.btn-icon-small.delete:hover { color: var(--danger); transform: scale(1.2); }
.gear-app-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.gear-app-table th { text-align: left; padding: 15px; color: #666; font-size: 11px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid #333; letter-spacing: 1px; background: transparent; }
.gear-app-table td { padding: 15px; border-bottom: 1px solid #222; color: #fff; font-size: 13px; font-weight: 600; vertical-align: middle; }
.gear-app-table tbody tr:hover { background-color: rgba(255, 255, 255, 0.02); }
.gear-app-table tbody tr:last-child td { border-bottom: none; }

/* #KILOMETRÓWKA_MOBILNIE */
@media (max-width: 900px) { .kil-vehicle-section { grid-template-columns: 1fr; } .kil-inputs-grid { grid-template-columns: 1fr; gap: 15px; } .kil-results-grid { grid-template-columns: 1fr; } }




/* =========================================
   MAGAZYN - VER 2.0
   ========================================= */

.nav-mag-search-wrapper { position: relative; width: 33%; min-width: 300px; margin-bottom: 20px; }
body .nav-mag-search-wrapper input { width: 100%; padding: 12px 15px 12px 45px; background: #161616; border: 1px solid #333; border-radius: 30px; color: #fff; font-weight: 700; font-size: 14px; }
.nav-mag-search-wrapper i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--neon); font-size: 16px; }
.nav-mag-tabs { display: flex; gap: 15px; margin-bottom: 25px; }
.nav-mag-tab-btn { flex: 1; padding: 20px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); color: var(--text-muted); cursor: pointer; transition: 0.3s; font-weight: 800; font-size: 16px; text-transform: uppercase; text-align: center; }
.nav-mag-tab-btn i { font-size: 28px; display: block; margin-bottom: 10px; color: var(--neon); }
.nav-mag-tab-btn.active { border-color: var(--neon); color: #fff; box-shadow: var(--neon-glow); background: rgba(212,175,55,0.05); }

/* #MAGAZYN_DODAWANIE_PRZEDMIOTU */
#nav-mag-add-bar { display: flex; align-items: stretch; gap: 15px; background: var(--card-bg); padding: 20px; border-radius: var(--radius-lg); border: 1px solid #222; margin-bottom: 30px; }
body #nav-mag-new-name { flex: 3; padding: 12px 20px; background: #111; border: 1px solid #333; color: white; border-radius: 8px; font-weight: 600; font-size: 14px; }
body #nav-mag-new-cat { flex: 1; min-width: 200px; background: #111; border: 1px solid var(--neon); color: white; border-radius: 8px; padding: 0 15px; font-weight: 700; cursor: pointer; height: auto; }
.btn-add-mag { background: var(--neon); color: black; border: none; padding: 0 60px; border-radius: 8px; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: 0.3s; font-size: 16px; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.btn-add-mag:hover { box-shadow: var(--neon-glow); transform: translateY(-2px); }

/* #MAGAZYN_STRUKTURA_SIATKI */
body .nav-mag-grid { display: flex; flex-direction: column; gap: 40px; width: 100%; margin-top: 20px; }
.mag-category-section { width: 100%; }
.mag-category-header { font-size: 16px; font-weight: 900; color: var(--neon); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 2px solid rgba(212, 175, 55, 0.1); padding-bottom: 10px; width: 100%; }
.nav-mag-items-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; width: 100%; }
body .sortable-ghost { opacity: 0.4; background: var(--neon); }

/* #MAGAZYN_KARTA_PRZEDMIOTU */
.nav-mag-item-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); display: flex; overflow: hidden; transition: 0.3s; height: auto; min-height: 130px; position: relative; }
.mag-item-checkbox { appearance: none; position: absolute; top: 12px; left: 12px; z-index: 10; width: 20px; height: 20px; border: 2px solid #444; border-radius: 6px; background: #111; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.mag-item-checkbox:checked { background: var(--neon); border-color: var(--neon); }
.mag-item-checkbox:checked::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #000; font-size: 11px; }
.mag-item-checkbox:hover { border-color: var(--neon); box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
.nav-mag-item-card.selected { border-color: var(--neon); box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); background: rgba(212, 175, 55, 0.05); }
.nav-mag-card-main { flex: 1; padding: 18px 18px 18px 45px; display: flex; align-items: center; gap: 20px; cursor: pointer; overflow: visible; }
.nav-mag-card-main i.category-icon { font-size: 32px; color: var(--neon); margin-top: 0; flex-shrink: 0; filter: drop-shadow(0 0 5px rgba(212,175,55,0.3)); }
.mag-item-content { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow: visible; }
.nav-mag-item-name { font-weight: 900; font-size: 15px; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.3; white-space: normal; }
.mag-info-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mag-tag { font-size: 9px; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: rgba(255,255,255,0.03); color: #999; display: flex; align-items: center; gap: 6px; border: 1px solid #222; }
.mag-tag.qty { color: var(--neon); border-color: rgba(212,175,55,0.3); background: rgba(212,175,55,0.05); }
.mag-item-additions { margin-top: 12px; padding-top: 10px; border-top: 1px solid #222; font-size: 11px; color: #aaa; font-style: italic; line-height: 1.5; display: block; white-space: normal; word-wrap: break-word; }

/* #MAGAZYN_AKCJE_BOCZNE_KARTY */
.nav-mag-side-actions { width: 50px; background: #000; border-left: 1px solid #222; display: flex; flex-direction: column; flex-shrink: 0; }
.nav-mag-side-btn { flex: 1; border: none; background: transparent; color: #444; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; font-size: 14px; border-bottom: 1px solid #1a1a1a; }
.nav-mag-side-btn:last-child { border-bottom: none; }
.nav-mag-side-btn:hover { color: #fff; }
.side-play:hover { background: rgba(0,255,136,0.1); color: #00ff88; }
.side-store:hover { background: rgba(0,170,255,0.1); color: #00aaff; }
.side-serv:hover { background: rgba(255,215,0,0.1); color: #ffd700; }
.nav-mag-item-card.in-service { border-color: #ff3b3b; }

/* #MAGAZYN_AKCJE_MASOWE */
.bulk-action-bar { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #111; border: 2px solid var(--neon); padding: 15px 30px; border-radius: 50px; display: none; gap: 20px; align-items: center; z-index: 4000; box-shadow: 0 0 30px rgba(0,0,0,0.8); }
.bulk-info { color: #fff; font-weight: 800; font-size: 14px; border-right: 1px solid #333; padding-right: 20px; }
.btn-bulk { background: transparent; border: 1px solid #444; color: #fff; padding: 8px 15px; border-radius: 20px; cursor: pointer; font-size: 12px; font-weight: 700; transition: 0.3s; text-transform: uppercase; }
.btn-bulk:hover { background: var(--neon); color: #000; border-color: var(--neon); }

/* #MAGAZYN_MODALE_I_PROMPTY */
.custom-prompt-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 3000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.custom-prompt-box { background: #111; border: 2px solid var(--neon); padding: 30px; width: 420px; border-radius: 15px; text-align: center; box-shadow: 0 0 30px rgba(212,175,55,0.2); }
.custom-prompt-title { color: var(--neon); font-size: 20px; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
.custom-prompt-input { width: 100%; padding: 15px; background: #222; border: 1px solid #444; color: white; border-radius: 8px; margin-bottom: 20px; font-size: 16px; }
body .textarea-dark { background: rgba(255,255,255,0.05); border: 1px solid #333; color: white; border-radius: 8px; padding: 12px; font-size: 14px; font-family: inherit; resize: none; transition: 0.3s; }
body .textarea-dark:focus { border-color: var(--neon); outline: none; background: rgba(255,255,255,0.08); }
.btn-delete-full { width: 100%; background: rgba(255, 68, 68, 0.1); border: 1px solid #ff4444; color: #ff4444; padding: 15px; border-radius: 50px; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: 0.3s; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-delete-full:hover { background: #ff4444; color: #fff; box-shadow: 0 0 20px rgba(255, 68, 68, 0.4); transform: translateY(-2px); }


/* =========================================
   FORMULARZ KLIENTA - VER 2.0
   ========================================= */
.client-body { background-color: #050505; color: #fff; font-family: 'Montserrat', sans-serif; margin: 0; padding-bottom: 50px; }
.client-navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #333; background: #000; }
.client-logo { height: 40px; }
.client-back-link { color: #888; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.client-back-link:hover { color: var(--neon); }
.client-container { max-width: 800px; margin: 0 auto; padding: 20px; }

/* #FORMULARZ_KLIENTA_PROGRESS */
.progress-container { position: relative; display: flex; justify-content: space-between; margin: 30px 0 50px 0; max-width: 600px; margin-left: auto; margin-right: auto; }
.progress-track { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: #333; z-index: 1; transform: translateY(-50%); }
.progress-fill { position: absolute; top: 50%; left: 0; width: 0%; height: 2px; background: var(--neon); z-index: 2; transform: translateY(-50%); transition: width 0.4s ease; }
.step-dot { width: 35px; height: 35px; background: #111; border: 2px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3; position: relative; font-weight: 700; color: #555; transition: 0.4s; font-size: 14px; }
.step-dot.active { border-color: var(--neon); color: var(--neon); background: #000; box-shadow: 0 0 10px rgba(212,175,55,0.3); }
.step-dot.finished { background: var(--neon); color: #000; border-color: var(--neon); }

/* #FORMULARZ_KLIENTA_BOX */
.client-form-box { background: #111; border: 1px solid #333; border-radius: 15px; padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.form-step { display: none; animation: fadeIn 0.5s; }
.form-step.active { display: block; }
.form-step h2 { color: var(--neon); text-transform: uppercase; margin-top: 0; margin-bottom: 25px; font-weight: 900; text-align: center; font-size: 24px; }
.intro-box { text-align: center; padding: 20px; }
.intro-icon { font-size: 60px; color: var(--neon); margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(212,175,55,0.4)); }
.intro-box h1 { font-size: 32px; font-weight: 900; margin-bottom: 15px; }
.intro-box p { color: #aaa; line-height: 1.6; margin-bottom: 30px; font-size: 16px; }

/* #FORMULARZ_KLIENTA_INPUTY */
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.inp-group { display: flex; flex-direction: column; }
.inp-group.full { grid-column: span 2; }
.inp-group label { font-size: 12px; font-weight: 700; color: #888; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.inp-group input, .inp-group select, .inp-group textarea { background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 15px; border-radius: 8px; font-family: 'Montserrat'; font-size: 14px; transition: 0.3s; }
.inp-group input:focus, .inp-group textarea:focus { border-color: var(--neon); box-shadow: 0 0 10px rgba(212,175,55,0.1); outline: none; }

/* #FORMULARZ_KLIENTA_BUTTONS */
.nav-btns { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid #222; }
.btn-gold-client { background: var(--neon); color: #000; border: none; padding: 15px 30px; font-weight: 900; border-radius: 30px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; font-size: 14px; }
.btn-gold-client:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(212,175,55,0.4); background: #fff; }
.btn-gold-client.large { width: 100%; font-size: 18px; padding: 20px; }
.btn-outline { background: transparent; border: 2px solid #333; color: #888; padding: 15px 30px; font-weight: 700; border-radius: 30px; cursor: pointer; transition: 0.3s; }
.btn-outline:hover { border-color: #fff; color: #fff; }

/* #FORMULARZ_KLIENTA_PAYMENT */
.payment-box { text-align: center; background: #080808; padding: 30px; border-radius: 12px; border: 1px solid #333; }
.price-tag { font-size: 40px; font-weight: 900; color: var(--neon); margin: 15px 0; text-shadow: 0 0 20px rgba(212,175,55,0.3); }
.bank-details { margin-top: 20px; text-align: left; background: #111; padding: 20px; border-radius: 8px; }
.bank-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #222; font-size: 14px; }
.bank-row:last-child { border-bottom: none; }
.bank-row.highlight { color: var(--neon); }

/* #FORMULARZ_KLIENTA_CHECKBOX */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 10px; }
.custom-chk { display: flex; align-items: center; cursor: pointer; user-select: none; }
.custom-chk input { display: none; }
.chk-box { width: 20px; height: 20px; border: 2px solid #444; border-radius: 4px; margin-right: 10px; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.custom-chk input:checked + .chk-box { background: var(--neon); border-color: var(--neon); }
.custom-chk input:checked + .chk-box::after { content: '✔'; font-size: 12px; color: black; font-weight: 900; }

/* #FORMULARZ_KLIENTA_SUMMARY */
.summary-container { background: #080808; padding: 20px; border-radius: 8px; border: 1px dashed #444; font-size: 14px; color: #ccc; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 8px; border-bottom: 1px solid #1a1a1a; padding-bottom: 8px; }
.sum-row strong { color: #fff; text-align: right; }

/* #FORMULARZ_KLIENTA_MODAL */
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-box { background: #111; border: 2px solid var(--neon); padding: 40px; border-radius: 20px; text-align: center; max-width: 400px; animation: popIn 0.4s; }
.modal-icon { font-size: 50px; color: var(--success); margin-bottom: 20px; }

/* #FORMULARZ_KLIENTA_MOBILE */
@media (max-width: 700px) { .input-grid { grid-template-columns: 1fr; } .inp-group.full { grid-column: auto; } .checkbox-grid { grid-template-columns: 1fr; } .client-form-box { padding: 20px; } .step-dot { width: 25px; height: 25px; font-size: 10px; } }





/* =========================================
   KONTAKTY - VER 2.0
   ========================================= */
.contacts-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
.contacts-filters { display: flex; gap: 8px; background: #0f0f0f; padding: 6px; border-radius: 40px; border: 1px solid #333; }
.filter-pill { background: transparent; border: none; color: #666; padding: 8px 20px; border-radius: 30px; font-weight: 800; font-size: 11px; cursor: pointer; transition: 0.3s; letter-spacing: 0.5px; }
.filter-pill.active { background: var(--neon); color: #000; box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
.filter-pill:hover:not(.active) { color: #fff; }

/* #KONTAKTY_GRID_I_KARTA */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.contact-card { background: linear-gradient(145deg, #161616, #0e0e0e); border: 1px solid #2a2a2a; border-radius: 16px; padding: 25px; transition: 0.3s; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.contact-card:hover { border-color: var(--neon); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--neon); opacity: 0; transition: 0.3s; }
.contact-card:hover::before { opacity: 1; }
.cnt-header { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-start; }
.cnt-avatar { width: 50px; height: 50px; background: #1a1a1a; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--neon); border: 1px solid #333; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.cnt-info { display: flex; flex-direction: column; overflow: hidden; justify-content: center; }
.cnt-name { font-size: 18px; font-weight: 900; color: #fff; margin: 0 0 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.5px; }

/* #KONTAKTY_ROLE */
.cnt-role-badge { font-size: 9px; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; display: inline-block; width: fit-content; letter-spacing: 1px; }
.cnt-role-client { background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.2); }
.cnt-role-venue { background: rgba(52, 152, 219, 0.1); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.2); }
.cnt-role-partner { background: rgba(212, 175, 55, 0.1); color: var(--neon); border: 1px solid rgba(212, 175, 55, 0.2); }
.cnt-role-other { background: #222; color: #888; border: 1px solid #444; }

/* #KONTAKTY_DETALE */
.cnt-details { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 15px; border-top: 1px solid #222; }
.cnt-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #ccc; font-weight: 500; }
.cnt-row i { color: #555; width: 16px; text-align: center; transition: 0.3s; }
.contact-card:hover .cnt-row i { color: var(--neon); }
.cnt-details-row-price { color: var(--neon); font-weight: 900; margin-top: 5px; font-size: 12px; display: flex; align-items: center; gap: 8px; }

/* #KONTAKTY_AKCJE_I_SOCIAL */
.cnt-actions { display: flex; gap: 10px; margin-top: 20px; }
.cnt-actions a { text-decoration: none; }
.cnt-btn { flex: 1; height: 40px; border-radius: 8px; border: 1px solid #333; background: #111; color: #888; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; font-size: 14px; }
.cnt-btn:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-2px); }
.cnt-btn.call:hover { background: #2ecc71; color: #000; border-color: #2ecc71; }
.cnt-btn.mail:hover { background: #3498db; color: #000; border-color: #3498db; }
.cnt-btn.edit:hover { background: var(--neon); color: #000; border-color: var(--neon); }
.contact-socials { display: flex; gap: 8px; margin-bottom: 10px; justify-content: center; }
.social-mini-icon { width: 24px; height: 24px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; text-decoration: none; transition: 0.3s; }
.social-mini-icon:hover { transform: translateY(-2px); }
.social-mini-icon.fb:hover { background: #1877F2; }
.social-mini-icon.ig:hover { background: #E1306C; }
.social-mini-icon.tt:hover { background: #000; border: 1px solid #fff; }

/* #KONTAKTY_PHOTO_UPLOAD */
.contact-photo-upload { width: 120px; height: 120px; background: #111; border: 2px dashed #444; border-radius: 50%; margin: 0 auto 20px auto; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; position: relative; transition: 0.3s; }
.contact-photo-upload:hover { border-color: var(--neon); background: rgba(212, 175, 55, 0.05); }
.contact-photo-upload.dragover { border-color: #00ff88; background: rgba(0, 255, 136, 0.1); transform: scale(1.05); }
.contact-photo-img { width: 100%; height: 100%; object-fit: cover; }
.upload-placeholder { text-align: center; color: #666; pointer-events: none; }
.upload-placeholder i { font-size: 24px; margin-bottom: 5px; display: block; }
.upload-placeholder span { font-size: 9px; font-weight: 700; text-transform: uppercase; }

/* #KONTAKTY_INPUTY_I_PREFIX */
.input-prefix-group { display: flex; align-items: stretch; background: #000; border: 1px solid #333; border-radius: 10px; overflow: hidden; transition: 0.3s; height: 46px; }
.input-prefix-group:focus-within { border-color: var(--neon); box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); }
.input-prefix-group .prefix { background: #1a1a1a; color: #555; width: 50px; border-right: 1px solid #333; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; transition: 0.3s; }
.input-prefix-group:focus-within .prefix { color: #fff; background: #222; }
.input-prefix-group:focus-within .prefix i.fa-facebook { color: #1877F2; }
.input-prefix-group:focus-within .prefix i.fa-instagram { color: #E1306C; }
.input-prefix-group:focus-within .prefix i.fa-tiktok { color: #fff; text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
body .input-prefix-group input { border: none; background: transparent; padding: 0 15px; color: #fff; flex: 1; font-weight: 600; font-size: 14px; outline: none; height: 100%; }
body .textarea-dark { width: 100%; background: #0f0f0f; border: 1px solid #333; color: #ccc; padding: 15px; border-radius: 10px; font-family: 'Montserrat', sans-serif; resize: vertical; min-height: 120px; font-size: 13px; line-height: 1.5; transition: 0.3s; }
body .textarea-dark:focus { border-color: var(--neon); outline: none; color: #fff; background: #050505; }





/* =========================================
   MESSAGEHUB - VER 2.0
   ========================================= */
.step-nav-container { display: flex; align-items: center; justify-content: flex-start; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; border-bottom: 1px solid #333; padding-bottom: 15px; }
.step-nav-item { font-size: 14px; font-weight: 800; color: #666; cursor: pointer; text-transform: uppercase; transition: 0.3s; letter-spacing: 1px; padding: 5px 10px; position: relative; }
.step-nav-item:hover { color: #fff; }
.step-nav-item.active { color: var(--neon); text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
.step-nav-item.active::after { content: ''; position: absolute; bottom: -17px; left: 0; width: 100%; height: 3px; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.step-separator { color: #444; font-weight: 300; font-size: 16px; }
.opinia-grid { display: grid; grid-template-columns: 380px 1fr; gap: 30px; }
.opinia-config-panel { background: #1a1a1a; padding: 25px; border-radius: 12px; border: 1px solid #333; height: fit-content; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.panel-header { color: #fff; font-size: 16px; margin: 0 0 20px 0; border-bottom: 1px solid #333; padding-bottom: 15px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 1px; }
.panel-header i { color: var(--neon); }
.opinia-input-group { margin-bottom: 20px; position: relative; }
body .opinia-input-group.no-margin { margin-bottom: 0; }
.opinia-input-group.top-margin { margin-top: 20px; }
.opinia-input-group label { display: block; font-size: 11px; color: var(--neon); font-weight: 800; margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 5px rgba(212, 175, 55, 0.2); }
.opinia-input-group input, .opinia-input-group select { width: 100%; background: #0f0f0f; border: 1px solid #333; color: #fff; padding: 15px; border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 14px; transition: 0.3s; }
.opinia-input-group input:focus, .opinia-input-group select:focus { border-color: var(--neon); outline: none; box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); background: #161616; }
.variables-info-box { margin-top: 30px; padding: 20px; background: #111; border: 1px dashed #444; border-radius: 8px; }
.var-title { font-size: 12px; font-weight: 700; color: #888; margin-bottom: 10px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.var-item { font-size: 11px; color: #aaa; margin-bottom: 5px; display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding-bottom: 3px; }
.var-code { color: var(--neon); font-family: monospace; font-weight: bold; }
.message-bubble-container { position: relative; margin-bottom: 20px; flex: 1; display: flex; flex-direction: column; }
.message-bubble { background: #1e1e1e; color: #ddd; padding: 30px; border-radius: 20px; border-bottom-left-radius: 0; font-size: 15px; line-height: 1.6; border: 1px solid #333; min-height: 400px; width: 100%; white-space: pre-wrap; outline: none; transition: 0.3s; font-family: 'Montserrat', sans-serif; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }
.message-bubble:focus { border-color: var(--neon); background: #222; color: #fff; box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
.message-edit-icon { position: absolute; top: 20px; right: 20px; color: #555; pointer-events: none; }
.main-actions-row { display: flex; gap: 15px; margin-bottom: 30px; }
.btn-action-main { flex: 1; border: none; padding: 15px; border-radius: 8px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11px; cursor: pointer; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.3s; }
.btn-act-copy { background: #333; color: #fff; border: 1px solid #555; }
.btn-act-copy:hover { background: #444; border-color: #fff; }
.btn-act-save { background: var(--neon); color: #000; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); }
.btn-act-save:hover { background: #ffe066; transform: translateY(-2px); }
.btn-act-reset { background: transparent; color: #666; border: 1px solid #333; }
.btn-act-reset:hover { border-color: #ff3b3b; color: #ff3b3b; }
.socials-label { text-align: center; font-size: 10px; color: #666; margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase; }
.social-actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.btn-social { border: none; padding: 12px; border-radius: 6px; color: #fff; font-size: 14px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.btn-social:hover { filter: brightness(1.2); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; }
.btn-messenger { background: #0084FF; }
.btn-sms { background: #3498db; }
.btn-email { background: #e74c3c; }
.msg-toggles-row { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.msg-switch { display: flex; background: #000; border-radius: 8px; padding: 4px; border: 1px solid #333; }
.msg-switch-opt { flex: 1; background: transparent; border: none; color: #666; padding: 10px; font-size: 11px; font-weight: 700; cursor: pointer; border-radius: 5px; transition: 0.3s; }
.msg-switch-opt.active { background: #222; color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.opinia-qr-box { margin-top: 30px; border-top: 1px solid #333; padding-top: 20px; text-align: center; }
.qr-placeholder { background: #fff; width: 150px; height: 150px; margin: 0 auto 15px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #000; border-radius: 8px; }
.qr-placeholder img { width: 100%; height: 100%; border-radius: 8px; }
.btn-qr-gen { width: 100%; margin-top: 10px; background: #333; color: #fff; border: 1px solid #555; padding: 10px; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 11px; text-transform: uppercase; transition: 0.3s; }
.btn-qr-gen:hover { background: #444; border-color: #fff; }
@media (max-width: 900px) { .opinia-grid { grid-template-columns: 1fr; } }






















/* KOD 1.0 STARY*/

/* --- POPRAWIONA SIATKA 7 KAFELKÓW (DUŻA CZCIONKA, MNIEJSZE ODSTĘPY) --- */
.stats-grid-7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 30px; }
.stat-card-small { background: var(--card-bg); padding: 15px 4px; border-radius: 12px; border: 1px solid #222; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 90px; transition: 0.3s; }
.stat-card-small:hover { transform: translateY(-3px); border-color: var(--neon); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.stat-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; font-weight: 700; white-space: nowrap; }
.stat-val { font-size: 20px; font-weight: 900; color: #fff; white-space: nowrap; }
/* --- MODAL EDYCJI PRO (SZEROKI) - POPRAWIONA SZEROKOŚĆ --- */
.modal-wide { width: 1100px !important; max-width: 95vw !important; height: auto !important; min-height: auto !important; display: flex; flex-direction: column; max-height: 90vh; position: relative !important; margin: auto; left: auto; top: auto; transform: none; }.modal-close-red { position: absolute; top: 20px; right: 25px; font-size: 32px; color: #ff4444; cursor: pointer; transition: 0.3s; line-height: 1; font-weight: 900; z-index: 10; }
.modal-close-red:hover { transform: scale(1.1) rotate(90deg); text-shadow: 0 0 15px rgba(255, 68, 68, 0.6); }
.form-grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 10px; overflow-y: auto; padding: 0 20px; }
.form-section-header { color: #888; font-size: 11px; font-weight: 700; letter-spacing: 1px; border-bottom: 1px solid #333; padding-bottom: 8px; margin-bottom: 15px; margin-top: 5px; }
.textarea-dark { width: 100%; background: #0f0f0f; border: 1px solid #333; color: #ccc; padding: 12px; border-radius: 8px; font-family: 'Montserrat', sans-serif; resize: vertical; min-height: 80px; font-size: 13px; }
.textarea-dark:focus { border-color: var(--neon); outline: none; color: #fff; }
.file-upload-widget { border: 2px dashed #333; border-radius: 10px; padding: 20px; text-align: center; background: rgba(255,255,255,0.02); cursor: pointer; transition: 0.3s; color: #666; position: relative; }
.file-upload-widget:hover { border-color: var(--neon); color: var(--neon); background: rgba(212, 175, 55, 0.05); }
.file-upload-widget i { font-size: 24px; margin-bottom: 5px; display: block; }
.file-upload-widget span { font-size: 11px; font-weight: 600; }
.file-name-display { color: var(--neon); font-size: 11px; margin-top: 5px; word-break: break-all; }
@media (max-width: 1000px) { .form-grid-2-col { grid-template-columns: 1fr; gap: 20px; } .modal-wide { width: 95% !important; max-height: 95vh; top: 50%; transform: translate(-50%, -50%); } }
/* --- HISTORIA IMPREZ (DASHBOARD) --- */
.history-list-grid { display: flex; flex-direction: column; gap: 10px; opacity: 0.6; transition: 0.3s; }
.history-list-grid:hover { opacity: 1; }
.history-headers { display: grid; grid-template-columns: 110px 2fr 1.5fr 120px 80px; gap: 10px; padding: 0 15px 10px 15px; border-bottom: 1px solid #333; margin-bottom: 5px; color: #555; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.history-row { display: grid; grid-template-columns: 110px 2fr 1.5fr 120px 80px; gap: 10px; align-items: center; background: #111; padding: 12px 15px; border-radius: 6px; border: 1px solid #222; font-size: 12px; color: #888; margin-bottom: 5px; transition: 0.2s; }
.history-row:hover { background: #161616; color: #ccc; border-color: #444; opacity: 1 !important; }
.history-row.done { border-left: 3px solid #444; opacity: 0.7; }
.history-date { font-family: monospace; color: #666; }
.history-name { font-weight: 700; color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-loc { font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-status { font-size: 10px; padding: 3px 8px; background: #222; border-radius: 4px; border: 1px solid #333; text-align: center; }
.history-actions { display: flex; justify-content: flex-end; gap: 10px; }
.h-btn { color: #555; cursor: pointer; transition: 0.2s; font-size: 13px; }
.h-btn:hover { color: var(--neon); }
.h-btn.trash:hover { color: #ff4444; }

/* --- WIDGET WYKRESU (BAR CHART) - FIX WYSOKOŚCI --- */
.chart-widget { grid-column: span 3; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 25px; margin-top: 0; }
.chart-container { display: flex; justify-content: space-between; height: 180px; padding-top: 20px; gap: 10px; align-items: stretch; } /* Zmieniono align-items na stretch */
.chart-col { display: flex; flex-direction: column; align-items: center; flex: 1;  cursor: pointer; height: 100%; justify-content: flex-end; }
.bar-track { width: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; position: relative; padding-bottom: 5px; } /* Dodano flex: 1 */
.bar-fill { width: 12px; background: #333; border-radius: 4px; transition: height 1s ease; background: 0.3s; position: relative; min-height: 4px; box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.chart-col:hover .bar-fill { background: var(--neon); box-shadow: 0 0 20px var(--neon); }
.bar-tooltip { position: absolute; top: -35px; background: #000; color: #fff; font-size: 11px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--neon); opacity: 0; transition: 0.3s; pointer-events: none; font-weight: 800; white-space: nowrap; z-index: 100; transform: translateY(10px); }
.chart-col:hover .bar-tooltip { opacity: 1; transform: translateY(0); }
.chart-label { margin-top: 8px; font-size: 10px; color: #666; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.chart-col.active .bar-fill { background: linear-gradient(to top, var(--neon), #fff); box-shadow: 0 0 10px rgba(212,175,55,0.2); }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #222; padding-bottom: 15px; }
.chart-legend { display: flex; gap: 15px; font-size: 10px; color: #888; text-transform: uppercase; font-weight: 700; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.dot-neon { width: 8px; height: 8px; background: var(--neon); border-radius: 50%; box-shadow: 0 0 5px var(--neon); }
@media (max-width: 900px) { .chart-widget { grid-column: span 1; } }

/* --- MIDDLE DASHBOARD GRID (FIXED PROPORTIONS & SPACED CHARTS) --- */
/* Social (210px) | Cel (280px - mniejszy) | Wykres 1 (Auto) | Wykres 2 (Auto) */
.dashboard-middle-grid { display: grid; grid-template-columns: 210px 280px 1fr 1fr; gap: 20px; align-items: stretch; }

/* 3 & 4. Charts (Spaced & Clean) */
.chart-widget-box { padding: 15px 15px 0 15px; }
/* WAŻNE: padding-top odsuwa wykres od tytułu, robiąc miejsce na tooltip */
.chart-bars-container { display: flex; justify-content: space-between; height: 100%; width: 100%; gap: 4px; align-items: stretch; position: relative; padding-top: 40px; padding-bottom: 10px; }
.chart-col { display: flex; flex-direction: column; align-items: center; flex: 1; cursor: pointer; height: 100%; justify-content: flex-end; position: relative; min-width: 15px; }
.bar-fill { width: 65%; background: #333; border-radius: 3px; transition: height 0.5s ease; position: relative; min-height: 4px; }
.chart-col:hover .bar-fill { background: var(--neon) !important; box-shadow: 0 0 15px var(--neon); }
.bar-label { font-size: 9px; color: #555; margin-top: 8px; font-weight: 700; font-family: monospace; }

/* Tooltips (Fixed Z-Index & Position) */
.bar-tooltip { visibility: hidden; background-color: #000; color: #fff; text-align: center; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--neon); position: absolute; z-index: 1000; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 8px; font-size: 11px; font-weight: 800; white-space: nowrap; opacity: 0; transition: opacity 0.2s; box-shadow: 0 5px 20px rgba(0,0,0,0.9); pointer-events: none; }
/* Strzałka w dół */
.bar-tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: var(--neon) transparent transparent transparent; }
.chart-col:hover .bar-tooltip { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(-5px); }

/* Responsywność */
@media (max-width: 1500px) { .dashboard-middle-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; } .goal-widget-container { grid-column: span 1; } }
@media (max-width: 700px) { .dashboard-middle-grid { grid-template-columns: 1fr; } }



/* --- ISTNIEJĄCE STYLE AUTH (Twoje + Poprawki) --- */
.auth-body { background-color: #050505; background-image: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 100%); height: 100vh; display: flex; align-items: center; justify-content: center; margin: 0; }
.auth-container { width: 100%; max-width: 400px; padding: 20px; }
.auth-box { background: rgba(20, 20, 20, 0.9); border: 1px solid #333; padding: 40px 30px; border-radius: 20px; text-align: center; box-shadow: 0 0 50px rgba(0,0,0,0.8); backdrop-filter: blur(10px); border-top: 1px solid rgba(212, 175, 55, 0.3); animation: fadeIn 0.8s ease-out; }
.auth-logo { max-width: 220px; margin-bottom: 20px; }
.auth-title { color: var(--neon); font-size: 24px; font-weight: 900; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 2px; }
.auth-subtitle { color: #666; font-size: 12px; margin-bottom: 30px; font-weight: 700; text-transform: uppercase; }
.auth-input-group { margin-bottom: 20px; text-align: left; }
.auth-input-group label { display: block; color: #888; font-size: 10px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.auth-input { width: 100%; padding: 15px; background: #0a0a0a !important; border: 1px solid #333 !important; color: #fff !important; border-radius: 8px; font-family: 'Montserrat', sans-serif; transition: 0.3s; box-sizing: border-box; } /* Dodano box-sizing */
.auth-input:focus { border-color: var(--neon) !important; box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); outline: none; }
.auth-btn { width: 100%; padding: 15px; background: var(--neon); color: #000; border: none; border-radius: 8px; font-weight: 900; font-size: 16px; cursor: pointer; text-transform: uppercase; transition: 0.3s; margin-top: 10px; letter-spacing: 1px; }
.auth-btn:hover { background: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
.auth-footer { margin-top: 25px; font-size: 12px; color: #666; }
.auth-link { color: var(--neon); text-decoration: none; font-weight: 700; margin-left: 5px; transition: 0.3s; }
.auth-link:hover { color: #fff; text-shadow: 0 0 10px white; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.password-group-wrapper { position: relative; width: 100%; }
.password-toggle-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #666; cursor: pointer; transition: 0.3s; z-index: 10; }
.password-toggle-icon:hover { color: var(--neon); }
.login-separator { margin: 25px 0; position: relative; text-align: center; }
.login-separator::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: #333; z-index: 0; }
.login-separator span { background: #141414; padding: 0 10px; color: #666; font-size: 12px; position: relative; z-index: 1; text-transform: uppercase; }
.btn-google { width: 100%; padding: 12px; background: #fff; color: #333; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-google:hover { background: #f1f1f1; transform: translateY(-1px); }
.error-msg { color: #ff4d4d; font-size: 12px; margin-top: 15px; display: none; text-align: center; font-weight: 600; }

/* --- PRELOADER (Bezpieczny) --- */
.app-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-body); z-index: 9999; display: flex; justify-content: center; align-items: center; animation: safety-hide 0s linear 3s forwards; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-logo { width: 80px; opacity: 0.8; }
.spinner { width: 40px; height: 40px; border: 4px solid #333; border-top: 4px solid var(--neon); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes safety-hide { to { opacity: 0; visibility: hidden; } }

/* --- CUSTOM ALERTS --- */
.custom-alert-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.85);z-index:9999;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:0.3s;backdrop-filter:blur(5px)}
.custom-alert-overlay.active{opacity:1;visibility:visible}
.custom-alert-box{background:#111;border:1px solid var(--neon);width:400px;padding:30px;border-radius:15px;text-align:center;box-shadow:0 0 40px rgba(212,175,55,0.2);transform:scale(0.8);transition:0.3s}
.custom-alert-overlay.active .custom-alert-box{transform:scale(1)}
.custom-alert-icon{font-size:40px;margin-bottom:15px;color:var(--neon)}
.custom-alert-icon.error{color:var(--danger)}
.custom-alert-icon.success{color:var(--success)}
.custom-alert-title{font-size:20px;font-weight:900;color:#fff;text-transform:uppercase;margin-bottom:10px;letter-spacing:1px}
.custom-alert-msg{font-size:14px;color:#ccc;margin-bottom:25px;line-height:1.4}
.custom-alert-btn{background:var(--neon);color:#000;border:none;padding:12px 30px;font-weight:900;border-radius:6px;cursor:pointer;text-transform:uppercase;font-size:14px;transition:0.3s;min-width:100px}
.custom-alert-btn:hover{background:#fff;box-shadow:0 0 15px rgba(255,255,255,0.5)}
.custom-alert-btn.cancel{background:#333;color:#fff;margin-right:10px}
.custom-alert-btn.cancel:hover{background:#555}
.custom-toast { position:fixed; bottom:30px; left:50%; transform:translateX(-50%) translateY(100px); background:#111; border:1px solid var(--neon); color:#fff; padding:15px 30px; border-radius:30px; display:flex; align-items:center; gap:15px; box-shadow:0 10px 30px rgba(0,0,0,0.8); z-index:10000; opacity:0; transition:0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); font-weight:700; text-transform:uppercase; letter-spacing:1px; pointer-events:none; }
.custom-toast.show { transform:translateX(-50%) translateY(0); opacity:1; }
.custom-toast i { color:var(--success); font-size:20px; }


/* --- CHECKLIST REDESIGN V3 (BIG SQUARE TILES) --- */
.checklist-banner { background: linear-gradient(145deg, #1a1a1a, #111); padding: 30px; border-radius: 12px; margin-bottom: 30px; border: 1px solid #333; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.checklist-info-group { display: flex; flex-direction: column; }
.checklist-label-small { font-size: 11px; color: var(--neon); letter-spacing: 2px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.checklist-event-title { font-size: 26px; font-weight: 900; color: #fff; margin: 0; letter-spacing: -0.5px; }
.checklist-event-date { font-size: 15px; color: #aaa; font-weight: 500; margin-top: 5px; }
.checklist-btn-large { font-size: 18px; font-weight: 800; padding: 15px 40px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.checklist-actions-row { margin-bottom: 20px; text-align: right; border-bottom: 2px solid var(--neon); padding-bottom: 15px; }
.checklist-container { display: flex; flex-direction: column; gap: 50px; width: 100%; max-width: 1600px; margin: 0 auto; }
.checklist-category-block { margin-bottom: 10px; animation: fadeIn 0.5s ease-out; }
.checklist-category-header { font-size: 18px; font-weight: 900; color: var(--neon); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.checklist-category-header i { font-size: 22px; }
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; width: 100%; }
.checklist-card { background: #161616; border: 2px solid #2a2a2a; border-radius: 16px; padding: 25px; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; min-height: 280px; justify-content: space-between; }
.checklist-card:hover { transform: translateY(-8px); border-color: var(--neon); box-shadow: 0 10px 30px rgba(0,0,0,0.7); background: #1a1a1a; }
.checklist-card.checked { border-color: var(--success); background: rgba(0, 255, 136, 0.05); opacity: 0.7; }
.checklist-card.checked:hover { opacity: 1; }
.checklist-icon-large { font-size: 50px; color: #444; margin-bottom: 15px; transition: 0.3s; filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)); margin-top: 20px; }
.checklist-card:hover .checklist-icon-large { color: #fff; transform: scale(1.1); }
.checklist-card.checked .checklist-icon-large { color: var(--success); }
.checklist-content { width: 100%; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.checklist-item-title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.3; text-transform: uppercase; }
.checklist-card.checked .checklist-item-title { text-decoration: line-through; color: #777; }
.checklist-item-details { font-size: 13px; color: #aaa; font-weight: 500; line-height: 1.5; background: rgba(0,0,0,0.3); padding: 8px 12px; border-radius: 8px; width: 100%; }
.qty-badge { position: absolute; top: 15px; left: 15px; background: var(--neon); color: #000; font-weight: 900; font-size: 14px; padding: 5px 12px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); z-index: 2; }
.chk-visual-corner { position: absolute; top: 15px; right: 15px; width: 28px; height: 28px; border: 2px solid #555; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: 0.2s; background: #0f0f0f; }
.checklist-card.checked .chk-visual-corner { background: var(--success); border-color: var(--success); box-shadow: 0 0 15px rgba(0, 255, 136, 0.5); }
.chk-visual-corner i { color: #000; font-size: 16px; opacity: 0; transform: scale(0.5); transition: 0.2s; font-weight: 900; }
.checklist-card.checked .chk-visual-corner i { opacity: 1; transform: scale(1); }
.checklist-real-checkbox { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
@media (max-width: 768px) { .checklist-grid { grid-template-columns: 1fr; } .checklist-card { min-height: auto; flex-direction: row; text-align: left; align-items: center; padding: 15px; } .checklist-icon-large { font-size: 30px; margin-bottom: 0; margin-right: 15px; margin-top: 0; } .qty-badge { position: static; margin-right: 10px; font-size: 11px; box-shadow: none; } .checklist-content { align-items: flex-start; } .chk-visual-corner { position: static; margin-left: auto; } }

/* style.css - Minimalny reset druku */
@media print {
    /* Ukrywamy stary interfejs tylko dla pewności */
    .admin-layout, .sidebar, .mobile-menu-toggle { display: none !important; }
}
/* --- KALENDARZ PEŁNOEKRANOWY --- */
.nav-cal-header-bar { display: flex; justify-content: space-between; align-items: center; background: var(--card-bg); padding: 20px; border-radius: 12px 12px 0 0; border: 1px solid var(--card-border); border-bottom: none; }
.nav-cal-controls { display: flex; align-items: center; gap: 20px; }
.nav-cal-controls h2 { margin: 0; color: var(--neon); font-size: 24px; font-weight: 900; text-transform: uppercase; min-width: 260px; text-align: center; user-select: none; }
.nav-cal-nav-btn { background: none; border: 1px solid var(--card-border); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: 0.3s; font-size: 18px; }
.nav-cal-nav-btn:hover { border-color: var(--neon); color: var(--neon); }
.nav-cal-summary { display: flex; gap: 20px; font-size: 14px; font-weight: 700; color: #888; }
.nav-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: #111; border: 1px solid var(--card-border); border-bottom: none; }
.nav-cal-weekdays div { padding: 15px; text-align: center; color: var(--text-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; border-right: 1px solid #222; }
.nav-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); background: #000; border: 1px solid var(--card-border); border-top: none; }
.nav-cal-day { min-height: 140px; background: #0a0a0a; border-right: 1px solid #222; border-bottom: 1px solid #222; padding: 10px; position: relative; transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-cal-day:hover { background: #111; }
.nav-cal-day-num { font-size: 14px; font-weight: 700; color: #444; align-self: flex-end; margin-bottom: 5px; }
.nav-cal-day.today { background: rgba(212,175,55,0.03); }
.nav-cal-day.today .nav-cal-day-num { color: var(--neon); font-size: 18px; font-weight: 900; }
.nav-cal-day.other-month { opacity: 0.3; pointer-events: none; background: #050505; }
.nav-cal-event-chip { background: #161616; border-left: 3px solid var(--neon); padding: 6px 8px; border-radius: 4px; font-size: 11px; color: #fff; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 3px; transition: 0.3s; }
.nav-cal-event-chip:hover { transform: scale(1.02); background: #222; border-color: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.nav-cal-event-chip.type-wesele { border-color: var(--neon); }
.nav-cal-event-chip.type-18stka { border-color: #ff00ff; }
.nav-cal-event-chip.type-klub { border-color: #00aaff; }
.nav-cal-modal-box { width: 600px!important; height: auto!important; max-height: 90vh; }
.nav-cal-form-grid { margin-top: 20px; }
.nav-cal-actions { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; align-items: center; }
#nav-cal-btn-save { width: 100%; padding: 20px; font-size: 18px; font-weight: 900; text-align: center; display: block; letter-spacing: 1px; }
#nav-cal-btn-delete { width: 100%; padding: 15px; opacity: 0.7; }
#nav-cal-ev-type { width: 100%; border-radius: 8px; border-color: #444; }

/* --- INWESTYCJE - POPRAWKI (STYLES UPDATE) --- */
.inv-wallet-banner { background: linear-gradient(135deg, #111 0%, #1a1a1a 100%); border: 1px solid #333; border-left: 5px solid #3eb6ea; border-radius: 12px; padding: 30px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; box-shadow: 0 5px 25px rgba(0,0,0,0.5); }
.inv-wallet-left { display: flex; align-items: center; gap: 25px; }
.inv-wallet-icon { font-size: 45px; color: #3eb6ea; opacity: 1; filter: drop-shadow(0 0 10px rgba(212,175,55,0.4)); }
.inv-wallet-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.inv-wallet-value { font-size: 38px; font-weight: 900; color: #fff; margin: 5px 0; text-shadow: 0 0 15px rgba(255,255,255,0.1); }
/* --- FIX PRZYCISKU ZAMYKARNIA (X) --- */
.modal-close-fix { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; background: #111; border: 1px solid #333; border-radius: 50%; color: #ff4444; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10000; transition: 0.3s; font-size: 18px; user-select: none; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.modal-close-fix:hover { background: #ff4444; color: #fff; border-color: #ff4444; transform: rotate(90deg); box-shadow: 0 0 15px rgba(255, 68, 68, 0.4); }

/* POPRAWIONY TEKST AUTOMATYCZNEJ ALOKACJI (JAŚNIEJSZY I WYRAŹNIEJSZY) */
.inv-wallet-sub { font-size: 13px; color: #e0e0e0; font-weight: 600; margin-top: 8px; opacity: 0.9; display: flex; align-items: center; gap: 5px; }
.inv-wallet-sub::before { content: 'ℹ'; display: inline-block; width: 16px; height: 16px; background: #333; color: #fff; border-radius: 50%; text-align: center; line-height: 16px; font-size: 10px; }

/* POPRAWIONE PRZYCISKI (DUŻE I ZAOKRĄGLONE) */
.inv-wallet-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-gold-outline { background: transparent; border: 2px solid #3eb6ea; color: #3eb6ea; padding: 12px 25px; border-radius: 50px; cursor: pointer; font-size: 13px; font-weight: 800; transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-gold-outline:hover { background: #3eb6ea; color: #000; box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }

.btn-gold-small { background: linear-gradient(135deg, #3eb6ea 0%, #3eb6ea 100%); color: #000; border: none; padding: 12px 30px; border-radius: 50px; font-weight: 900; cursor: pointer; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 4px 15px rgba(212,175,55,0.2); transition: 0.3s; }
.btn-gold-small:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.4); color: #fff; }

/* PRZYCISKI KALKULATORA I MODALI */
.btn-gold.full-width { width: 100%; border-radius: 50px; padding: 15px; font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }

/* INNE ELEMENTY UI */
.inv-layout-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 25px; }
@media (max-width: 1100px) { .inv-layout-grid { grid-template-columns: 1fr; } }
.inv-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid #333; padding-bottom: 15px; }
.inv-item-card { background: #161616; border: 1px solid #2a2a2a; border-radius: 12px; padding: 20px; display: grid; grid-template-columns: 90px 1fr 220px; gap: 20px; margin-bottom: 20px; transition: 0.2s; position: relative; }
.inv-item-card:hover { transform: translateY(-3px); border-color: #555; background: #1c1c1c; }
.inv-item-card.deadline-danger { border: 2px solid #ff0033; box-shadow: 0 0 20px rgba(255, 0, 51, 0.3); }
.inv-img-box { width: 90px; height: 90px; background: #000; border-radius: 10px; overflow: hidden; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }
.inv-img-box img { width: 100%; height: 100%; object-fit: cover; }
.inv-img-placeholder { color: #333; font-size: 30px; }
.inv-progress-sect { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid #333; padding-left: 20px; }
.inv-prog-bar-bg { height: 10px; background: #000; border: 1px solid #333; border-radius: 10px; overflow: hidden; margin: 10px 0; }
.inv-prog-fill { height: 100%; background: linear-gradient(90deg, #3eb6ea, #F8E71C); width: 0%; transition: width 0.6s ease-out; }
.inv-actions { display: flex; gap: 10px; margin-top: 5px; }
.inv-btn-act { flex: 1; padding: 8px 0; font-size: 11px; font-weight: 800; border: none; border-radius: 6px; cursor: pointer; text-transform: uppercase; }
.btn-act-dep { background: #333; color: #fff; border: 1px solid #444; } .btn-act-dep:hover { background: #fff; color: #000; }
.btn-act-buy { background: #27ae60; color: #fff; } .btn-act-buy:hover { background: #2ecc71; box-shadow: 0 0 10px #2ecc71; }
.btn-act-buy:disabled { background: #222; color: #555; cursor: not-allowed; box-shadow: none; }
.inv-cat-title { font-size: 16px; color: #3eb6ea; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 15px; }
.inv-cat-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #333, transparent); }
.inv-roi-result { background: #111; border: 2px solid var(--neon); padding: 15px; border-radius: 10px; text-align: center; margin-top: 15px; box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
.inv-roi-result strong { display: block; font-size: 32px; color: var(--neon); margin: 5px 0; text-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
.inv-roi-form { margin-bottom: 25px !important; /* Większy odstęp pod inputami */ gap: 15px !important; /* Odstęp między inputami */ }

/* --- ZALADUNEK STYLES --- */
.loading-header-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-bottom: 20px; }
.big-progress-container { background: #1a1a1a; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #333; }
.big-progress-bar-bg { height: 30px; background: #333; border-radius: 15px; overflow: hidden; margin-top: 10px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); }
.big-progress-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #3eb6ea, #F8E71C); transition: width 0.5s ease; box-shadow: 0 0 15px rgba(212, 175, 55, 0.5); }
.setup-selector-box { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.setup-select { background: #000; color: #fff; border: 1px solid var(--neon); padding: 10px; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 16px; margin-top: 5px; cursor: pointer; }
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.checklist-group { background: #161616; border: 1px solid #2a2a2a; border-radius: 10px; padding: 15px; }
.checklist-title { color: var(--neon); font-weight: 700; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.checklist-item { display: flex; align-items: center; padding: 10px; margin-bottom: 5px; background: #0f0f0f; border-radius: 6px; cursor: pointer; transition: all 0.2s; border-left: 3px solid transparent; }
.checklist-item:hover { background: #222; }
.checklist-item.checked { background: rgba(46, 204, 113, 0.1); border-left: 3px solid #2ecc71; opacity: 0.6; text-decoration: line-through; color: #888; }
.checklist-icon { width: 24px; text-align: center; margin-right: 15px; color: #555; }
.checklist-item.checked .checklist-icon { color: #2ecc71; }
.tetris-guide { height: 200px; background-color: #000; background-image: url('img/trunk-tetris-placeholder.jpg'); background-size: cover; background-position: center; border-radius: 10px; border: 2px dashed #444; display: flex; align-items: center; justify-content: center; color: #666; font-size: 14px; margin-top: 10px; position: relative; }
.tetris-guide:hover { border-color: var(--neon); color: var(--neon); }
.tetris-overlay { background: rgba(0,0,0,0.7); padding: 10px 20px; border-radius: 20px; }
.group-personal { border: 1px solid var(--danger); }
.group-personal .checklist-title { color: var(--danger); }
.btn-icon-small { background: none; border: none; color: #555; cursor: pointer; transition: 0.3s; }
.btn-icon-small:hover { color: #fff; transform: rotate(-90deg); }

/* =========================================
   POPRAWKI UI: SZABLONY, ZGŁOSZENIA, KLIENT (ONE LINE FIX)
   ========================================= */

/* --- KARTY SZABLONÓW --- */
.template-card { background: linear-gradient(145deg, #1a1a1a, #111); border: 1px solid #333; padding: 25px; border-radius: 16px; transition: 0.3s; display: flex; flex-direction: column; gap: 15px; }
.template-card:hover { border-color: var(--neon); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.template-name { font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.template-stats { font-size: 12px; color: #888; font-weight: 600; text-transform: uppercase; }

/* --- KREATOR (MODAL) --- */
#stepsContainer { display: flex; flex-direction: column; gap: 30px; margin-top: 30px; }
.step-box { background: #131313; border: 1px solid #333; padding: 30px; border-radius: 16px; position: relative; }
.step-title { font-size: 12px; font-weight: 900; color: var(--neon); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; display: block; }
.question-editor-item { background: rgba(255,255,255,0.02); padding: 25px; border-radius: 12px; border: 1px solid #2a2a2a; margin-bottom: 20px; }
.question-editor-item:last-child { margin-bottom: 0; }
.dark-select { background: #000 !important; border: 1px solid #444 !important; color: #fff !important; padding: 12px 15px !important; border-radius: 8px !important; font-family: 'Montserrat', sans-serif !important; cursor: pointer; }
.delete-btn { background: rgba(255, 59, 59, 0.1); color: #ff3b3b; border: 1px solid #ff3b3b; padding: 10px 15px; border-radius: 8px; cursor: pointer; transition: 0.2s; font-weight: 800; font-size: 12px; }
.delete-btn:hover { background: #ff3b3b; color: #fff; }

/* --- PODGLĄD ZGŁOSZENIA (FIX ŚCISKU W PANELU ADMINA) --- */
.response-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 20px 0; }
.resp-item-v2 { background: #111; padding: 25px; border-radius: 12px; border: 1px solid #2a2a2a; border-left: 3px solid var(--neon); transition: 0.2s; }
.resp-item-v2.full { grid-column: span 2; }
.resp-label-v2 { font-size: 11px; color: #666; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.resp-val-v2 { font-size: 16px; color: #fff; font-weight: 600; line-height: 1.6; word-break: break-word; }

/* --- PRZYCISKI --- */
.btn-gold-outline { background: transparent; border: 1px solid var(--neon); color: var(--neon); padding: 15px; border-radius: 10px; cursor: pointer; font-weight: 800; font-size: 13px; text-transform: uppercase; transition: 0.3s; }
.btn-gold-outline:hover { background: var(--neon); color: #000; }
.btn-convert { background: var(--success); color: #000; border: none; padding: 15px 30px; border-radius: 10px; font-weight: 900; cursor: pointer; text-transform: uppercase; font-size: 13px; transition: 0.3s; }
.btn-convert:hover { transform: scale(1.05); filter: brightness(1.1); box-shadow: 0 0 20px rgba(0,255,136,0.3); }

/* --- STATUSY --- */
.status-badge { padding: 6px 12px; border-radius: 6px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.status-badge.warning { background: rgba(212, 175, 55, 0.1); color: var(--neon); border: 1px solid var(--neon); }
.status-badge.ok { background: rgba(0, 255, 136, 0.1); color: var(--success); border: 1px solid var(--success); }

/* --- FIX DLA FORMULARZA KLIENTA (LUŹNIEJSZY UKŁAD & UKRYCIE NUMERKÓW) --- */
.client-navbar { justify-content: center !important; height: 120px; }
.client-logo { max-height: 70px !important; width: auto !important; object-fit: contain; }
.client-container { padding-top: 60px; max-width: 900px; }
.client-form-box { display: block !important; padding: 50px !important; }
.inp-group input[type="date"] { color-scheme: dark; }
#progressText { letter-spacing: 3px; font-weight: 900; color: #444; margin-bottom: 40px; }
.summary-container strong { color: var(--neon); }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px !important; margin-bottom: 30px !important; }
.inp-group { display: flex; flex-direction: column; margin-bottom: 10px; }
.inp-group.full { grid-column: 1 / -1; }
.step-num { display: none !important; }
.step-header h2 { text-align: center; font-size: 22px; margin-bottom: 40px; color: var(--neon); text-transform: uppercase; letter-spacing: 2px; }
/* --- FIX NAGŁÓWKA MODALA I PRZYCISK USUWANIA --- */
#templatePickerModal .setting-group-header { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100%; }
.btn-delete-dark { background: rgba(255, 59, 59, 0.1); border: 1px solid #ff3b3b; color: #ff3b3b; border-radius: 8px; width: 40px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.btn-delete-dark:hover { background: #ff3b3b; color: #fff; }


/* --- PLANNER STYLES (One Line Per Selector) --- */
.planner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.planner-card { background: #1a1a1a; border: 1px solid #333; border-radius: 10px; padding: 20px; transition: 0.3s; position: relative; overflow: hidden; cursor: pointer; }
.planner-card:hover { transform: translateY(-5px); border-color: var(--neon); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2); }
.planner-card-date { font-size: 11px; color: var(--neon); font-weight: 800; letter-spacing: 1px; margin-bottom: 5px; }
.planner-card-title { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 5px; text-transform: uppercase; }
.planner-card-loc { font-size: 12px; color: #888; }
.planner-card-actions { margin-top: 15px; border-top: 1px solid #333; padding-top: 10px; display: flex; justify-content: flex-end; gap: 10px; }
.archive .planner-card { opacity: 0.6; filter: grayscale(0.8); }
.archive .planner-card:hover { opacity: 1; filter: grayscale(0); }
/* --- EDITOR STYLES --- */
.planner-toolbar { background: #111; padding: 15px; border-radius: 10px; border: 1px solid #333; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; position: sticky; top: 10px; z-index: 100; box-shadow: 0 5px 20px rgba(0,0,0,0.8); }
.planner-meta-inputs { display: flex; gap: 10px; flex: 1; margin: 0 20px; }
.planner-meta-inputs input { background: #222; border: 1px solid #444; color: #fff; padding: 10px; border-radius: 5px; width: 100%; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.planner-meta-inputs input:focus { border-color: var(--neon); outline: none; }
.planner-preset-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; background: #1a1a1a; padding: 10px 20px; border-radius: 8px; border: 1px solid #333; }
.preset-btn { background: #333; color: #ccc; border: 1px solid #444; padding: 5px 15px; border-radius: 20px; cursor: pointer; font-size: 11px; font-weight: bold; transition: 0.2s; }
.preset-btn:hover { background: var(--neon); color: #000; border-color: var(--neon); }
.planner-editor-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 1000px) { .planner-editor-grid { grid-template-columns: 1fr; } }
/* --- TIMELINE TABLE --- */
.planner-col-timeline { background: #1a1a1a; padding: 20px; border-radius: 10px; border: 1px solid #333; }
.planner-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.planner-table th { text-align: left; color: #666; font-size: 10px; padding: 5px; border-bottom: 1px solid #333; }
.planner-table td { padding: 5px; border-bottom: 1px solid #222; }
.planner-inp-time { background: #111; border: 1px solid #333; color: var(--neon); padding: 8px; border-radius: 4px; width: 100%; text-align: center; font-weight: bold; }
.planner-inp-text { background: transparent; border: none; color: #ddd; padding: 8px; width: 100%; font-family: 'Montserrat', sans-serif; border-bottom: 1px solid transparent; transition: 0.2s; }
.planner-inp-text:focus { border-bottom: 1px solid var(--neon); outline: none; background: #151515; }
.btn-del-row { color: #444; background: none; border: none; cursor: pointer; transition: 0.2s; }
.btn-del-row:hover { color: #ff4444; }
.btn-add-row { width: 100%; padding: 10px; background: #222; border: 1px dashed #444; color: #888; margin-top: 10px; cursor: pointer; border-radius: 5px; transition: 0.2s; }
.btn-add-row:hover { background: #333; color: #fff; border-color: #666; }
/* --- RIGHT COLUMN --- */
.km-row { display: flex; align-items: center; margin-bottom: 10px; }
.km-row label { width: 120px; font-size: 12px; color: #aaa; font-weight: 600; }
.km-row input { flex: 1; background: #111; border: 1px solid #333; color: #fff; padding: 8px; border-radius: 4px; }
.music-box { margin-bottom: 15px; border: 1px solid #333; border-radius: 6px; overflow: hidden; }
.mb-head { background: #222; color: #ccc; font-size: 10px; padding: 5px 10px; font-weight: bold; }
.must-play .mb-head { color: #2ecc71; }
.black-list .mb-head { color: #ff4444; }
.requests .mb-head { color: var(--neon); }
.music-box textarea { width: 100%; background: #111; border: none; color: #fff; padding: 10px; min-height: 80px; resize: vertical; font-size: 12px; }
.games-selector select { width: 100%; padding: 10px; background: #111; color: #fff; border: 1px solid #333; margin-bottom: 10px; }
.games-list { list-style: none; padding: 0; margin: 0; }
.games-list li { background: #222; padding: 8px; margin-bottom: 5px; border-radius: 4px; display: flex; justify-content: space-between; font-size: 12px; border-left: 2px solid var(--neon); }
.games-list li i { cursor: pointer; color: #666; }
.games-list li i:hover { color: #ff4444; }
/* --- PRINT --- */
/* @media print { body * { visibility: hidden; } #plannerEditorView, #plannerEditorView * { visibility: visible; } #plannerEditorView { position: absolute; left: 0; top: 0; width: 100%; background: white; color: black; padding: 20px; } .planner-toolbar, .planner-preset-bar, .btn-add-row, .games-selector select { display: none !important; } .planner-editor-grid { display: block; } .planner-col-timeline, .dashboard-widget { border: none !important; background: white !important; box-shadow: none !important; padding: 0; margin-bottom: 30px; page-break-inside: avoid; } .planner-inp-text, .planner-inp-time, .km-row input, textarea { background: white !important; color: black !important; border: 1px solid #ddd !important; } .section-title, .widget-title { color: black !important; border-bottom: 2px solid black; } .planner-table th { color: black; border-bottom: 2px solid black; } .planner-table td { border-bottom: 1px solid #ddd; } } */



/* =========================================
   DOKUMENTACJA / PAPIERY (FULL SYSTEM CSS)
   ========================================= */

/* --- TABS & LAYOUT --- */
.paper-tabs { display: flex; gap: 15px; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 0; }
.paper-tab-btn { background: transparent; border: none; color: #666; padding: 15px 25px; cursor: pointer; font-weight: 800; transition: 0.3s; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 3px solid transparent; position: relative; top: 1px; }
.paper-tab-btn:hover { color: #fff; }
.paper-tab-btn.active { color: var(--neon); border-bottom-color: var(--neon); text-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
.paper-tab-btn i { margin-right: 8px; font-size: 16px; }
.paper-view { display: none; animation: fadeIn 0.4s ease-out; }
.paper-view.active { display: block; }
.paper-split-layout { display: grid; grid-template-columns: 450px 1fr; gap: 30px; height: calc(100vh - 180px); overflow: hidden; }
.paper-form-col { background: #161616; padding: 30px; border-radius: 12px; border: 1px solid #333; height: 100%; overflow-y: auto; }
.paper-preview-col { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.widget-title { font-size: 16px; font-weight: 900; color: var(--neon); text-transform: uppercase; margin-bottom: 25px; border-bottom: 1px solid #333; padding-bottom: 15px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.widget-title i { font-size: 18px; }
@media (max-width: 1200px) { .paper-split-layout { grid-template-columns: 1fr; height: auto; overflow: visible; } .paper-form-col { height: auto; } .paper-preview-col { height: 800px; } }

/* --- ARCHIVE / CARDS --- */
.doc-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; position: relative; }
.doc-section-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--neon), transparent); box-shadow: 0 1px 10px var(--neon); }
.doc-sec-title { font-size: 18px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; gap: 12px; }
.doc-sec-title i { color: var(--neon); filter: drop-shadow(0 0 5px var(--neon)); font-size: 20px; }
.docs-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.doc-card { background: linear-gradient(145deg, #161616, #0e0e0e); border: 1px solid #333; border-radius: 12px; padding: 25px; position: relative; transition: 0.3s; display: flex; flex-direction: column; align-items: center; text-align: center; }
.doc-card:hover { border-color: var(--neon); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(212,175,55,0.05); }
.doc-card-icon { font-size: 42px; color: #ff4444; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(255, 68, 68, 0.2)); background: rgba(255, 68, 68, 0.05); width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,68,68,0.2); }
.doc-card-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 5px; line-height: 1.4; word-break: break-word; }
.doc-card-date { font-size: 11px; color: #666; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }
.doc-card-actions { display: flex; gap: 10px; width: 100%; margin-top: auto; }
.doc-btn { flex: 1; padding: 10px; border-radius: 6px; border: 1px solid #333; background: #000; color: #888; cursor: pointer; transition: 0.2s; font-size: 12px; font-weight: 700; }
.doc-btn:hover { color: #fff; border-color: #fff; }
.doc-btn.view:hover { background: var(--neon); color: #000; border-color: var(--neon); box-shadow: 0 0 10px var(--neon); }
.doc-btn.del:hover { background: #ff4444; color: #fff; border-color: #ff4444; box-shadow: 0 0 10px #ff4444; }
.empty-docs-state { grid-column: 1 / -1; background: rgba(255,255,255,0.02); border: 2px dashed #333; border-radius: 12px; padding: 40px; text-align: center; color: #555; }
.empty-docs-state i { font-size: 40px; margin-bottom: 15px; opacity: 0.5; }
.empty-docs-state div { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* --- FORMS (CONTRACT & INVOICE) --- */
.form-group-box { background: rgba(0,0,0,0.2); border: 1px solid #2a2a2a; border-radius: 10px; padding: 25px; margin-bottom: 30px; display: flex; flex-direction: column; gap: 25px; }
.form-section-title { font-size: 11px; color: var(--neon); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; margin: 0; border-bottom: 1px solid rgba(212, 175, 55, 0.2); padding-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.form-section-title i { font-size: 14px; color: var(--neon); opacity: 0.8; }
.form-grid-2-col-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 100%; }
.paper-input-group { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.paper-input-group label { display: block; font-size: 10px; color: #888; font-weight: 700; text-transform: uppercase; transition: 0.3s; margin-left: 2px; }
.paper-input-group:focus-within label { color: #fff; }
.paper-input-group input { width: 100%; background: #0f0f0f; border: 1px solid #333; color: #fff; padding: 14px; border-radius: 6px; font-weight: 600; font-size: 13px; transition: 0.3s; }
.paper-input-group input:focus { border-color: var(--neon); box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); background: #050505; outline: none; }
.paper-input-group input::placeholder { color: #444; font-weight: 400; }
.invoice-items-mini-list { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; max-height: 200px; overflow-y: auto; padding-right: 5px; }
.mini-inv-row { background: #111; padding: 10px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; border-left: 2px solid #333; font-size: 12px; font-weight: 600; color: #ccc; transition: 0.2s; margin: 0; }
.mini-inv-row:hover { border-left-color: var(--neon); background: #161616; color: #fff; }
.mini-inv-row span:last-child { color: var(--neon); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.mini-inv-row i.fa-xmark { color: #555; cursor: pointer; transition: 0.2s; font-size: 14px; }
.mini-inv-row i.fa-xmark:hover { color: #ff4444; transform: scale(1.2); }
.vars-legend-box { margin-top: 30px; background: #111; border: 1px dashed #333; padding: 20px; border-radius: 12px; }
.vars-title { font-size: 11px; font-weight: 800; color: #666; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.vars-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.var-tag { background: rgba(212, 175, 55, 0.1); color: var(--neon); border: 1px solid rgba(212, 175, 55, 0.2); padding: 5px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; cursor: pointer; transition: 0.2s; user-select: none; }
.var-tag:hover { background: var(--neon); color: #000; box-shadow: 0 0 10px rgba(212,175,55,0.3); }

/* --- EDITOR & PREVIEW (WYSIWYG & STATIC) --- */
.editor-mode { background: #222; display: flex; flex-direction: column; border-left: 1px solid #333; height: 100%; overflow: hidden; }
.editor-toolbar { background: #1a1a1a; border-bottom: 1px solid #333; padding: 10px 15px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 10; }
.toolbar-group { display: flex; gap: 5px; align-items: center; }
.tool-btn { background: transparent; border: 1px solid transparent; color: #ccc; width: 32px; height: 32px; border-radius: 4px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tool-btn:hover { background: #333; color: #fff; border-color: #444; }
.tool-btn:active { background: var(--neon); color: #000; }
.toolbar-separator { width: 1px; height: 24px; background: #444; margin: 0 5px; }
.tool-select { background: #111; color: #fff; border: 1px solid #444; padding: 4px 8px; border-radius: 4px; font-size: 12px; height: 32px; cursor: pointer; }
.tool-wrapper { display: flex; align-items: center; gap: 5px; background: #111; padding: 0 8px; border: 1px solid #444; border-radius: 4px; height: 32px; color: #ccc; }
.page-nav-mini { display: flex; gap: 4px; margin-left: auto; }
.page-btn { width: 28px; height: 28px; font-size: 11px; padding: 0; display: flex; align-items: center; justify-content: center; background: #333; border: 1px solid #444; color: #888; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.page-btn:hover { color: #fff; border-color: #fff; }
.page-btn.active { background: var(--neon); color: #000; font-weight: 900; border-color: var(--neon); }
.editor-workspace { flex: 1; background: #2e2e2e; padding: 40px; overflow-y: auto; display: flex; justify-content: center; align-items: flex-start; }
.paper-a4-sheet { width: 210mm; min-height: 297mm; background: #fff; color: #000; padding: 25mm 20mm; box-shadow: 0 0 20px rgba(0,0,0,0.5); font-family: 'Times New Roman', serif; font-size: 12pt; line-height: 1.5; outline: none; margin-bottom: 40px; white-space: pre-wrap; overflow-wrap: break-word; }
.paper-a4-white { background: #fff; color: #000; width: 100%; height: 100%; padding: 40px 50px; font-family: 'Times New Roman', serif; font-size: 14px; line-height: 1.5; overflow-y: auto; white-space: pre-wrap; border-radius: 4px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.paper-a4-white:focus { outline: none; box-shadow: 0 0 30px var(--neon); }
.page-nav-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; background: #1a1a1a; padding: 10px 20px; border-radius: 12px; border: 1px solid #333; }
.page-nav-title { font-size: 14px; font-weight: 900; color: var(--neon); text-transform: uppercase; letter-spacing: 1px; }
.page-nav-buttons { display: flex; gap: 5px; }

/* --- DANE.HTML / BAZA WIEDZY STYLES --- */
.knowledge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.search-input-dark { background: #111; border: 1px solid #333; padding: 8px 15px; border-radius: 20px; color: #fff; outline: none; width: 250px; transition: 0.3s; }
.search-input-dark:focus { border-color: var(--neon); box-shadow: 0 0 10px rgba(212,175,55,0.2); }
.knowledge-modal-box { background: #0f0f0f; border: 1px solid #333; border-radius: 20px; width: 550px; max-width: 95%; height: auto; max-height: 90vh; padding: 35px; position: relative; box-shadow: 0 25px 70px rgba(0,0,0,0.8); overflow-y: auto; }
.modal-close-fix { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; background: #111; border: 1px solid #333; border-radius: 50%; color: #666; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100; transition: 0.3s; font-size: 18px; }
.modal-close-fix:hover { background: #ff4444; color: #fff; border-color: #ff4444; transform: rotate(90deg); }
.nav-mag-modal-title { color: var(--neon); font-size: 20px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; border-bottom: 1px solid #222; padding-bottom: 15px; }

/* Karty Zabaw */
.game-card { background: #1a1a1a; border: 1px solid #333; border-radius: 12px; padding: 20px; position: relative; transition: 0.3s; border-left: 3px solid var(--neon); }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(0,0,0,0.5); border-color: #555; }
.game-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.game-title { font-weight: 800; font-size: 16px; color: #fff; text-transform: uppercase; }
.game-cat { font-size: 10px; background: rgba(212,175,55,0.1); color: var(--neon); padding: 3px 8px; border-radius: 4px; font-weight: 700; border: 1px solid rgba(212,175,55,0.2); }
.game-props { font-size: 12px; color: #888; margin-bottom: 15px; font-style: italic; }
.game-desc { font-size: 13px; color: #ccc; line-height: 1.5; white-space: pre-wrap; }
.card-del-btn { position: absolute; bottom: 15px; right: 15px; background: none; border: none; color: #444; cursor: pointer; transition: 0.2s; }
.card-del-btn:hover { color: #ff4444; }

/* Karty Lokali */
.venue-card { background: linear-gradient(145deg, #161616, #0e0e0e); border: 1px solid #222; border-radius: 15px; overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
.venue-card:hover { border-color: var(--neon); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.venue-header { background: #222; padding: 15px; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; }
.venue-name { font-weight: 800; color: #fff; font-size: 15px; }
.venue-city { font-size: 11px; color: var(--neon); font-weight: 700; text-transform: uppercase; }
.venue-body { padding: 15px; flex: 1; }
.venue-tag-row { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.venue-tag { font-size: 10px; padding: 4px 8px; border-radius: 4px; background: #000; border: 1px solid #333; color: #888; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.venue-tag.bad { color: #ff4444; border-color: #ff4444; background: rgba(255,68,68,0.05); }
.venue-tag.good { color: #00ff88; border-color: #00ff88; background: rgba(0,255,136,0.05); }

/* Playlisty */
.playlists-container { display: flex; flex-direction: column; gap: 15px; max-width: 900px; margin: 0 auto; padding-bottom: 40px; }
.playlist-box { background: linear-gradient(145deg, #1a1a1a, #111); border: 1px solid #222; border-left: 4px solid var(--neon); border-radius: 12px; transition: 0.3s; overflow: hidden; }
.playlist-box:hover { border-color: var(--neon); transform: translateX(5px); box-shadow: 0 5px 20px rgba(0,0,0,0.4); }
.playlist-head { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.playlist-head:hover { background: #2a2a2a; }
.playlist-title { font-size: 15px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.playlist-content { display: none; padding: 25px; background: #0a0a0a; border-top: 1px solid #222; color: #aaa; font-family: monospace; line-height: 1.8; }
.playlist-box.open .playlist-content { display: block; }
.playlist-box.open .playlist-head { border-bottom: 1px solid var(--neon); color: var(--neon); }

/* Press Kit */
.press-files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.press-card { background: #111; border: 1px solid #333; padding: 20px; border-radius: 10px; text-align: center; transition: 0.3s; position: relative; }
.press-card:hover { border-color: var(--neon); transform: translateY(-3px); }
.press-icon { font-size: 30px; color: #666; margin-bottom: 15px; }
.press-name { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 15px; word-break: break-all; }
.press-btn { background: var(--neon); border: none; padding: 5px 15px; border-radius: 4px; font-weight: 700; font-size: 11px; cursor: pointer; color: #000; width: 100%; }
.press-btn:hover { background: #fff; }
.press-del { position: absolute; top: 10px; right: 10px; color: #333; cursor: pointer; }
.press-del:hover { color: #ff4444; }

/* Inputy w modalach */
.dark-select, .dark-textarea { width: 100%; background: #0f0f0f; border: 1px solid #333; color: #fff; padding: 12px; border-radius: 6px; font-size: 13px; font-family: 'Montserrat', sans-serif; }
.dark-select:focus, .dark-textarea:focus { border-color: var(--neon); outline: none; }

/* =========================================
   ONBOARDING WIZARD (PREFIX: guide-)
   ========================================= */
.guide-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: 0.3s; }
.guide-overlay.active { opacity: 1; visibility: visible; }
.guide-box { width: 600px; max-width: 95%; max-height: 90vh; overflow-y: auto; background: #111; border: 1px solid #333; border-radius: 16px; padding: 40px; position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.guide-step { display: none; animation: fadeIn 0.4s ease; }
.guide-step.active { display: block; }
.guide-header { text-align: center; margin-bottom: 25px; }
.guide-title { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: 1px; }
.guide-desc { font-size: 13px; color: #888; line-height: 1.5; }
.guide-progress-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.guide-dot { width: 8px; height: 8px; background: #333; border-radius: 50%; transition: 0.3s; }
.guide-dot.active { background: var(--neon); box-shadow: 0 0 10px var(--neon); transform: scale(1.2); }
.guide-grid { display: grid; gap: 15px; }
.guide-input-group { position: relative; }
.guide-label { font-size: 11px; color: #666; font-weight: 700; margin-bottom: 5px; display: block; text-transform: uppercase; }
.guide-input { width: 100%; background: #1a1a1a; border: 1px solid #333; padding: 12px 15px; color: #fff; border-radius: 8px; outline: none; transition: 0.3s; font-family: 'Montserrat', sans-serif; }
.guide-input:focus { border-color: var(--neon); box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.1); }
.guide-neon-picker { display: flex; gap: 15px; justify-content: center; margin: 20px 0; }
.guide-color-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: 0.3s; }
.guide-color-btn.active { transform: scale(1.2); border-color: #fff; }
.guide-avatar-upload { width: 100px; height: 100px; border-radius: 50%; background: #222; border: 2px dashed #444; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; position: relative; }
.guide-avatar-upload:hover { border-color: var(--neon); }
.guide-avatar-img { width: 100%; height: 100%; object-fit: cover; display: none; }
.guide-avatar-img.show { display: block; }
.guide-avatar-icon { font-size: 24px; color: #555; }
.guide-footer { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #222; }
.guide-btn-next { background: var(--neon); color: #000; border: none; padding: 12px 30px; border-radius: 50px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.guide-btn-next:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(var(--neon-rgb), 0.4); }
.guide-btn-back { background: transparent; color: #666; border: none; font-weight: 600; cursor: pointer; transition: 0.3s; }
.guide-btn-back:hover { color: #fff; }
.guide-success-icon { font-size: 60px; color: var(--neon); margin-bottom: 20px; display: block; text-align: center; animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.guide-skip-link { text-align: center; margin-top: 20px; font-size: 12px; color: #555; cursor: pointer; text-decoration: underline; transition: 0.3s; }
.guide-skip-link:hover { color: #fff; }
.guide-prefix-group { display: flex; align-items: center; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; overflow: hidden; transition: 0.3s; }
.guide-prefix-group:focus-within { border-color: var(--neon); box-shadow: 0 0 10px rgba(var(--neon-rgb), 0.1); }
.guide-prefix { background: #222; color: #666; padding: 12px 15px; font-size: 13px; font-weight: 600; border-right: 1px solid #333; white-space: nowrap; }
.guide-prefix i { margin-right: 5px; }
.guide-prefix-input { flex: 1; background: transparent; border: none; color: #fff; padding: 12px; outline: none; font-family: 'Montserrat', sans-serif; }
.guide-warning-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); width: 300px; background: #1a0000; border: 1px solid #ff4444; border-radius: 12px; padding: 20px; text-align: center; z-index: 10000; opacity: 0; visibility: hidden; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 0 30px rgba(255, 0, 0, 0.3); }
.guide-warning-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.guide-warning-icon { font-size: 40px; color: #ff4444; margin-bottom: 15px; }
.guide-warning-text { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.guide-warning-btn { background: #ff4444; color: white; border: none; padding: 8px 20px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 12px; }

/* --- REGULAMIN MODAL (TOS) - FIXED FOOTER VERSION --- */
.tos-overlay { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.9); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s ease; }
.tos-overlay.active { display: flex; opacity: 1; }
.tos-box { background-color: #0f172a; border: 1px solid rgba(168, 85, 247, 0.4); box-shadow: 0 0 40px rgba(168, 85, 247, 0.2); border-radius: 1rem; width: 100%; max-width: 42rem; height: 85vh; max-height: 800px; display: flex; flex-direction: column; transform: scale(0.95); transition: transform 0.3s ease; color: #e2e8f0; overflow: hidden; }
.tos-overlay.active .tos-box { transform: scale(1); }
.tos-header { flex-shrink: 0; padding: 1.5rem; border-bottom: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; background: rgba(15, 23, 42, 0.95); }
.tos-title { font-size: 1.5rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.75rem; }
.tos-badge { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #c084fc; border: 1px solid #a855f7; padding: 0.1rem 0.5rem; border-radius: 0.25rem; }
.tos-close { background: none; border: none; color: #94a3b8; cursor: pointer; transition: color 0.2s, transform 0.2s; }
.tos-close:hover { color: #fff; transform: rotate(90deg); }
.tos-body { flex: 1; overflow-y: auto; padding: 1.5rem; font-size: 0.95rem; line-height: 1.6; }
.tos-body > section + section, .tos-body > .tos-meta { margin-top: 1.5rem; }
.tos-body::-webkit-scrollbar { width: 6px; }
.tos-body::-webkit-scrollbar-track { background: #0f172a; }
.tos-body::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
.tos-body::-webkit-scrollbar-thumb:hover { background: #a855f7; }
.tos-section-title { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.tos-alert { background: rgba(239, 68, 68, 0.1); border-left: 4px solid #ef4444; padding: 1rem; border-radius: 0 0.5rem 0.5rem 0; color: #fca5a5; }
.tos-list { padding-left: 1.25rem; list-style-type: disc; display: flex; flex-direction: column; gap: 0.5rem; }
.tos-meta { font-size: 0.75rem; color: #64748b; text-align: center; padding-top: 1rem; border-top: 1px solid #1e293b; }
.tos-footer { flex-shrink: 0; padding: 1rem 1.5rem; border-top: 1px solid #1e293b; background: rgba(15, 23, 42, 0.95); display: flex; justify-content: flex-end; }
.tos-btn { background-color: #7c3aed; color: #fff; padding: 0.5rem 1.5rem; border-radius: 0.5rem; font-weight: 500; transition: all 0.2s; border: none; cursor: pointer; box-shadow: 0 0 15px rgba(124, 58, 237, 0.3); }
.tos-btn:hover { background-color: #6d28d9; box-shadow: 0 0 25px rgba(124, 58, 237, 0.5); }
.about-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; background-color: #0f172a; border: 1px solid #334155; padding: 0.75rem 1rem; border-radius: 0.75rem; color: #cbd5e1; cursor: pointer; transition: all 0.2s ease; margin-top: 15px; }
.about-btn:hover { background-color: #1e293b; border-color: #a855f7; color: #fff; transform: translateY(-1px); }
.about-btn-content { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; font-weight: 500; }