/* Parking Cost Calculator – pcc-style.css
   Media Masters | www.mediamasters.gr */

/* === Wrapper === */
.pcc-wrap {
  max-width: 480px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: #1a1a2e;
}

/* === Title === */
.pcc-title {
  font-size: 22px;
  font-weight: 800;
  color: #0741A3;
  margin: 0 0 20px;
  text-align: center;
}

/* === Fields === */
.pcc-field {
  margin-bottom: 14px;
}

.pcc-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.pcc-field select,
.pcc-field input[type="time"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1.5px solid #c7d2fe;
  border-radius: 8px;
  background: #f8faff;
  color: #1a1a2e;
  box-sizing: border-box;
  transition: border-color .2s;
}

.pcc-field select:focus,
.pcc-field input[type="time"]:focus {
  outline: none;
  border-color: #0741A3;
  box-shadow: 0 0 0 3px rgba(7,65,163,.12);
}

/* === Holiday checkbox === */
.pcc-field-holiday label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pcc-field-holiday input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0741A3;
}

/* === Button === */
.pcc-btn {
  display: block;
  width: 100%;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: #0741A3;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background .2s, transform .1s;
  margin-top: 6px;
}

.pcc-btn:hover {
  background: #052d75;
}

.pcc-btn:active {
  transform: scale(0.98);
}

/* === Result === */
.pcc-result {
  margin-top: 20px;
  background: #ffffff;
  border: 1.5px solid #c7d2fe;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(7,65,163,.10);
}

.pcc-result-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pcc-result-amount {
  font-size: 36px;
  font-weight: 800;
  color: #0741A3;
  line-height: 1.1;
  margin-bottom: 12px;
}

.pcc-result-breakdown {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
}

/* === Slide-in animation === */
.pcc-slide-in {
  animation: pccSlideIn .35s ease-out;
}

@keyframes pccSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Mobile === */
@media (max-width: 520px) {
  .pcc-wrap {
    max-width: 100%;
    padding: 0 8px;
  }
  .pcc-result-amount {
    font-size: 30px;
  }
}
