/* ===== KKMBOT LOGIN – Gangster Green Theme ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #0f2d1c 0%, #06140c 45%, #020805 100%);
  color: #e8f5ec;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== CARD ===== */

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 26px 28px 30px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left,
      rgba(72, 187, 120, 0.18) 0%,
      rgba(8, 24, 16, 0.96) 45%,
      rgba(3, 10, 7, 1) 100%);
  border: 1px solid rgba(72, 187, 120, 0.25);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right,
      rgba(0, 230, 118, 0.25),
      transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.card-inner {
  position: relative;
  z-index: 1;
}
/* ===== HERO IMAGE ===== */

.hero {
  width: 100%;
  height: 180px;
  border-radius: 18px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.7);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;    
  background: transparent;
  padding: 24px;           
  filter:
    drop-shadow(0 0 12px rgba(0, 230, 118, 0.35));
}

/* overlay verde gangster */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center,
      rgba(0, 230, 118, 0.18),
      rgba(0,0,0,0.75) 70%);
  pointer-events: none;
}
/* ===== LOGO ===== */

.logo {
  display: none;
}

.logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}

/* ===== TITOLI ===== */

h1 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.subtitle {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 18px;
}

/* ===== ERROR ===== */

.error {
  background: rgba(229, 57, 53, 0.15);
  border: 1px solid rgba(229, 57, 53, 0.45);
  color: #ffebee;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 14px;
}

/* ===== FORM ===== */

label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(72, 187, 120, 0.35);
  background: rgba(5, 15, 10, 0.95);
  color: #e8f5ec;
  font-size: 14px;
  outline: none;
  margin-bottom: 14px;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

input:focus {
  border-color: #00e676;
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.55),
    0 0 0 6px rgba(0, 230, 118, 0.18);
  background: rgba(2, 10, 6, 1);
}

/* ===== BUTTON ===== */

button {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #022a16;
  box-shadow:
    0 8px 20px rgba(0, 200, 83, 0.45),
    inset 0 -1px 0 rgba(0,0,0,0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(0, 200, 83, 0.55),
    inset 0 -1px 0 rgba(0,0,0,0.45);
}

/* ===== FOOTER ===== */

.footer {
  margin-top: 16px;
  font-size: 11px;
  opacity: 0.55;
  text-align: center;
  letter-spacing: 0.08em;
}
