
/* Reset ve Temel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  background-color: #f8f9fa;
  color: #212529;
  line-height: 1.5;
  padding-bottom: 80px;
}

/* Konteyner ve Grid Yapısı */
.container {
  max-width: 1140px;
  margin: auto;
  padding: 0 15px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col {
  padding: 0 15px;
  flex: 1;
}

/* Hero Bölümü */
.hero-section {
  background-color: #0d6efd;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-section p {
  font-size: 1.25rem;
}

/* Proje Kartları */
.project-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.project-card h5 {
  font-weight: bold;
  margin-bottom: 0.75rem;
}
.project-card .btn {
  margin-top: 15px;
}

/* Butonlar */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}
.btn-primary:hover {
  background-color: #0b5ed7;
}
.btn-outline-primary {
  background: transparent;
  color: #0d6efd;
  border: 1px solid #0d6efd;
}
.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

/* Footer */
footer {
  background-color: #343a40;
  color: #f8f9fa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  z-index: -1;
}
footer a {
  color: #f8f9fa;
  text-decoration: underline;
}

/* Form ve Giriş Alanları */
.auth-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  max-width: 500px;
  margin: 80px auto;
}
.form-control, .form-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  transition: all 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  outline: none;
  box-shadow: 0 0 0 0.1rem rgba(13,110,253,.25);
}

/* Alert Mesajları */
.alert {
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}
.alert-success {
  background-color: #d4edda;
  color: #155724;
}

/* Tasarım Grid Yapısı */
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.design-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: relative;
  transition: all 0.3s ease-in-out;
}
.design-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.design-item img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 4px;
}
.design-item .star {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
  color: #ffc107;
}
.approved { border-color: #198754 !important; }
.rejected { border-color: #dc3545 !important; }
.favorite {
  border: 3px solid gold !important;
}
.favorite .star {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  color: gold;
}

/* Mobil Uyum */
@media (max-width: 576px) {
  .hero-section h1 { font-size: 2rem; }
  .hero-section p { font-size: 1rem; }
  .auth-box { margin: 30px 10px; padding: 20px; }
  .project-card { padding: 15px; }
  .design-grid {
   grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  border-radius: 10px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.zanart-process-box {
  background: #fdfdfd;
  border-left: 4px solid #0d6efd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.zanart-process-box h4 {
  color: #0d6efd;
  font-weight: bold;
}
.zanart-process-box ol {
  margin-left: 1.2rem;
  padding-left: 0.5rem;
}
.zanart-process-box li {
  margin-bottom: 10px;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.design-card {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  position: relative;
  text-align: center;
  padding: 10px;
}

.design-card:hover {
  transform: scale(1.02);
}

.design-card img {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

.design-card h6 {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.design-card .btn {
  margin-top: 8px;
}

.design-card.selected {
  border: 3px solid gold;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.design-card.selected .star {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 24px;
  color: gold;
}

/* Mobil uyumlu istatistik kartları */
@media (max-width: 576px) {
  .card-body {
    padding: 1rem;
    text-align: center;
  }

  .card-body .fs-4 {
    font-size: 1.25rem;
  }

  .btn, .badge {
    font-size: 0.9rem;
  }

  #balance {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
  }

  .btn-outline-primary.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
  }

  .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }
}

/* Mobilde tablo taşma düzeltmesi */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobil sekmeler */
.nav-tabs .nav-link {
  font-size: 0.95rem;
  padding: 0.5rem;
}

/* İstatistik kartlarını mobilde daha okunaklı hale getirir */
@media (max-width: 576px) {
  .row.row-cols-1.row-cols-sm-2.g-3 .col {
    width: 100%;
  }

  .card.shadow-sm {
    margin-bottom: 1rem;
  }

  .card-body .fs-4 {
    font-size: 1.4rem;
  }

  .card-body .text-muted {
    font-size: 0.95rem;
  }

  .d-flex.justify-content-between.align-items-center.mb-4 {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  .btn,
  .badge {
    font-size: 0.9rem;
  }

  #balance {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
  }

  .btn-outline-primary.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
  }
}

.small-stats .border {
    font-size: 0.85rem;
    line-height: 1.1;
}
/* Designer Head Alani */
.dashboard-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.dashboard-left {
  flex: 1 1 100%;
}

.dashboard-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.dashboard-header .item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  background: #f8f9fa;
  font-size: 0.875rem;
  white-space: nowrap;
}

.dashboard-header .item a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.dashboard-header .item i {
  margin-right: 0.4rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .dashboard-header {
    flex-wrap: nowrap;
  }
  .dashboard-left {
    flex: 1;
  }
  .dashboard-right {
    justify-content: flex-end;
    flex: 1;
  }
}

@media (max-width: 768px) {
  #sidebar {
    display: none !important;
  }
}
.container-fluid .row > [class*='col-'] {
  max-width: 100%;
  overflow-x: hidden;
}

