/* calculator-steps-fat/css/steps-fat.css */

:root {
    --primary: #FF8000;
    --primary-dark: #FB4C06;
    --surface: #ffffff;
    --text: #333333;
    --success: #28a745;
  }
  
  .calc-wrapper {
    background-color: var(--surface);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 5px solid var(--primary);
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
  }
  
  .calc-wrapper h1, 
  .calc-wrapper h2, 
  .calc-wrapper h3 {
    color: var(--primary);
  }

  /* Formulaire */
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #444;
  }
  
  input, select {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    box-sizing: border-box;
  }
  
  /* Selecteurs d'unités (Toggle Buttons) */
  .unit-toggle-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .unit-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    color: #777;
    transition: all 0.2s;
  }
  
  .unit-btn:hover { border-color: var(--primary); }
  .unit-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
  }
  
  /* Gestion hauteur spécifique (Ft/In) */
  .height-input-group.hidden { display: none; }
  
  .ft-row {
    display: flex;
    gap: 10px;
  }
  
  .ft-col {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .ft-col .label-small {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
    text-align: center;
  }
  
  input:focus, select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.1);
  }
  
  /* Boutons Principaux */
  .button-row {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .btn-primary, .btn-secondary {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
  }
  
  .btn-primary { background-color: var(--primary); color: white; }
  .btn-primary:hover { background-color: var(--primary-dark); }
  .btn-secondary { background-color: #e0e0e0; color: #333; }
  
  /* Résultat */
  .result-box {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #f9fff9;
    border: 2px solid var(--success);
    border-radius: 12px;
    text-align: center;
    display: none;
    animation: slideUp 0.5s ease;
  }
  
  .result-main {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ddd;
  }
  
  .result-main span#result-value {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--success);
    display: block;
    line-height: 1;
  }
  
  .result-main .unit { font-size: 1.5rem; color: #666; }
  .label-result { font-weight: bold; color: #444; margin-top: 5px; }
  
  /* Stats Grid (Distance / Calories) */
  .stats-grid {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
  }
  
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .stat-item i { font-size: 1.5rem; color: var(--primary); }
  .stat-item span { font-size: 1.5rem; font-weight: bold; color: #333; }
  .stat-item small { color: #777; font-size: 0.9rem; }
  
  /* Équivalence Alimentaire */
  .equivalence {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    font-size: 0.95rem;
  }
  
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive Mobile */
  @media (max-width: 600px) {
    .header-toolbar { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .result-main span#result-value { font-size: 3rem; }
  }