body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f9;
  margin: 0;
  padding: 40px;
  color: #333;
}

h2 {
  margin-bottom: 25px;
  font-size: 28px;
  color: #222;
  text-align: center;
}

.search-bar {
  margin-bottom: 20px;
  text-align: center;
}

.search-bar input {
  padding: 10px 15px;
  width: 300px;
  max-width: 90%;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.search-bar input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px #007bff50;
}

.vendor-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Zebra satır stilleri */
.vendor-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover efekti */
.vendor-table tbody tr:hover {
  background-color: #eef6ff;
}

.vendor-table th {
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
  padding: 14px 10px;
  font-size: 15px;
  text-align: left;
}

.vendor-table td {
  border-top: 1px solid #eee;
  padding: 12px 10px;
  font-size: 14px;
  vertical-align: top;
}

.hidden-search {
  display: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 60px auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

.modal-content h3 {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 15px;
}

.modal-content .product-list {
  padding-left: 20px;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}

.close:hover {
  color: #000;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

.vendor-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vendor-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.vendor-form input,
.vendor-form textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.vendor-form button {
  padding: 12px;
  font-size: 16px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.vendor-form button:hover {
  background-color: #0056b3;
}
.stats-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.stat-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px 30px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  min-width: 220px;
  text-align: center;
  transition: 0.3s;
}

.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
