/* Finansal Takip Sistemi - Özel Stiller */

/* Genel */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

/* Kartlar */
.card {
  border: none;
  border-radius: 10px;
}

.card-header {
  border-radius: 10px 10px 0 0 !important;
  font-weight: 600;
}

/* Tablo */
.table th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
}

.table td {
  vertical-align: middle;
}

/* Badge'ler */
.badge {
  font-weight: 500;
}

/* Form kontrolleri */
.form-control:focus,
.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Navbar */
.navbar-brand {
  font-size: 1.25rem;
}

/* Sayfalama */
.pagination .page-link {
  border-radius: 5px;
  margin: 0 2px;
}

/* Modal */
.modal-content {
  border-radius: 10px;
  border: none;
}

/* Butonlar */
.btn {
  border-radius: 6px;
}

.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: 6px 0 0 6px;
}

.btn-group .btn:last-child {
  border-radius: 0 6px 6px 0;
}

/* Chart container */
canvas {
  max-height: 300px;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
  .table {
    font-size: 0.85rem;
  }
  
  .card-header h5 {
    font-size: 1rem;
  }
  
  .btn-group-sm .btn {
    padding: 0.2rem 0.4rem;
  }
}

/* Truncate helper */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Para renkleri */
.text-success {
  color: #198754 !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-warning {
  color: #ffc107 !important;
}

/* Animasyonlar */
.card {
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Login sayfası */
.min-vh-100 {
  min-height: 100vh;
}

/* Form label */
.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #495057;
}

/* İşlem satırı hover */
.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Scrollbar */
.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}
