/* Capital Gains Tax Calculator Styles */

.calculator-section {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-container {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Asset Type Tabs */
.asset-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn:hover {
    border-color: #4a90e2;
}

.tab-btn.active {
    background: #4a90e2;
    border-color: #4a90e2;
    color: #fff;
}

/* Input Panel */
.input-panel {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-with-unit input,
.select-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-with-unit input:focus,
.select-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.input-with-unit .unit {
    color: #666;
    font-weight: 500;
}

.info-box {
    padding: 15px;
    background: #f0f7ff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box p {
    margin: 0;
    color: #2c5aa0;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Result Panel */
.result-panel {
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.result-panel h2 {
    margin-bottom: 20px;
    color: #333;
}

.result-summary {
    margin-bottom: 25px;
}

.result-card {
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.result-card.primary {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
}

.result-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.result-value {
    font-size: 32px;
    font-weight: 700;
}

/* Result Details */
.result-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: #666;
}

.detail-row span:last-child {
    font-weight: 600;
    color: #333;
}

.disclaimer {
    padding: 15px;
    background: #fff5f5;
    border-radius: 8px;
    border-left: 4px solid #f44336;
}

.disclaimer p {
    margin: 0;
    color: #c62828;
    font-size: 14px;
}

/* Guide Section */
.guide-section {
    margin-top: 40px;
}

.guide-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.tax-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tax-info-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tax-info-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.tax-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tax-info-card li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.tax-info-card li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .asset-type-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .result-value {
        font-size: 26px;
    }
}




