/* Genel Stiller */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f0f2f5;
}

.container {
    flex: 1;
    padding: 20px;
}

/* Kart Stilleri */
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 12px;
    margin-bottom: 24px;
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: #1a237e;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-body {
    padding: 1.5rem;
}

/* Tablo Stilleri */
.table-responsive {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    background-color: #ffffff;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #1a237e;
    padding: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e0e0e0;
}

/* Başarı/Başarısız renk kodları */
.success-rate {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.success-rate.high {
    color: #2e7d32;
    background-color: #e8f5e9;
}

.success-rate.medium {
    color: #f57f17;
    background-color: #fff3e0;
}

.success-rate.low {
    color: #c62828;
    background-color: #ffebee;
}

/* Grafik Alanı */
.chart-container {
    position: relative;
    height: 400px;
    margin: 1rem 0;
}

#successRateChart {
    width: 100% !important;
    height: 100% !important;
}

/* Filtre Alanı */
.filter-section {
    margin-bottom: 1.5rem;
}

.form-select, .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus, .form-control:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.btn-primary {
    background-color: #1a237e;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #283593;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 35, 126, 0.2);
}

/* Loading Spinner */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading .spinner-border {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    color: #1a237e;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .success-rate {
        padding: 0.375rem 0.75rem;
        min-width: 60px;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .form-select, .form-control, .btn {
        margin-bottom: 0.5rem;
    }
}