.loan-cal-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

h1 {
    color: #0056b3;
    margin-bottom: 25px;
    font-size: 1.8em;
}

h2.sub-title {
    color: #666;
    margin-top: -15px;
    margin-bottom: 25px;
    font-size: 1.1em;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.tab-button {
    background-color: #e9ecef;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    color: #495057;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.tab-button.active {
    background-color: #007bff;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.calculator-box {
    background: #fff;
    padding: 25px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 0.95em;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
}

.result-box {
    margin-top: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 6px solid #007bff;
    text-align: left;
}

.result-box h3 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.result-box p {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
}

.result-box p span {
    font-weight: bold;
    color: #d63384;
    float: right;
}

.share-container {
    text-align: right;
    margin-bottom: 10px;
}

.share-btn {
    background: #fff;
    color: #555;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    cursor: pointer;
    transition: 0.2s;
}

.section-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.info-section h3 {
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.info-section ul {
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .tab-button {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}