.parent-container {
    display: flex;
    justify-content: center; /* Horizontally centers children */
  }

.number-line {
    position: relative;
    width: 97%;
    /* Changed height from 60px to 80px to enlarge the container */
    height: 80px; 
    margin: 40px 0;
    background: white;
    border: 1px solid #ffccb8;
    border-radius: 5px;
    padding: 0 15px;
    box-sizing: border-box;
}

.number-line-axis {
    position: relative; /* Changed from absolute for better child positioning */
    top: 50%;
    height: 2px;
    background: #d44326;
    transform: translateY(-50%);
    /* No left/right needed as it will now fill its parent's padding box */
}

.number-line-tick {
    position: absolute;
    /* top is now relative to the axis's vertical center */
    top: 50%; 
    width: 2px;
    height: 12px;
    background: #d44326;
    transform: translate(-50%, -50%);
}

.number-line-label {
    position: absolute;
    /* Position below the axis line */
    top: 15px; 
    font-size: 14px;
    color: #d44326;
    font-weight: 600;
    /* The key change: This will now be used for ALL labels */
    transform: translateX(-50%); 
    text-align: center;
}