/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v35-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/open-sans-v35-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}

h1 {
  font-size: 30px;
  line-height: 45px;
}

main > .container {
  padding: 60px 15px 0;
}

/* =========================================
   Homepage - Hero Section & Action Cards
   ========================================= */

/* Container pulsante operatore in alto a destra */
.operator-login-container {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 1000;
}

.operator-login-container .btn {
  font-weight: 600;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.operator-login-container .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Logo */
.logo-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin-top: 20px;
  margin-bottom: 15px;
  display: block;
}

/* Titolo principale */
.main-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.title-divider {
  border-top: 3px solid #0d6efd;
  max-width: 200px;
  margin: 15px auto 40px auto;
}

/* Container delle card */
.action-cards-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding: 0 15px;
}

/* Card singola */
.action-card {
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Card Primary (Apri un ticket) */
.action-card.card-primary {
  border-color: #0d6efd;
}

.action-card.card-primary:hover {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #ffffff;
}

.action-card.card-primary .card-icon {
  color: #0d6efd;
}

.action-card.card-primary:hover .card-icon {
  color: #ffffff;
}

.action-card.card-primary .btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.action-card.card-primary:hover .btn-primary {
  background-color: #ffffff;
  color: #0d6efd;
  border-color: #ffffff;
}

/* Card Secondary (Controllo Ticket) */
.action-card.card-secondary {
  border-color: #6c757d;
}

.action-card.card-secondary:hover {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  color: #ffffff;
}

.action-card.card-secondary .card-icon {
  color: #6c757d;
}

.action-card.card-secondary:hover .card-icon {
  color: #ffffff;
}

.action-card.card-secondary .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.action-card.card-secondary:hover .btn-secondary {
  background-color: #ffffff;
  color: #6c757d;
  border-color: #ffffff;
}

/* Icona della card */
.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

/* Titolo della card */
.card-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: inherit;
}

/* Pulsanti delle card */
.action-card .btn {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.action-card .btn i {
  margin-right: 8px;
}

/* Responsive */
@media (min-width: 768px) {
  .action-cards-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .action-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
  }
  
  .operator-login-container {
    top: 15px;
    right: 30px;
  }
}

@media (max-width: 767px) {
  .operator-login-container {
    position: relative;
    top: 0;
    right: 0;
    text-align: right;
    margin-bottom: 20px;
  }

  .logo-img {
    max-width: 160px;
    width: auto;
  }

  .main-title {
    font-size: 28px;
  }

  .action-card {
    padding: 30px 20px;
  }

  .card-icon {
    font-size: 40px;
  }

  .card-title {
    font-size: 16px;
  }
}



