/* ══════════════════════════════════════════════════════════════
   HotlineGuard — Forensic Audio Watermarking Dashboard
   Premium dark theme · Glassmorphism · Micro-animations
   ══════════════════════════════════════════════════════════════ */

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

:root {
  --bg:           #07070e;
  --surface:      rgba(255, 255, 255, 0.04);
  --surface-hover:rgba(255, 255, 255, 0.07);
  --border:       rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 200, 180, 0.45);
  --accent-1:     #00c9b7;
  --accent-2:     #00b4d8;
  --gradient:     linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --text-primary: #e0e0e0;
  --text-secondary:#888888;
  --text-heading: #ffffff;
  --danger:       #ff4060;
  --danger-hover: #e0354f;
  --warning:      #f0b429;
  --success:      #00c9b7;
  --sidebar-w:    60px;
  --sidebar-exp:  200px;
  --header-h:     56px;
  --radius:       16px;
  --radius-sm:    10px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;

  /* Subtle radial gradient spots */
  background-image:
    radial-gradient(ellipse 600px 600px at 15% 20%, rgba(0, 200, 180, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 85% 70%, rgba(0, 180, 216, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 90%, rgba(0, 200, 180, 0.02) 0%, transparent 70%);
}

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 600;
}

h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; margin-bottom: 1rem; }

a { color: var(--accent-1); text-decoration: none; }

/* ─── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }


/* ══════════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════════ */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: width var(--transition);
  overflow: hidden;
}

#sidebar:hover {
  width: var(--sidebar-exp);
}

.sidebar-logo {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.shield-icon {
  animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(0,201,183,0.3)); }
  50%      { filter: drop-shadow(0 0 12px rgba(0,201,183,0.6)); }
}

/* Nav Items */
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 18px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gradient);
  border-radius: 0 4px 4px 0;
  transition: height var(--transition);
}

.nav-item:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

.nav-item.active {
  color: var(--accent-1);
}

.nav-item.active::before {
  height: 24px;
}

.nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.nav-label {
  opacity: 0;
  transition: opacity var(--transition);
}

#sidebar:hover .nav-label {
  opacity: 1;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 18px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
#main-wrapper {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  transition: margin-left var(--transition);
}

#top-header {
  position: sticky;
  top: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(7, 7, 14, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-shield {
  animation: shieldPulse 3s ease-in-out infinite;
}

.header-title {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-subtitle {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 300;
  margin-left: 4px;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,201,183,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(0,201,183,0); }
}


/* ══════════════════════════════════════════════════════════════
   CONTENT AREA
   ══════════════════════════════════════════════════════════════ */
#content-area {
  padding: 2rem;
  max-width: 1200px;
}

/* Section visibility & fade */
.content-section {
  display: none;
  animation: fadeIn 0.45s ease forwards;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}


/* ══════════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition);
}

.card:hover {
  border-color: rgba(255,255,255,0.12);
}


/* ─── Stats Grid (Dashboard) ──────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: rgba(0,200,180,0.25);
  transform: translateY(-2px);
}

.stat-glow {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0,201,183,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stat-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}


/* ─── Welcome Card ─────────────────────────────────────────── */
.welcome-card h3 {
  margin-bottom: 0.75rem;
}

.welcome-card > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.welcome-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(0,200,180,0.2);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item strong {
  color: var(--text-heading);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-inline {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-inline .form-group {
  flex: 1;
  min-width: 160px;
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.label-hint {
  text-transform: none;
  font-weight: 300;
  letter-spacing: 0;
  opacity: 0.6;
}

input[type="text"],
input[type="number"] {
  height: 42px;
  padding: 0 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  transition: all var(--transition);
}

input[type="text"]:focus,
input[type="number"]:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0,200,180,0.1), inset 0 0 0 1px rgba(0,200,180,0.15);
  background: rgba(255,255,255,0.08);
}

input::placeholder {
  color: rgba(255,255,255,0.2);
}

/* Input with inline button */
.input-with-btn {
  display: flex;
  gap: 8px;
}

.input-with-btn input {
  flex: 1;
}


/* ─── Toggle Switch ────────────────────────────────────────── */
.toggle-group {
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle-switch input { display: none; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 26px;
  transition: all var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--gradient);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}


/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  background: var(--gradient);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,201,183,0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(0,201,183,0.3);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary.loading .btn-text { opacity: 0; }
.btn-primary.loading .btn-spinner { opacity: 1; }

.btn-small {
  height: 42px;
  padding: 0 18px;
  background: var(--gradient);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-small:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,201,183,0.25);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  background: var(--danger);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 1rem;
}

.btn-danger:hover {
  background: var(--danger-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(255,64,96,0.3);
}

.btn-danger-sm {
  height: 32px;
  padding: 0 14px;
  background: rgba(255,64,96,0.15);
  color: var(--danger);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,64,96,0.25);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-danger-sm:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}


/* ─── Spinner ──────────────────────────────────────────────── */
.btn-spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}

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


/* ══════════════════════════════════════════════════════════════
   DROPZONE
   ══════════════════════════════════════════════════════════════ */
.dropzone {
  border: 2px dashed rgba(0, 200, 180, 0.3);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  animation: dropzonePulse 4s ease-in-out infinite;
}

@keyframes dropzonePulse {
  0%, 100% { border-color: rgba(0, 200, 180, 0.2); }
  50%      { border-color: rgba(0, 200, 180, 0.4); }
}

.dropzone:hover {
  background: rgba(0, 200, 180, 0.03);
  border-color: rgba(0, 200, 180, 0.45);
}

.dropzone.dragover {
  border-style: solid;
  border-color: var(--accent-1);
  background: rgba(0, 200, 180, 0.06);
  animation: none;
}

.dropzone-inner {
  pointer-events: none;
}

.dropzone-icon {
  opacity: 0.5;
  margin-bottom: 0.75rem;
  transition: opacity var(--transition);
}

.dropzone:hover .dropzone-icon {
  opacity: 0.8;
}

.dropzone-text {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 4px;
}

.dropzone-subtext {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.dropzone-filename {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 4px 12px;
  background: rgba(0, 200, 180, 0.1);
  border-radius: 20px;
  color: var(--accent-1);
  font-size: 0.82rem;
  font-weight: 500;
}

.dropzone-filename:empty {
  display: none;
}


/* ══════════════════════════════════════════════════════════════
   FORENSIC RESULTS
   ══════════════════════════════════════════════════════════════ */
.forensic-results {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  animation: fadeIn 0.45s ease;
}

.result-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.result-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.result-caller-id {
  margin-top: 0.5rem;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(0,200,180,0.2);
  border-radius: var(--radius);
  display: inline-block;
  background-color: rgba(0,200,180,0.04);
  /* Override the background shorthand for text gradient */
  background-image: var(--gradient);
}

.result-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.result-meta-item {
  text-align: center;
}

.meta-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* Confidence Bar */
.confidence-section {
  max-width: 500px;
  margin: 0 auto;
}

.confidence-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.confidence-value {
  font-weight: 600;
  color: var(--text-heading);
}

.confidence-bar-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}

.confidence-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
  background: var(--gradient);
}

.confidence-bar-fill.low    { background: var(--danger); }
.confidence-bar-fill.medium { background: var(--warning); }
.confidence-bar-fill.high   { background: var(--gradient); }


/* ══════════════════════════════════════════════════════════════
   CONFIG SECTION
   ══════════════════════════════════════════════════════════════ */
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.lookup-result {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  animation: fadeIn 0.35s ease;
}

.lookup-result pre {
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.82rem;
  color: var(--accent-1);
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.6;
}


/* ══════════════════════════════════════════════════════════════
   BLOCKLIST TABLE
   ══════════════════════════════════════════════════════════════ */
.blocklist-add-card {
  margin-bottom: 1.5rem;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.table-header h3 {
  margin-bottom: 0;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

tbody tr {
  transition: background var(--transition);
}

tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.empty-row td {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 1rem;
}


/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════════════════════════ */
#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 420px;
  padding: 0.85rem 1.25rem;
  background: rgba(20, 20, 35, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.88rem;
  pointer-events: auto;
  animation: toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--accent-2); }

.toast-icon { font-size: 1.1rem; flex-shrink: 0; }

.toast.removing {
  animation: toastOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(60px); }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .result-meta {
    flex-direction: column;
    gap: 1rem;
  }

  #content-area {
    padding: 1.25rem;
  }

  .header-subtitle {
    display: none;
  }
}

 / *   P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%
       L O G I N   O V E R L A Y 
       P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%P%  * / 
 # l o g i n - o v e r l a y   { 
     p o s i t i o n :   f i x e d ; 
     i n s e t :   0 ; 
     b a c k g r o u n d :   r g b a ( 7 ,   7 ,   1 4 ,   0 . 9 5 ) ; 
     b a c k d r o p - f i l t e r :   b l u r ( 3 0 p x ) ; 
     - w e b k i t - b a c k d r o p - f i l t e r :   b l u r ( 3 0 p x ) ; 
     z - i n d e x :   9 9 9 9 ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     o p a c i t y :   1 ; 
     t r a n s i t i o n :   o p a c i t y   0 . 5 s   e a s e ,   v i s i b i l i t y   0 . 5 s   e a s e ; 
 } 
 
 # l o g i n - o v e r l a y . h i d d e n   { 
     o p a c i t y :   0 ; 
     v i s i b i l i t y :   h i d d e n ; 
     p o i n t e r - e v e n t s :   n o n e ; 
 } 
 
 . l o g i n - c a r d   { 
     b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 4 ) ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
     b o r d e r - r a d i u s :   2 0 p x ; 
     p a d d i n g :   3 r e m ; 
     w i d t h :   1 0 0 % ; 
     m a x - w i d t h :   4 2 0 p x ; 
     b o x - s h a d o w :   0   1 5 p x   4 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 4 ) ,   0   0   0   1 p x   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 )   i n s e t ; 
     t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 5 s   c u b i c - b e z i e r ( 0 . 4 ,   0 ,   0 . 2 ,   1 ) ; 
 } 
 
 # l o g i n - o v e r l a y . h i d d e n   . l o g i n - c a r d   { 
     t r a n s f o r m :   t r a n s l a t e Y ( 2 0 p x )   s c a l e ( 0 . 9 5 ) ; 
 } 
 
 . l o g i n - h e a d e r   { 
     t e x t - a l i g n :   c e n t e r ; 
     m a r g i n - b o t t o m :   2 r e m ; 
 } 
 
 . l o g i n - h e a d e r   . s h i e l d - i c o n   { 
     m a r g i n - b o t t o m :   1 r e m ; 
 } 
 
 . l o g i n - h e a d e r   h 2   { 
     f o n t - s i z e :   1 . 8 r e m ; 
     m a r g i n - b o t t o m :   0 . 5 r e m ; 
     b a c k g r o u n d :   v a r ( - - g r a d i e n t ) ; 
     - w e b k i t - b a c k g r o u n d - c l i p :   t e x t ; 
     - w e b k i t - t e x t - f i l l - c o l o r :   t r a n s p a r e n t ; 
 } 
 
 . l o g i n - h e a d e r   p   { 
     c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
     f o n t - s i z e :   0 . 9 r e m ; 
 } 
 
 # l o g i n - f o r m   i n p u t [ t y p e = " p a s s w o r d " ]   { 
     h e i g h t :   4 2 p x ; 
     p a d d i n g :   0   1 4 p x ; 
     b a c k g r o u n d :   r g b a ( 2 5 5 , 2 5 5 , 2 5 5 , 0 . 0 6 ) ; 
     b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r ) ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s - s m ) ; 
     c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
     f o n t - f a m i l y :   i n h e r i t ; 
     f o n t - s i z e :   0 . 9 2 r e m ; 
     w i d t h :   1 0 0 % ; 
     o u t l i n e :   n o n e ; 
     t r a n s i t i o n :   a l l   v a r ( - - t r a n s i t i o n ) ; 
 } 
 
 # l o g i n - f o r m   i n p u t [ t y p e = " p a s s w o r d " ] : f o c u s   { 
     b o r d e r - c o l o r :   v a r ( - - b o r d e r - f o c u s ) ; 
     b o x - s h a d o w :   0   0   0   3 p x   r g b a ( 0 , 2 0 0 , 1 8 0 , 0 . 1 ) ,   i n s e t   0   0   0   1 p x   r g b a ( 0 , 2 0 0 , 1 8 0 , 0 . 1 5 ) ; 
     b a c k g r o u n d :   r g b a ( 2 5 5 , 2 5 5 , 2 5 5 , 0 . 0 8 ) ; 
 } 
  
 