/* Minimal, stacked, left-aligned. Title + fields + results live inside one box. */

/* Container: choose ONE alignment:
   - center horizontally → justify-content:center;
   - align with left column/page title → justify-content:flex-start;  */
   .rc-wrap{
    padding: 8px;
    display: flex;
    justify-content: left;      /* change to flex-start if you want it left-aligned */
  }
  
  .rc-box{
    width: 80%;                   /* ~20% narrower than full width */
    max-width: 420px;             /* comfortable on desktops */
    padding: 16px 16px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
  }
  
  .rc-title{
    margin: 2px 0 12px 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
  }
  
  .rc-form{ margin-bottom: 6px; }
  
  .rc-field{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }
  
  .rc-label{
    font-size: 14px;
    font-weight: 600;
    text-align: left;
  }
  
  /* Inputs/selects fill the card width but stay inside padding */
  .rc-input{
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  .rc-actions{ margin-top: 6px; }
  
  .rc-button{
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cfcfcf;
    background: #f5f5f5;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
  }
  .rc-button:hover{ background: #eee; }
  
  /* Divider + results block INSIDE the same box */
  .rc-divider{
    height: 1px;
    width: 100%;
    background: #e8e8e8;
    margin: 12px 0 10px;
  }
  
  .rc-result .rc-row{
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
  }
  .rc-result .rc-label{
    min-width: 180px;
    font-weight: 600;
    text-align: left;
  }
  .rc-result .rc-value{
    font-variant-numeric: tabular-nums;
  }
  .rc-note{
    margin-top: 8px;
    font-size: 12px;
    color: #555;
  }
  
  @media (max-width: 600px){
    .rc-box{ width: 95%; }
  }