/* ===========================================
   Loan Calculator - Tool Specific Styles (Dark Grey/Cyan Theme)
   =========================================== */

/* Tool Layout */
.lc-box {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Input Area --- */
.lc-controls {
    background: #f8fafc; /* Light Grey BG */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.lc-input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.lc-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b; /* Dark Slate Label */
    margin-bottom: 6px;
    display: block;
}

.lc-input-container {
    display: flex;
    align-items: center;
    border: 2px solid #06b6d4; /* Cyan Border */
    border-radius: 8px;
    overflow: hidden;
}

.lc-input {
    padding: 12px;
    border: none;
    font-size: 1.1rem;
    color: #1f2937;
    width: 100%;
    /* Remove default number input arrows */
    -moz-appearance: textfield; 
}

/* Currency/Percentage Symbols */
.lc-symbol {
    background: #e0f7fa; /* Pale Cyan BG for Symbol */
    color: #06b6d4;
    padding: 12px 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Results Summary --- */
.lc-results {
    margin-top: 30px;
    text-align: center;
}

.lc-summary {
    padding: 30px;
    background: #f0fdfa; /* Very Pale Cyan BG */
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.lc-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lc-summary-item {
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ccfbf1;
}

.lc-summary-label {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 5px;
}

.lc-summary-value {
    font-size: 2rem;
    font-weight: 900;
    color: #06b6d4; /* Primary Cyan Highlight */
}

/* Highlight for Monthly Payment */
#monthlyPaymentValue {
    font-size: 2.8rem;
    color: #0ea5e9; /* Strong Blue Highlight */
}

/* --- Amortization Schedule --- */
.lc-schedule-container {
    margin-top: 40px;
    text-align: left;
}

.lc-schedule-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
}

.lc-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.lc-schedule-table th, .lc-schedule-table td {
    padding: 10px 8px;
    border: 1px solid #e2e8f0;
    text-align: right;
}

.lc-schedule-table th {
    background: #f1f5f9; /* Table Header BG */
    color: #1e293b;
    font-weight: 700;
    text-align: center;
}

.lc-schedule-table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lc-controls {
        grid-template-columns: 1fr;
    }
    .lc-summary-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .lc-summary-value {
        font-size: 1.8rem;
    }
    #monthlyPaymentValue {
        font-size: 2.2rem;
    }
    .lc-schedule-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}