.ample-calculator {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 30px 0px #1369EB1A;
    max-width: 1000px;
    margin: 0 auto;
}
.ample-calculator h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.25rem;
}
.ample-calculator input[type="number"]::-webkit-outer-spin-button,
.ample-calculator input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ample-calculator input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
/* Two column layout for mortgage/remortgage */
.ample-calc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ample-calc-inputs {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-radius: 5px;
}

.ample-calc-outputs {
    flex: 1;
    min-width: 300px;
    padding: 20px 0;
}

/* Form rows */
.ample-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.ample-calc-inputs .ample-calc-row {
    display: block;
}
.ample-calc-row label {
    flex: 1;
    display: block;
}
.ample-calc-row input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 48px;
    font-size: 17px;
}
.ampleCTA .cmnBtn{
    margin: 10px 0 20px 0;
    width: 100%;
    text-align: center;
}
/* Specific styling for outputs */
.ample-calc-outputs .ample-calc-row {
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}
.ample-calc-outputs .ample-calc-row:last-child {
    border-bottom: none;
}
.ample-calc-outputs .ample-calc-row span{
    font-weight: bold;
    color: #000042;
}

.ample-calc-outputs .ample-calc-row input {
    max-width: 100%;
    width: 100%;
    background-color: #ffffff;
    color: #333;
}

/* Button */
.ample-calc-btn {
    background-color: #000042;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
}

.ample-calc-btn:hover {
    background-color: #000066;
}

/* Yield Calculator single column */
.ample-calc-yield {
    background-color: #ffffff;
    color: #333;
}

.ample-calc-yield h3 {
    color: #000042;
}

.ample-calc-container-single .ample-calc-row {
    flex-direction: column;
    align-items: flex-start;
}

.ample-calc-container-single .ample-calc-row input {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.ample-calc-container-single .highlight-output {
    background-color: #f0f0f0;
}

.ample-note {
    font-size: 0.8rem;
    font-style: italic;
    color: #666;
}

/* Chart Styles */
.ample-chart-container {
    text-align: center;
    margin-bottom: 20px;
}
.ample-donut, .ample-gauge {
    width: 100%;
    max-width: 250px;
    height: auto;
    overflow: visible;
}
.ample-donut-fill, .ample-gauge-fill {
    transition: stroke-dasharray 0.5s ease-out, stroke 0.5s ease;
}
.ample-chart-legend {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 14px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}
.ample-gauge-wrapper {
    position: relative;
    max-width: 250px;
    margin: 0 auto 20px auto;
}
.ample-gauge-label {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}
