body {
  font-family: Montserrat, Montserrat-fallback-Arial, sans-serif;
  background-image: url(./pattern-tovaglia.jpg);
  background-size: cover;
}

.card {
  max-width: 500px;
}

.btn-brand {
  background-color: #0079c2;
  color: #ffffff;
}
.btn-brand:hover {
  color: #0079c2;
}
.text-brand {
  color: #0079c2 !important;
}
.btn-outline-brand {
  color: #0079c2;
}
.btn-outline-brand.active {
  background-color: #0079c2;
  color: #ffffff;
  > span {
    color: #ffffff !important;
  }
}
.btn-outline-brand:hover {
  background-color: #0079c2;
  color: #ffffff;
  > span {
    color: #ffffff !important;
  }
}

.form-control:focus::placeholder {
  color: transparent;
}

.logo-img {
  max-width: 250px;
}

@media (min-width: 520px) {
  .logo-img {
    max-width: 300px;
  }
}

h1 {
  color: #0079c2;
  font-size: 42px;
}

#bottone {
  background-color: #eac035;
  color: #ffffff;
  font-weight: 500;
}

#time {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 2px;
}

.restaurant {
  width: 100%;
  padding: 18px 22px;
  background-color: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: 0.2s;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.restaurant:hover {
  border-color: #2875c7;
  transform: translateY(-2px);
}

.restaurant.selected .votes {
  color: white;
}

.confirmation {
  margin: 25px 0 25px 0;
  text-align: center;
}

#confirm-button {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 12px;
  background-color: #16a34a;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

#confirm-button:hover:not(:disabled) {
  background-color: #15803d;
  transform: translateY(-2px);
}

#confirm-button:disabled {
  background-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.restaurant-name {
  text-transform: uppercase;
}

.userdata {
  text-transform: uppercase;
  color: #0079c2;
  font-size: 20px;
  font-weight: bold;
}

#ranking {
  width: 100%;
  margin-top: 30px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
}

.ranking-voters {
  flex-basis: 100%;
}

.ranking-accordion {
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease;
  color: #0072bc;
}

.ranking-accordion.open {
  transform: rotate(180deg);
}
