/* --- Bankroll Calculator Styles --- */

#lc-bankroll-container {
    max-width: 1000px;
    margin: 0 auto;
    color: #333;
}

.lc-calc-layout {
    display: flex;
    gap: 30px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .lc-calc-layout {
        flex-direction: column;
    }
}

/* --- Left Column: Inputs --- */
.lc-calc-inputs {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.highlight-text {
    color: rgb(235, 73, 96);
    margin-left: 5px;
}

.form-group input[type="number"],
.form-group select {
    display: block;
    width: 100%;
    height: 45px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(73, 80, 87);
    background-color: rgb(255, 255, 255);
    background-clip: padding-box;
    border: 1px solid rgb(206, 212, 218);
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgb(235, 73, 96);
    outline: 0;
}

/* Range Slider Styling */
.slider-wrapper {
    padding: 5px 0;
}

input[type=range] {
    width: 100%;
    margin: 5.5px 0;
    background-color: transparent;
    -webkit-appearance: none;
}
input[type=range]:focus {
    outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
    background: #e9ecef;
    border: 0;
    border-radius: 25px;
    width: 100%;
    height: 6px;
    cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
    margin-top: -6px;
    width: 18px;
    height: 18px;
    background: rgb(235, 73, 96);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

/* --- Buttons --- */
.btn-row {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-row button {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-red {
    background-color: rgb(235, 73, 96);
    color: white;
}
.btn-red:hover {
    background-color: rgb(215, 53, 76);
}

.btn-dark {
    background-color: rgb(39, 54, 59);
    color: white;
}
.btn-dark:hover {
    background-color: rgb(29, 44, 49);
}

/* --- Right Column: Results --- */
.lc-calc-results {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.results-title {
    text-align: center;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 25px;
}

.result-box {
    background-color: #eee;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.res-value {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

/* --- Summary Window Styles --- */
.summary-window {
    background-color: #fff8e1; /* Light yellow background */
    border: 1px solid #ffeeba;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item .icon {
    font-size: 18px;
    margin-right: 12px;
    min-width: 20px;
    text-align: center;
}

.summary-item strong {
    color: #333;
}

.strategy-note {
    border-top: 1px solid #fae3ad;
    padding-top: 15px;
    margin-top: 10px;
}

.status-bar {
    margin-top: auto;
    background-color: rgb(25, 135, 84);
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

/* Utilities */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}