.lc-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ccc;
}

.lc-title > div {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.lc-title p {
    color: #666;
    line-height: 1.5;
}

.lc-section-container {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fafafa;
    border-radius: 4px;
}

.lc-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.lc-row:last-child { margin-bottom: 0; }

.lc-label {
    flex: 0 0 200px;
    font-weight: 500;
    color: #333;
}

.lc-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lc-field input {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 120px;
}

.lc-field input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.lc-unit {
    color: #666;
    font-size: 14px;
}

.lc-button { flex: 0 0 auto; }

.lc-button input {
    padding: 8px 20px;
    margin-right: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.lc-button input:hover { background-color: #45a049; }

/* Summary stat boxes */
.lc-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lc-summary-item {
    flex: 1;
    min-width: 160px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px;
    background: #fafafa;
    text-align: center;
}

.lc-interest-highlight {
    border-color: #f0ad4e;
    background-color: #fff8ee;
}

.lc-summary-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.lc-summary-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.lc-interest-highlight .lc-summary-value {
    color: #a05000;
}

/* Amortization table */
.lc-table {
    width: 100%;
    border-collapse: collapse;
}

.lc-table thead { background-color: #f0f0f0; }

.lc-table th {
    padding: 10px 12px;
    text-align: right;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    color: #333;
}

.lc-table th:first-child { text-align: left; }

.lc-table td {
    padding: 8px 12px;
    text-align: right;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.lc-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.lc-table tbody tr:nth-child(even) { background-color: #f9f9f9; }
.lc-table tbody tr:hover { background-color: #f0f8ff; }

.error-message {
    color: #d32f2f;
    font-size: 12px;
}

.error-message.disp-hide { display: none; }
.error-message.disp-show { display: block; }

.disp-hide { display: none; }
