/* ============================================
   Manzke Gruppe - Sophos WAF Login Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --manzke-primary: #c8102e;      /* Manzke Rot */
  --manzke-dark: #1a1a2e;         /* Dunkles Blau-Schwarz */
  --manzke-accent: #e63946;       /* Akzent Rot */
  --manzke-light: #f8f9fa;
  --manzke-gray: #6c757d;
  --manzke-border: #dee2e6;
  --manzke-white: #ffffff;
  --manzke-shadow: rgba(200, 16, 46, 0.15);
  --manzke-gradient: linear-gradient(135deg, #c8102e 0%, #8b0000 100%);
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  background: var(--manzke-dark);
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(200, 16, 46, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 16, 46, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(26, 26, 46, 0.9) 0%, transparent 50%),
    linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px
    );
  pointer-events: none;
  z-index: 0;
}

#container {
  position: relative;
  z-index: 1;
  width: 420px;
  background: var(--manzke-white);
  border-radius: 16px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
}

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

/* Header-Bar mit Manzke-Rot */
.header-bar {
  height: 6px;
  background: var(--manzke-gradient);
  width: 100%;
}

/* Info / Logo Section */
.info {
  text-align: center;
  padding: 35px 30px 10px;
}

.info .logo {
  max-width: 200px;
  max-height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
}

.welcome-text {
  font-size: 14px;
  color: var(--manzke-gray);
  line-height: 1.5;
  margin-top: 5px;
}

/* Form Styling */
form {
  padding: 15px 30px 5px;
}

.input-group {
  margin-bottom: 18px;
}

.input-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.input-group label svg {
  color: var(--manzke-primary);
  flex-shrink: 0;
}

input[type=text],
input[type=password] {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #333;
  background: var(--manzke-light);
  border: 2px solid var(--manzke-border);
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
}

input[type=text]::placeholder,
input[type=password]::placeholder {
  color: #adb5bd;
  font-weight: 300;
}

input[type=text]:focus,
input[type=password]:focus {
  border-color: var(--manzke-primary);
  background: var(--manzke-white);
  box-shadow: 0 0 0 4px var(--manzke-shadow);
}

/* Submit Button */
.button-group {
  margin-top: 25px;
  margin-bottom: 10px;
}

input[type=submit] {
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--manzke-white);
  background: var(--manzke-gradient);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

input[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
}

input[type=submit]:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.3);
}

/* Note / Contact */
.note {
  font-size: 12px;
  color: var(--manzke-gray);
  line-height: 1.5;
  padding: 10px 30px;
  text-align: center;
}

.note b {
  color: var(--manzke-primary);
  font-weight: 600;
}

/* Footer */
.footer {
  text-align: center;
  padding: 15px 30px;
  background: var(--manzke-light);
  border-top: 1px solid var(--manzke-border);
  font-size: 11px;
  color: var(--manzke-gray);
  letter-spacing: 0.3px;
}

.footer .separator {
  margin: 0 8px;
  color: var(--manzke-border);
}

/* Responsive */
@media (max-width: 480px) {
  #container {
    width: 92%;
    margin: 20px;
    border-radius: 12px;
  }

  .info {
    padding: 25px 20px 10px;
  }

  form {
    padding: 15px 20px 5px;
  }

  .note,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}