/* =================================================================
   AS TEST LAB - Modern Tech / Cyber Glassmorphism Stylesheet
   ================================================================= */

:root {
  /* Color Tokens - Dark Mode Default */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(56, 189, 248, 0.3);
  --border-glow: rgba(59, 130, 246, 0.5);

  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-orange: #f59e0b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.75);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(14, 165, 233, 0.3);
  --border-glow: rgba(37, 99, 235, 0.2);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #94a3b8;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);
}

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

p {
  color: var(--text-muted);
}

code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--primary);
  border: 1px solid var(--border-subtle);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-success { color: var(--accent-green) !important; }
.text-accent { color: var(--primary) !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-cloud {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-cloud:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  color: #ffffff;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Top Announcement Bar */
.top-bar {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.82rem;
  padding: 7px 0;
  color: var(--text-muted);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.top-bar-left strong {
  color: var(--text-main);
}

.badge-store {
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  border: 1px solid var(--border-accent);
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.top-tel-link {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.top-tel-link:hover {
  text-decoration: underline;
}

.top-store-link {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.top-store-link:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #ffffff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1440px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
  justify-self: start;
}

.brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f19;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
  flex-shrink: 0;
}

.brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(56, 189, 248, 0.08);
}

.engineer-link {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.engineer-link:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #ffffff;
}

.cta-link {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  border: 1px solid var(--border-accent);
}

.cta-link:hover {
  background: var(--primary);
  color: #0b0f19;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.live-clock {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--primary);
  white-space: nowrap;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 2.85rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  word-break: keep-all;
  line-height: 1.35;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.quick-status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.status-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.status-info .label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.status-info .value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Sections Common */
.section {
  padding: 80px 0;
}

.section-dark {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
  word-break: keep-all;
}

.section-header p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  word-break: keep-all;
}

/* Diagnostics Dashboard */
.diag-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.diag-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.diag-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.diag-card:hover {
  border-color: var(--border-accent);
  background: rgba(255, 255, 255, 0.04);
}

.col-span-2 {
  grid-column: span 2;
}

.diag-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.diag-header i {
  color: var(--primary);
}

.diag-value {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  word-break: break-all;
}

.diag-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.network-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ping-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ping-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
}

.ping-unit {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.ping-status {
  margin-left: 10px;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

/* Tool Grid & Tabs */
.tool-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #0b0f19;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.tool-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.tool-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.bg-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.bg-orange { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.bg-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.bg-teal { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.bg-red { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.bg-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.bg-indigo { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.bg-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }

.tool-info h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.tool-info p {
  font-size: 0.88rem;
  margin-bottom: 16px;
  min-height: 44px;
}

.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-bottom: 18px;
}

.badge-free {
  color: var(--accent-green);
  font-weight: 600;
}

.tool-links {
  margin-top: auto;
}

/* Remote Support Section */
.remote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.remote-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.remote-step-card:hover {
  border-color: var(--border-accent);
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.25);
  margin-bottom: 12px;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.remote-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-preview-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  white-space: nowrap;
}

.code-preview-box span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.code-preview-box code {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: transparent;
  border: none;
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.security-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-green);
}

/* =================================================================
   Remote File Center (Upload & Download Hub)
   ================================================================= */
.file-center-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.file-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  position: relative;
  transition: var(--transition);
}

.file-box:hover {
  border-color: rgba(56, 189, 248, 0.25);
}

.file-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.box-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.box-title i {
  font-size: 1.5rem;
}

.box-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.box-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn-sm {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn-sm:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-accent);
}

.btn-xs {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}

/* Drop Zone */
.drop-zone {
  border: 2px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  background: rgba(56, 189, 248, 0.02);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--primary);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

.file-hidden-input {
  display: none;
}

.drop-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.drop-zone h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

.drop-zone p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.drop-zone p strong {
  color: var(--primary);
}

.drop-note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 8px;
}

/* Upload Queue */
.upload-queue {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.btn-text-danger {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
}

.btn-text-danger:hover {
  text-decoration: underline;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.queue-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.queue-item-size {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-family: 'JetBrains Mono', monospace;
}

.upload-progress-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
  transition: width 0.2s ease;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upload-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.pin-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pin-input-group input {
  width: 95px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  color: var(--text-main);
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 1px;
  transition: var(--transition);
}

.pin-input-group input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

/* File Browser (Right Side) */
.file-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  margin-bottom: 16px;
}

.search-icon {
  color: var(--text-subtle);
  font-size: 1rem;
}

.file-search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.file-count-badge {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 9999px;
  color: var(--text-muted);
}

.file-list-scroll {
  min-height: 280px;
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.15);
}

.file-items-table {
  display: flex;
  flex-direction: column;
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.file-row:last-child {
  border-bottom: none;
}

.file-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.file-main {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.file-type-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.icon-ext-zip { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.icon-ext-exe { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.icon-ext-iso { background: rgba(56, 189, 248, 0.15); color: var(--primary); }
.icon-ext-pdf { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.icon-ext-img { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.icon-ext-doc { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.icon-ext-def { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }

.file-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.file-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.badge-local-only {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.7rem;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}

.nas-offline-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.nas-offline-banner i {
  font-size: 1.1rem;
  color: var(--accent-red);
  flex-shrink: 0;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}

.file-loading,
.file-empty {
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.file-empty i {
  font-size: 2.5rem;
  color: var(--text-subtle);
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.file-box-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-subtle);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.storage-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.storage-info code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

.security-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-green);
}

@media (max-width: 900px) {
  .file-center-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Troubleshoot Accordion */
.trouble-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  text-align: left;
}

.acc-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
}

.acc-arrow {
  transition: transform 0.3s ease;
  color: var(--text-subtle);
}

.accordion-item.active .acc-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0, 0, 0, 0.15);
}

.accordion-item.active .accordion-content {
  max-height: 400px;
}

.checklist {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Notepad Section */
.notepad-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.notepad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.notepad-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-main);
}

.notepad-controls {
  display: flex;
  gap: 8px;
}

#workNoteArea {
  width: 100%;
  height: 200px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  resize: vertical;
}

#workNoteArea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.notepad-footer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Contact & Repair Form */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(16px);
}

.contact-left h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-left p {
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
}

.contact-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.repair-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.repair-form h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-send-sms {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

.sms-guide-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.4;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  margin-top: auto;
  background: var(--bg-glass);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.footer-left p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 4px;
}

.footer-keywords-cloud {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-keywords-cloud span {
  color: var(--primary);
  font-weight: 700;
  margin-right: 6px;
}

.footer-keywords-cloud a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-keywords-cloud a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-right a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-right a:hover {
  color: var(--primary);
}

.tel-text {
  color: var(--accent-green) !important;
  text-decoration: none;
  font-weight: 700;
}
.tel-text:hover {
  text-decoration: underline;
}

.family-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.family-links::-webkit-scrollbar {
  display: none;
}

.link-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.3px;
  transition: var(--transition);
  flex-shrink: 0;
}

.link-badge:hover {
  background: var(--primary);
  color: #0b0f19;
  transform: translateY(-2px);
}

.footer-sub-brand {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a78bfa;
  margin-left: 6px;
}

.footer-highlight {
  color: #a78bfa !important;
  font-weight: 700;
}

/* Engineer Live Badge (Header) */
.engineer-live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #34d399;
  white-space: nowrap;
}

.engineer-live-badge strong {
  color: #10b981;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  display: inline-block;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Remote Live Status Banner */
.remote-live-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 30px;
  backdrop-filter: blur(12px);
}

.live-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-banner-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.live-banner-info strong {
  color: #34d399;
  font-size: 0.96rem;
}

.live-banner-info span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.btn-live-call {
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
  white-space: nowrap;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-live-call:hover {
  background: #10b981;
  color: #0b0f19;
}

/* Symptom Diagnosis Wizard */
.diag-wizard-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wizard-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.wizard-tab {
  flex: 1;
  min-width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.wizard-tab:hover {
  border-color: var(--primary);
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.05);
}

.wizard-tab.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
}

.wizard-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.wizard-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.panel-header-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.badge-prob-rate {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-cause {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.wizard-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.panel-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.wizard-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.wizard-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.wizard-check-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-accent);
}

.wizard-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.wizard-check-item .check-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
  transition: var(--transition);
}

.wizard-check-item.checked {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

.wizard-check-item.checked .check-text {
  text-decoration: line-through;
  opacity: 0.6;
}

.wizard-action-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.action-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Floating Quick Contact Dock */
.floating-quick-dock {
  position: fixed;
  bottom: 30px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  outline: none;
}

.dock-item:hover {
  transform: translateY(-3px) scale(1.03);
}

.dock-remote-quick {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.dock-remote-quick:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.5);
  color: #ffffff;
}

.dock-kakao {
  background: #fee500;
  color: #191919;
  border: none;
}

.dock-kakao:hover {
  box-shadow: 0 10px 25px rgba(254, 229, 0, 0.4);
}

.dock-badge {
  position: absolute;
  top: -6px;
  right: 6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.dock-booking {
  background: var(--bg-card);
  color: var(--primary);
  border: 1px solid var(--primary);
  backdrop-filter: blur(12px);
}

.dock-booking:hover {
  background: var(--primary);
  color: #0b0f19;
  box-shadow: var(--shadow-glow);
}

.dock-call {
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  border: none;
}

.dock-call:hover {
  background: #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
}

/* Modal Backdrops & Cards */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  width: 100%;
  overflow: hidden;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title-wrap h3 {
  font-size: 1.15rem;
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 24px;
}

/* QR Code Modal */
.qr-modal-card {
  max-width: 420px;
}

.qr-target-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.qr-file-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

.qr-file-size {
  font-size: 0.82rem;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

.qr-code-frame {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  background: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-code-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-guide-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.qr-url-box {
  display: flex;
  gap: 8px;
}

.qr-url-box input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-main);
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
}

/* Fast Booking Modal */
.booking-modal-card {
  max-width: 560px;
}

.modal-booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.flex-1 {
  flex: 1;
}

.modal-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.btn-kakao {
  background: #fee500;
  color: #191919;
  border: none;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 8px;
}

.btn-kakao:hover {
  background: #fada0a;
}

.btn-sms {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 8px;
}

.btn-sms:hover {
  background: #3b82f6;
  color: #ffffff;
}

/* Contact Success Modal */
.success-modal-card {
  max-width: 480px;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #10b981;
}

.success-main-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.success-sub-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.submitted-info-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 22px;
}

.success-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Reposition Toast to not overlap with dock */
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transition: var(--transition);
  z-index: 1200;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .nav-menu {
    gap: 5px;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 5px 7px;
    gap: 4px;
  }
  .brand-subtitle {
    display: none;
  }
}

@media (max-width: 1024px) {
  .diag-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .remote-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .wizard-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .header-container {
    display: flex;
    justify-content: space-between;
  }
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .quick-status-grid {
    grid-template-columns: 1fr;
  }
  .diag-card-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2 {
    grid-column: span 1;
  }
  .live-clock {
    display: none;
  }
  .section-header h2 {
    font-size: 1.6rem;
  }
  .remote-live-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .wizard-action-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row {
    flex-direction: column;
  }
  .modal-form-actions {
    grid-template-columns: 1fr;
  }
  .floating-quick-dock {
    bottom: 20px;
    right: 16px;
    gap: 8px;
  }
  .dock-item {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
}

/* Repair Form Header with Admin Button */
.repair-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.repair-form-header h3 {
  margin-bottom: 0 !important;
}

.btn-inquiries-admin {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-color: rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-inquiries-admin:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #ffffff;
}

/* Admin Inquiries Modal */
.inquiries-modal-card {
  max-width: 680px;
  width: 95%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.inquiries-modal-card .modal-body {
  overflow-y: auto;
  padding: 20px;
}

.inquiries-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
}

.inquiries-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inquiry-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition);
}

.inquiry-item-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.inquiry-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.inquiry-client-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.inquiry-badge-category {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.inquiry-date-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.inquiry-phone-box {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.inquiry-phone-box a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
}

.inquiry-details-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}

.inquiry-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.inquiry-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.inquiry-empty-icon {
  font-size: 2.5rem;
  color: var(--border-subtle);
  margin-bottom: 12px;
}

/* =================================================================
   Remote Specialist Suite Styling
   ================================================================= */

/* Pulsing Remote Button */
.pulse-remote-btn {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #38bdf8 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5), 0 4px 15px rgba(37, 99, 235, 0.4);
  animation: pulse-glow 2.5s infinite;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5), 0 4px 15px rgba(37, 99, 235, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.8), 0 6px 25px rgba(37, 99, 235, 0.6);
    transform: scale(1.02);
  }
}

.active-step-card {
  border-color: rgba(56, 189, 248, 0.6) !important;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
}

.step-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--primary);
  margin-top: 10px;
  font-weight: 600;
}

/* Security Guarantees Banner */
.security-guarantee-wrap {
  margin-top: 40px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  padding: 30px;
  backdrop-filter: blur(10px);
}

.guarantee-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.guarantee-header i {
  font-size: 2.2rem;
}

.guarantee-header h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.guarantee-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.guarantee-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.guarantee-item:hover {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
  transform: translateY(-2px);
}

.guarantee-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 1.1rem;
}

.guarantee-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.guarantee-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

/* =================================================================
   Remote Scope (Possible vs Impossible)
   ================================================================= */
.scope-comparison-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.scope-col {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.scope-possible {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(15, 23, 42, 0.6) 100%);
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.1);
}

.scope-impossible {
  border: 1px solid rgba(244, 63, 94, 0.3);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.04) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.scope-col-header {
  margin-bottom: 22px;
}

.scope-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.badge-possible {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-impossible {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.scope-col-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.scope-col-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.scope-list li:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

.scope-possible .scope-list li i {
  color: #10b981;
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.scope-impossible .scope-list li i {
  color: #f43f5e;
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.scope-list li strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.scope-list li span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

.store-visit-info-card {
  margin-top: 20px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.store-visit-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
}

.store-visit-info-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.45;
}

.store-mini-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: #94a3b8;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
}

.scope-help-banner {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.scope-help-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.scope-help-text i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* =================================================================
   Payment After Service Guide Styling
   ================================================================= */
.payment-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.payment-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.payment-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-muted);
}

.payment-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.payment-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.payment-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.highlight-card {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12);
}

.payment-method-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.payment-method-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scope-comparison-grid {
    grid-template-columns: 1fr;
  }
  .payment-policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
  .scope-help-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Store Partnership Badge Styles */
.hero-store-partnership {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.store-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 8px 20px;
  border-radius: 9999px;
  color: #c4b5fd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.store-partner-badge strong {
  color: #ffffff;
  text-decoration: underline;
}

.store-partner-badge:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: #8b5cf6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.store-official-link {
  color: #c4b5fd !important;
  font-weight: 600 !important;
}

.store-official-link:hover {
  color: #ffffff !important;
}

/* =================================================================
   Notice Popup Modal (Visitor & Admin Edit)
   ================================================================= */
.notice-modal-card {
  max-width: 520px;
  width: 92%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.2);
  animation: modalScaleUp 0.3s ease;
}

.notice-content-body {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #e2e8f0;
  white-space: pre-line;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  max-height: 380px;
  overflow-y: auto;
}

.notice-meta-info {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
}

.notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.15);
}

.notice-today-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.notice-today-checkbox input[type="checkbox"] {
  cursor: pointer;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.notice-footer-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-edit-modal-card {
  max-width: 580px;
  width: 92%;
}

.notice-edit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notice-edit-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notice-edit-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.notice-edit-form input,
.notice-edit-form textarea {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.notice-edit-form input:focus,
.notice-edit-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.toggle-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.toggle-switch-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}



