/* Googlet-Bot34 - Custom Styles */

:root {
  --bg: #050810;
  --bg-soft: #0a0f1c;
  --bg-card: #0d1320;
  --border: rgba(255,255,255,0.06);
  --cyan: #00f0ff;
  --green: #00ff88;
  --purple: #a855f7;
  --red: #ff1744;
  --yellow: #f59e0b;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 240, 255, 0.3);
  color: #fff;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,240,255,0.3); }

/* Glass card */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.glass-hover:hover {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
}

/* Neon glow effects */
.glow-cyan {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.glow-green {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.glow-text-cyan {
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, #00f0ff 0%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button variants */
.btn-primary {
  background: linear-gradient(135deg, #00f0ff, #a855f7);
  color: #050810;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.5);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #ccd6f6;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--cyan);
}

/* Input */
.input-field {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #ccd6f6;
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.input-field::placeholder {
  color: #3d4460;
}

/* Label */
.field-label {
  display: block;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: #8892b0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Severity badges */
.badge-critical { background: rgba(255, 23, 68, 0.15); color: #ff1744; border: 1px solid rgba(255, 23, 68, 0.3); }
.badge-high { background: rgba(255, 82, 82, 0.15); color: #ff5252; border: 1px solid rgba(255, 82, 82, 0.3); }
.badge-medium { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-low { background: rgba(102, 187, 106, 0.15); color: #66bb6a; border: 1px solid rgba(102, 187, 106, 0.3); }
.badge-info { background: rgba(66, 165, 245, 0.15); color: #42a5f5; border: 1px solid rgba(66, 165, 245, 0.3); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Animations */
@keyframes glow {
  from { box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
  to { box-shadow: 0 0 30px rgba(0, 240, 255, 0.5); }
}

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

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

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
  animation: scan-line 4s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* Progress bar */
.progress-bar {
  height: 4px;
  background: rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #a855f7);
  border-radius: 2px;
  transition: width 0.5s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Loader */
.cyber-loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 240, 255, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: #5a6484;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.data-table tr:hover td {
  background: rgba(0, 240, 255, 0.02);
}

/* Alert */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-error {
  background: rgba(255, 23, 68, 0.1);
  border: 1px solid rgba(255, 23, 68, 0.3);
  color: #ff5252;
}

.alert-success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
}

.alert-info {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--cyan);
}
