@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* 기본 레이아웃 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Global body and container styles removed to prevent conflicts with base.css */

/* Footer styles removed - using base.css footer styles for consistency */

/* 헤더 섹션 */
.header-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 30px;
    background-color: #fff;
}

h1 {
    text-align: center;
    color: #003366;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 28px;
}

h2, h3 {
    color: #003366;
    margin-top: 0;
}

.model-description {
    text-align: center;
    color: #666;
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto;
}

/* 섹션 헤더 스타일 */
.section-header {
    background-color: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 1px solid #e1e4e8;
    width: 100%;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.section-header h2 i {
    margin-right: 10px;
    color: #003366;
}

.container-fluid.p-4 {
    background-color: #fff;
    margin-bottom: 30px;
    width: 100%;
}

/* 버튼 스타일 - 금융 회계 스타일 */
.form-actions {
    margin-top: 40px;
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Page-specific button styles - excluding footer buttons */
button#calculateBtn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    height: 56px;
    min-width: 200px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

button#calculateBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

button#calculateBtn:hover::before {
    left: 100%;
}

button#calculateBtn i {
    margin-right: 12px;
    font-size: 18px;
    z-index: 1;
}

button#calculateBtn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

button#calculateBtn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 입력 필드 스타일 - 금융 회계 스타일 */
input[type="text"], 
input[type="number"],
select {
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    height: 48px;
    color: #2c3e50;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

input[type="number"] {
    text-align: left;
    padding-left: 16px;
    font-variant-numeric: tabular-nums;
}

input[type="text"]:focus, 
input[type="number"]:focus,
select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
    background-color: #ffffff;
    transform: translateY(-1px);
}

input[type="text"]:hover, 
input[type="number"]:hover,
select:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

/* 라벨 스타일 개선 */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.4;
}

label i {
    margin-right: 8px;
    color: #64748b;
    width: 16px;
    text-align: center;
}

/* 툴팁 스타일 개선 */
.tooltip {
    position: absolute;
    background-color: #1e293b;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 250px;
    line-height: 1.4;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
}

.input-with-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-20px);
}

/* 버튼 스타일 */
button#calculateBtn:hover {
    background-color: #1558b0;
}

/* 결과 테이블 스타일 */
.result-section {
    margin-top: 40px;
    background-color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 30px;
    width: 100%;
}

.result-section h2 {
    color: #003366;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.result-section h2 i {
    margin-right: 10px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #e1e4e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.result-table th, .result-table td {
    border: 1px solid #e1e4e8;
    padding: 12px 15px;
    text-align: left;
}

.result-table th {
    background-color: #f8f9fa;
    color: #003366;
    font-weight: 600;
    position: sticky;
}
  
/* 저널 항목 스타일 */
.journal-entry-block {
border: 1px solid #e1e4e8;
padding: 20px;
margin-bottom: 25px;
border-radius: 6px;
background-color: #f8f9fa;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 실습예제 데이터 버튼 스타일 - 깔끔한 금융 회계 스타일 */
.examples-section {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 32px 1.5rem;
    margin: 3rem 1.5rem 32px 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    box-sizing: border-box;
}

.examples-title {
    font-size: 20px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    padding-bottom: 0;
    border-bottom: none;
}

.examples-title i {
    margin-right: 12px;
    color: #64748b;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.example-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.example-button {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.example-button:hover {
    background-color: #f0f7ff;
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.example-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Finance Lease 예제 버튼 스타일 */
.example-button[data-example="example1"],
.example-button[data-example="example2"],
.example-button[data-example="example3"],
.example-button[data-example="example4"],
.example-button[data-example="example5"] {
    border-left: 3px solid #e74c3c;
}

/* Operating Lease 예제 버튼 스타일 */
.example-button[data-example="example6"],
.example-button[data-example="example7"],
.example-button[data-example="example8"] {
    border-left: 3px solid #2ecc71;
}

.example-description {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    line-height: 1.5;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.journal-entry-block p {
    font-weight: 600;
    margin-bottom: 12px;
    color: #003366;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.journal-entry-block p i {
    margin-right: 8px;
}

.journal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.journal-table th {
    text-align: left;
    background-color: #f1f8ff;
    padding: 10px 12px;
    color: #003366;
    font-weight: 600;
    border: 1px solid #e1e4e8;
}

.journal-table td {
    background-color: #ffffff;
    padding: 10px 12px;
    border: 1px solid #e1e4e8;
    white-space: pre-wrap;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
        padding: 0;
    }
    
    .container {
        padding: 15px;
    }
}

/* 오류 메시지 */
.error {
    color: #d32f2f;
    background-color: #fdecea;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.error i {
    margin-right: 8px;
}
  
/* 영어 레이블 스타일 - 금융 회계 스타일 */
.eng-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    margin-top: 4px;
    font-style: italic;
    letter-spacing: 0.025em;
}

/* 폼 그룹 스타일 개선 */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* 입력 컨테이너 스타일 */
.input-with-icon {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 선택 박스 스타일 개선 */
select.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
    cursor: pointer;
}

/* 폼 전체 스타일링 */
.lease-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* 섹션 헤더 개선 */
.section-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.section-header h2 i {
    margin-right: 12px;
    color: #3b82f6;
    font-size: 22px;
}

/* 플레이스홀더 스타일 */
input::placeholder {
    color: #94a3b8;
    font-style: italic;
    font-weight: 400;
}

/* 포커스 상태 개선 */
input:focus::placeholder {
    color: #cbd5e1;
}

/* 반응형 개선 */
@media (max-width: 768px) {
    .lease-form {
        padding: 20px;
        border-radius: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 15px;
        padding: 12px 16px;
        margin: 30px 0 20px;
    }
    
    .section-header {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    button#calculateBtn {
        width: 100%;
        min-width: auto;
    }
    
    .form-actions {
        padding: 20px 16px;
    }
    
    /* 예제 섹션 태블릿 최적화 */
    .examples-section {
        padding: 24px 20px;
        margin: 0 0.5rem 24px 0.5rem;
    }
    
    .example-buttons-container {
        gap: 20px;
    }
    
    .lease-category {
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .lease-form {
        padding: 16px;
        margin: 0 8px;
    }
    
    .section-header {
        padding: 16px;
        margin: 0 8px 20px 8px;
    }
    
    .section-title {
        font-size: 14px;
        padding: 10px 12px;
        margin: 20px 0 16px;
    }
    
    input[type="text"], 
    input[type="number"],
    select {
        height: 44px;
        font-size: 16px; /* iOS 줌 방지 */
    }
    
    /* 예제 섹션 모바일 최적화 */
    .examples-section {
        padding: 20px 16px;
        margin: 0 0.5rem 24px 0.5rem;
    }
    
    .examples-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .example-buttons-container {
        gap: 16px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .lease-category {
        min-width: 100%;
        padding: 20px 16px;
    }
    
    .lease-category h5 {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .example-button {
        padding: 14px 16px;
        font-size: 0.85rem;
        min-height: 48px;
    }
    
    .example-description {
        margin-top: 24px;
        padding: 20px 16px;
        font-size: 0.85rem;
    }
}

/* 섹션 타이틀 스타일 - 금융 회계 스타일 */
.section-title {
    font-weight: 700;
    color: #1e293b;
    margin: 40px 0 24px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 16px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.section-title:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #d1dae0 100%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-title i {
    margin-right: 12px;
    color: #3b82f6;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px 0 0 12px;
}

/* Styles for Lease Example Buttons Section Redesign - 금융 회계 스타일 */
.example-buttons-container {
  display: flex;
  gap: 32px; /* Increased gap for better separation */
  margin-top: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
}

.lease-category {
  flex: 1 1 45%; /* Each category takes up roughly half the space, allows wrapping */
  min-width: 300px; /* Increased minimum width */
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.lease-category:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lease-category h5 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  border-bottom: none;
  padding-bottom: 0;
}

.lease-category h5 i {
  margin-right: 12px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #64748b;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Increased gap for better spacing */
}

.example-button {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
  display: block;
  min-height: 52px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.example-button:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.example-button.active {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #94a3b8;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Styling for the example description area below buttons - 깔끔한 스타일 */
.example-description {
    margin-top: 32px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.example-description strong {
    color: #334155;
    font-weight: 600;
}

.example-description em {
    color: #64748b;
    font-style: italic;
}

/* Styles for Lease Classification Table */
.classification-table {
  margin-top: 15px; /* Space above the table */
  border-collapse: separate; /* Allows for border-spacing and rounded corners on table */
  border-spacing: 0;
  width: 100%;
  border: 1px solid #dee2e6; /* Outer border for the table */
  border-radius: 8px; /* Rounded corners for the table */
  overflow: hidden; /* Ensures child elements conform to rounded corners */
  box-shadow: 0 2px 4px rgba(0,0,0,0.03); /* Subtle shadow */
}

.classification-table th,
.classification-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef; /* Lighter border for inner rows */
  font-size: 0.9rem;
}

.classification-table th {
  background-color: #f8f9fa; /* Light gray header background */
  color: #495057; /* Darker gray text for header */
  font-weight: 600;
  border-top: none; /* Remove top border for header cells if using outer border */
}

.classification-table tbody tr:last-child td {
  border-bottom: none; /* Remove bottom border for the last row */
}

.classification-table tbody tr:hover {
  background-color: #eef2f7; /* Light blue hover for rows */
}

.classification-table td.classification-value {
  color: #333; /* Standard text color for result values */
  font-weight: 500;
}

.classification-table td.final-classification-result {
  font-weight: bold;
  /* Removed fixed padding, border-radius, display, margin - will be full cell */
  /* Text color will be set by specific lease type rules below */
  text-align: center; /* Center the text in the result cell */
}

/* Specific styling for Lease Type Result background and text colors */
.classification-table td.final-classification-result.result-finance-lease {
  background-color: #d4edda; /* Light pastel green */
  color: #155724; /* Dark green text */
}

.classification-table td.final-classification-result.result-operating-lease {
  background-color: #d1ecf1; /* Light pastel blue/teal */
  color: #0c5460; /* Dark blue/teal text */
}

.classification-table td.final-classification-result.result-sales-type-lease {
  background-color: #cce5ff; /* Light pastel blue */
  color: #004085; /* Dark blue text */
}

.classification-table td.final-classification-result.result-direct-financing-lease {
  background-color: #ffe8cc; /* Light pastel orange */
  color: #856404; /* Dark orange/brown text */
}
/* Add more specific types if needed */

/* Styles for Journal Entry Sections */
.journal-entry-block {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}

.journal-entry-block:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.journal-entry-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #ced4da; /* Dashed line for a ledger feel */
}

.journal-entry-title .eng-header {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: normal;
    display: block;
    margin-top: 2px;
}

.journal-entry-table {
  width: 100%;
  border-collapse: separate; /* Use separate for rounded corners on cells if needed */
  border-spacing: 0;
  margin-top: 0; /* Reset margin if inheriting from .result-table */
}

.journal-entry-table th,
.journal-entry-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f3f5; /* Lighter border for internal rows */
  font-size: 0.9rem;
}

.journal-entry-table tr:last-child th,
.journal-entry-table tr:last-child td {
  border-bottom: none;
}

.journal-entry-table th {
  width: 30%; /* Give more space to account details */
  text-align: left;
  font-weight: 600;
  color: #495057;
  background-color: #f8f9fa; /* Light background for Debit/Credit labels */
  vertical-align: top; /* Align with top of pre content */
  line-height: 1.3;
  border-right: 1px solid #e9ecef;
}

.journal-entry-table th .eng-header {
  font-size: 0.9em;
  color: #6c757d;
  font-weight: normal;
  display: block;
}

.journal-entry-table td {
  text-align: left;
  vertical-align: top; /* Align with top of Debit/Credit label */
}

.journal-entry-table td pre {
  margin: 0;
  padding: 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; /* Monospace font */
  font-size: 0.85rem;
  background-color: transparent;
  border: none;
  white-space: pre-wrap; /* Allow wrapping but preserve spaces */
  word-break: break-all; /* Break long strings if necessary */
  color: #212529;
}

.journal-entry-table tbody tr:hover {
  background-color: #f8f9fa; /* Light hover effect for rows */
}

/* Styles for Amortization Schedule Tables */
.amortization-schedule-table {
  margin-top: 15px;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.amortization-schedule-table th,
.amortization-schedule-table td {
  padding: 10px 12px;
  text-align: right;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.85rem;
  /* white-space: nowrap; Removed to allow wrapping for multi-line headers */
}

.amortization-schedule-table th:first-child,
.amortization-schedule-table td:first-child {
  text-align: center;
}

.amortization-schedule-table th {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  border-top: none;
  text-align: center;
  line-height: 1.3; /* Adjust line-height for two lines of text */
  vertical-align: middle; /* Ensure text is vertically centered if padding creates extra space */
}

.amortization-schedule-table th .eng-header {
  font-size: 0.9em; /* Make English part slightly smaller */
  color: #6c757d; /* Slightly lighter color for English part */
  font-weight: normal; /* Normal weight for English part */
  display: block; /* Ensures it takes its own line if not already forced by <br> */
}

.amortization-schedule-table tbody tr:last-child td {
  border-bottom: none;
}

.amortization-schedule-table tbody tr:hover {
  background-color: #eef2f7;
}

.amortization-schedule-table td {
  color: #333;
  font-weight: normal;
}
