/* Refinansman Hesaplayıcı Stilleri */
.refinansman-calculator {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calculator-container {
    width: 100%;
}

.calculator-title {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.calculator-description {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

/* Form Stilleri */
.calculator-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.form-section {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.form-group small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 5px;
}

.form-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background-color: #4338ca;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

/* Sonuç Stilleri */
.calculator-result {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.calculator-result h3 {
    color: #333;
    margin-top: 0;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.result-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.summary-item {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    text-align: center;
}

.summary-label {
    display: block;
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

.summary-value {
    display: block;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

#aylikTasarruf, #toplamTasarruf {
    color: #16a34a;
}

.result-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.details-section {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.details-section h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-label {
    color: #666;
}

.detail-value {
    font-weight: 500;
}

/* Grafik Stilleri */
.result-chart {
    margin-bottom: 30px;
}

.result-chart h4 {
    color: #333;
    margin-bottom: 15px;
}

.chart-container {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
}

.chart-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chart-label {
    font-weight: 500;
    color: #333;
}

.chart-bar-container {
    height: 30px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
}

.chart-bar {
    height: 100%;
    transition: width 1s ease-in-out;
}

.chart-bar-principal {
    background-color: #4f46e5;
}

.chart-bar-interest {
    background-color: #ef4444;
}

.chart-bar-cost {
    background-color: #f97316;
}

.chart-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.principal-color {
    background-color: #4f46e5;
}

.interest-color {
    background-color: #ef4444;
}

.cost-color {
    background-color: #f97316;
}

.legend-text {
    font-size: 14px;
    color: #666;
}

/* Sonuç Metni */
.result-conclusion {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.result-conclusion h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.result-conclusion p {
    color: #555;
    line-height: 1.6;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .calculator-form {
        flex-direction: column;
    }
    
    .form-section {
        width: 100%;
    }
    
    .result-summary {
        flex-direction: column;
    }
    
    .summary-item {
        width: 100%;
    }
} 