.calculator-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 24px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
    overflow-x: auto;
}

.tab-btn {
    padding: 8px 16px;
    border: none;
    background: none;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.tab-btn.active {
    background: #4f46e5;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.result-area {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.result-area.hidden {
    display: none;
}

.result-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 480px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
}

.result-item {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.result-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4f46e5;
    cursor: pointer;
    transition: color 0.2s;
}

.result-value:hover {
    color: #4338ca;
    text-decoration: underline;
}

.result-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}

.result-text.hidden {
    display: none;
}

.result-text:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
}

.info-section {
    margin-top: 48px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    color: #475569;
    line-height: 1.6;
}

.info-card p {
    margin-bottom: 12px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.tip {
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
}

