/* =========================================================
   Ferri Client Login UI v22
   - Mantiene colore di sfondo blu corretto
   - Rende il bottone proporzionato e coerente con gli altri
   ========================================================= */

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

:root {
  --ferri-blue: #0054A6;
  --ferri-blue-hover: #0074D9;
  --ferri-bg: #F4F7FB;
  --ferri-white: #FFFFFF;
  --ferri-text-main: #1F2937;
  --ferri-text-sec: #5B6470;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #F4F7FB 0%, #E9F0FF 100%);
  color: var(--ferri-text-main);
  margin: 0;
  padding: 0;
}

#header {
  margin-bottom: 0;
  border-bottom: 2px solid rgba(0, 84, 166, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

#header .pull-right a[href*="login"],
#header .pull-right a[href*="sign"] {
  display: none !important;
}

.navbar, #nav, #tickets-nav, #ticket-links {
  display: none !important;
}

#content {
  max-width: 760px;
  margin: 2.2rem auto 2rem;
  padding: 2.2rem 3rem 2.8rem 3rem;
  background: var(--ferri-white);
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.9s ease-out;
  text-align: center;
  position: relative;
}

#content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0054A6 0%, #0074D9 100%);
  border-radius: 18px 18px 0 0;
}

#content h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--ferri-blue);
  margin-bottom: 1.2rem;
}

#content p {
  color: var(--ferri-text-sec);
  font-size: 1rem;
  margin-bottom: 1rem;
}

form#clientLogin {
  max-width: 500px;
  margin: 2rem auto;
  text-align: left;
}

input[type=text], input[type=password] {
  width: 100%;
  border: 1px solid #D0D5DB;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

input:focus {
  border-color: var(--ferri-blue);
  box-shadow: 0 0 0 3px rgba(0,84,166,0.15);
  outline: none;
}

/* Pulsante Accedi proporzionato e coerente */
input[type=submit], button[type=submit] {
  width: auto !important;
  min-width: 120px;
  background: var(--ferri-blue) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  padding: 0.6rem 1.5rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  box-shadow: 0 3px 6px rgba(0,84,166,0.25) !important;
  text-align: center;
  display: inline-block;
  line-height: 1.2;
}

input[type=submit]:hover, button[type=submit]:hover {
  background: var(--ferri-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,84,166,0.3) !important;
}

.operator-section {
  text-align: center;
  margin-top: 2.5rem;
  font-weight: 500;
  color: #1F2937;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.operator-section span {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ferri-text-main);
}

.operator-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--ferri-blue) !important;
  color: #fff !important;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 3px 8px rgba(0,84,166,0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

.operator-btn:hover {
  background: var(--ferri-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,84,166,0.3);
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(15px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

