/* Единый стиль для всех страниц ИжЛайн - v3.0 */

:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --border: rgba(255,255,255,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 40px; }
.logo-text { display: flex; flex-direction: column; }
.brand { font-weight: 900; font-size: 1.2rem; color: var(--accent); }
.tagline { font-size: 0.7rem; color: var(--text-secondary); }

nav { display: flex; gap: 20px; align-items: center; }
nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--accent); }
.lk-btn {
  background: var(--accent);
  color: white !important;
  padding: 8px 16px;
  border-radius: 8px;
}

/* Cards */
.card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  margin-top: 60px;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-section h4 { color: var(--accent); margin-bottom: 15px; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 8px; }
.footer-section a { color: var(--text-secondary); text-decoration: none; }
.footer-section a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Forms */
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}
label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text-secondary); }
.form-group { margin-bottom: 16px; }

/* Page titles */
h1, h2, h3 { font-weight: 800; }
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 20px; }
.mb-4 { margin-bottom: 20px; }
.hidden { display: none; }

/* Animations */
@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade { animation: fade 0.3s ease; }

/* Status page */
.wrap { max-width: 500px; margin: 40px auto; padding: 0 20px; }
.status-box {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 20px;
}
.status-box.ok { background: rgba(16, 185, 129, 0.15); border: 2px solid var(--success); }
.status-box.error { background: rgba(239, 68, 68, 0.15); border: 2px solid var(--danger); }
.status-icon { font-size: 3rem; display: block; margin-bottom: 10px; }
.status-text { font-size: 1.3rem; font-weight: 800; }
.status-time { font-size: 0.85rem; color: var(--text-secondary); margin-top: 8px; }
.ticket-section { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 20px; }
.ticket-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
