@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

.vo2-calc-container {
  margin: 20px auto;
  max-width: 900px;
  padding: 0;
  color: #000;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}

.vo2-calc-form {
  padding: 30px 25px;
  background-color: #fff;
}

.vo2-calc-section {
  padding-left: 10px !important;
  padding-right: 10px !important;
  background-color: #f8f8f8;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 25px;
  margin-bottom: 25px;
}

.vo2-calc-section-unified .vo2-calc-label {
  display: block;
  margin-bottom: 12px;
  color: #000;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

.vo2-calc-block-method {
  margin-bottom: 24px;
}

.vo2-calc-block-inputs {
  margin-bottom: 24px;
}

.vo2-calc-block-profil {
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.vo2-calc-profil-fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4px;
}

.vo2-calc-profil-field {
  flex: 1;
  min-width: 90px;
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vo2-calc-profil-field-label {
  font-size: 11px;
  font-weight: 500;
  color: #666;
  margin-bottom: 6px;
  text-align: center;
}

.vo2-calc-profil-field .vo2-calc-profil-input,
.vo2-calc-profil-field .vo2-calc-profil-select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.vo2-calc-profil-field .vo2-calc-profil-input {
  min-height: 48px;
}

.vo2-calc-profil-field .vo2-calc-profil-select {
  padding: 12px 32px 12px 15px !important;
  font-size: 18px;
  min-height: 48px;
  height: 48px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.vo2-calc-method-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.vo2-calc-method-btn {
  padding: 10px 14px;
  border: 2px solid #000;
  color: #000;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vo2-calc-method-btn:hover {
  background: #eee;
}

.vo2-calc-method-btn.active {
  background: #000;
  color: #fff !important;
}

.vo2-calc-method-other {
  font-size: 12px;
}

.vo2-calc-panel {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.vo2-calc-input-group {
  margin-bottom: 20px;
}

.vo2-calc-input-group:last-child {
  margin-bottom: 0;
}

.vo2-calc-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4px;
}

.vo2-calc-input-row-multi {
  gap: 12px;
}

.vo2-calc-input {
  width: 100px;
  padding: 12px 15px;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.vo2-calc-input.vo2-calc-time {
  width: 60px;
}

.vo2-calc-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(78, 157, 216, 0.2);
}

.vo2-calc-select {
  padding: 10px 14px !important;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  min-width: 120px;
}

.vo2-calc-sep {
  font-weight: 700;
  color: #000;
}

.vo2-calc-unit {
  color: #777;
  font-size: 15px;
  font-weight: 600;
  min-width: 80px;
}

.vo2-calc-help {
  font-size: 9px;
  color: #555;
  text-align: center !important;
  margin: 6px 0 0 0;
  font-style: italic;
}

.vo2-calc-button {
  background-color: #000;
  border: 1px solid #000;
  color: #fff !important;
  border-radius: 6px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 auto;
}

.vo2-calc-button:hover {
  background-color: #fff;
  color: #000 !important;
  border: 1px solid #000;
}

.vo2-calc-progress-container {
  padding: 30px 25px;
  padding-left: 25px !important;
  padding-right: 25px !important;
  background-color: #fff;
}

.vo2-calc-progress-bar {
  width: 100%;
  height: 4px;
  background-color: #f8f8f8;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.vo2-calc-progress-fill {
  height: 100%;
  background-color: #000;
  width: 0%;
  transition: width 3s linear;
  border-radius: 2px;
}

.vo2-calc-result-section {
  padding: 0 !important;
  border-top: 2px solid #eee;
  background-color: #fff;
}

.vo2-calc-result-main {
  text-align: center;
  margin-bottom: 28px;
  padding: 20px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: #f8f8f8;
  border: 1px solid #000;
  border-radius: 6px;
}

.vo2-calc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  margin-bottom: 8px;
  margin-right: 8px;
}

.vo2-calc-badge-confiance {
  margin-bottom: 10px;
}

.vo2-calc-result-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center !important;
}

.vo2-calc-result-value {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

.vo2-calc-result-abs {
  font-size: 16px;
  color: #333;
  margin-top: 6px;
}

.vo2-calc-result-category {
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  color: #333;
}

.vo2-calc-percentile-wrap {
  margin-top: 14px;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.vo2-calc-percentile-label {
  font-size: 12px;
  color: #555;
  margin-bottom: 6px;
  text-align: center !important;
}

.vo2-calc-percentile-bar {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.vo2-calc-percentile-fill {
  height: 100%;
  background: #000;
  border-radius: 5px;
  width: 0%;
  transition: width 0.5s ease-out;
}

.vo2-calc-percentile-value {
  font-size: 13px;
  color: #333;
  margin-top: 4px;
  text-align: center !important;
  font-weight: 600;
}

.vo2-calc-advice {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.vo2-calc-subtitle {
  margin: 0 0 14px 0;
  font-size: 16px;
  font-weight: 600;
}

.vo2-calc-advice-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.vo2-calc-advice-list li {
  margin-bottom: 8px;
}

.vo2-calc-warning {
  margin: 16px 0;
  padding: 14px 20px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  font-size: 14px;
  color: #856404;
}

@media (max-width: 600px) {
  .vo2-calc-form,
  .vo2-calc-progress-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .vo2-calc-method-btns {
    flex-direction: column;
  }
  .vo2-calc-method-btn {
    width: 100%;
  }
}
