/* ===========================================
    Auto Lease Calculator - Tool Specific Styles (Compact)
    =========================================== */

.alc-box {
    max-width: 750px; 
    margin: 0 auto;
    padding: 0; 
}

/* Form Styling */
.alc-form {
    padding: 15px; 
    border: 1px solid #ff9800; /* Amber/Orange Border */
    border-radius: 6px;
    background-color: #fff8e1; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.alc-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff9800; 
    border-bottom: 2px solid #ff9800;
    padding-bottom: 3px; 
    margin-top: 15px; 
    margin-bottom: 10px; 
}

/* Compact Grid Setup (2 Columns) */
.alc-compact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px; 
}

.alc-compact-grid.columns-2 .alc-input-group {
    width: 48.5%; /* Two per row */
}

.alc-input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px; 
}

.alc-input-group label {
    font-weight: 500;
    color: #495057;
    font-size: 0.85rem; 
    margin-bottom: 2px;
}

.alc-input-group input {
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-align: right;
    font-size: 1rem;
}

/* Button Styles */
.alc-calculate-btn {
    display: block;
    width: 100%;
    padding: 12px; 
    margin-top: 15px; 
    background-color: #e65100; /* Deep Orange Primary for action */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.alc-calculate-btn:hover {
    background-color: #bf360c;
}

/* Results Display */
.alc-results {
    margin-top: 20px; 
    padding: 20px;
    border: 2px solid #ff9800; 
    border-radius: 6px;
    background-color: #ffecb3; /* Light Yellow/Orange Background */
    text-align: center;
}

.alc-results-title {
    color: #e65100;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Main Result Grid (Monthly Payment vs Cash Due) */
.alc-data-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px; 
    margin-bottom: 20px; 
}

.alc-data-segment {
    background: #ffffff;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-basis: 48%;
}

.alc-data-segment.total-monthly {
    border: 3px solid #ff9800;
}
.alc-data-segment.total-due {
    border: 3px solid #00bcd4; /* Cyan for cash due */
}

.alc-data-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333; 
    margin-top: 5px;
}

.alc-data-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

/* Breakdown Sections */
.alc-breakdown-title {
    font-size: 1.2rem;
    color: #495057;
    border-bottom: 1px dashed #ff9800;
    padding-bottom: 5px;
    margin-top: 20px;
}

.alc-breakdown-grid {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.alc-breakdown-grid .breakdown-result {
    flex-basis: 32%;
    padding: 10px;
}
.alc-breakdown-grid .breakdown-result .alc-data-value {
    font-size: 1.2rem;
}

/* Initial Cost List */
.alc-initial-costs-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 400px;
    margin: 10px auto 20px auto;
}
.alc-initial-costs-list li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dotted #ffcc80;
    font-size: 0.95rem;
}
.alc-initial-costs-list li span {
    font-weight: 700;
}


.alc-recalculate-btn {
    padding: 8px 15px;
    margin-top: 15px;
    background-color: #00bcd4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .alc-data-grid,
    .alc-breakdown-grid,
    .alc-compact-grid.columns-2 {
        flex-direction: column;
        gap: 10px;
    }
    .alc-data-segment,
    .alc-breakdown-grid .breakdown-result,
    .alc-compact-grid.columns-2 .alc-input-group {
        flex-basis: 100%;
        width: 100% !important;
    }
}