.amortisman-calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.calculator-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.1);
}

.vade-group {
    flex: 2;
}

.vade-inputs {
    display: flex;
    gap: 1rem;
}

.vade-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.vade-label {
    color: #2c3e50;
    white-space: nowrap;
}

.date-select {
    display: flex;
    gap: 1rem;
}

.date-select select {
    flex: 1;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #4f46e5;
    color: #fff;
}

.btn-primary:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: #4f46e5;
    background-color: transparent;
    border: 1px solid #4f46e5;
}

.btn-outline-primary:hover {
    background-color: #4f46e5;
    color: #fff;
}

.result-summary {
    margin-bottom: 2rem;
}

.result-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.result-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.result-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4f46e5;
}

/* Pasta grafik stillleri */
.result-chart {
    text-align: center;
    margin: 2rem 0;
}

.pie-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
}

.pie-chart {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #e9ecef;
    overflow: hidden;
}

.slice {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
}

.principal-slice {
    background-color: #4f46e5;
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0);
}

.interest-slice {
    background-color: #fb923c;
}

.chart-legend {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.principal-color {
    background-color: #4f46e5;
}

.interest-color {
    background-color: #fb923c;
}

/* Tablo stilleri */
.payment-schedule {
    margin-top: 3rem;
}

.schedule-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.schedule-controls .form-group {
    max-width: 150px;
    margin-bottom: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: right;
}

.table th:first-child,
.table td:first-child,
.table th:nth-child(2),
.table td:nth-child(2) {
    text-align: left;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* Açıklama bölümü */
.calculator-info {
    color: #2c3e50;
}

.info-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.formula-box {
    background-color: #e0e7ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-family: monospace;
}

/* Yazdırma stilleri */
@media print {
    .amortisman-calculator-container {
        box-shadow: none;
        padding: 0;
    }
    
    .calculator-form, .calculator-info {
        display: none;
    }
    
    .result-chart {
        page-break-after: always;
    }
}

/* Tablet ve mobil uyumlu tasarım */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vade-inputs {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .amortisman-calculator-container {
        padding: 1rem;
    }
    
    .calculator-form {
        padding: 1.5rem;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
    
    .schedule-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .schedule-controls .form-group {
        max-width: 100%;
        width: 100%;
    }
    
    .table th, .table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
} 