/* MST Ürün Kataloğu — Frontend Dark Theme Styles */

.mst-uk-portal {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw 80px;
}

/* ── Portal Header ── */
.mst-uk-portal-header {
  text-align: center;
  padding: 60px 0 48px;
}

.mst-uk-portal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(23, 184, 174, 0.08);
  border: 1px solid rgba(23, 184, 174, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mst-uk-portal-icon svg {
  width: 28px;
  height: 28px;
  color: #17b8ae;
}

.mst-uk-portal-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #eef2f5;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.mst-uk-portal-header p {
  font-size: 15px;
  color: #86aab3;
  margin: 0 0 32px;
  line-height: 1.5;
}

/* ── Global Search ── */
.mst-uk-global-search {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.mst-uk-global-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #3f6672;
  pointer-events: none;
}

.mst-uk-global-search input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  background: rgba(14, 21, 29, 0.8);
  border: 1px solid rgba(29, 51, 58, 0.6);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: #eef2f5;
  outline: none;
  transition: all 0.3s ease;
}

.mst-uk-global-search input::placeholder {
  color: #3f6672;
}

.mst-uk-global-search input:focus {
  border-color: rgba(23, 184, 174, 0.5);
  box-shadow: 0 0 0 3px rgba(23, 184, 174, 0.08), 0 8px 32px rgba(0,0,0,0.3);
}

/* ── Controls ── */
.mst-uk-table-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.mst-uk-showing {
  font-size: 13px;
  color: #86aab3;
  font-family: 'IBM Plex Mono', monospace;
}

.mst-uk-table-controls select {
  padding: 8px 14px;
  background: #0e151d;
  border: 1px solid #1d333a;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #eef2f5;
  cursor: pointer;
  outline: none;
}

.mst-uk-table-controls select:focus {
  border-color: rgba(23, 184, 174, 0.4);
}

/* ── Table Wrapper ── */
.mst-uk-table-wrap {
  overflow-x: auto;
  border: 1px solid #1d333a;
  border-radius: 12px;
  background: rgba(14, 21, 29, 0.6);
}

/* ── Table ── */
.mst-uk-front-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Outfit', sans-serif;
}

.mst-uk-front-table thead tr:first-child {
  background: linear-gradient(180deg, rgba(23, 184, 174, 0.12) 0%, rgba(23, 184, 174, 0.04) 100%);
}

.mst-uk-front-table thead tr:first-child th {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #17b8ae;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #1d333a;
  white-space: nowrap;
  user-select: none;
}

.mst-uk-th-sortable {
  cursor: pointer;
  transition: color 0.2s;
}

.mst-uk-th-sortable:hover {
  color: #3fd9cd !important;
}

.mst-uk-sort-arrow {
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.5;
}

/* Filter row */
.mst-uk-filter-row th {
  padding: 6px 8px 10px;
  border-bottom: 1px solid #1d333a;
}

.mst-uk-filter-row input {
  width: 100%;
  padding: 7px 10px;
  background: rgba(7, 11, 17, 0.6);
  border: 1px solid #1d333a;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: #eef2f5;
  outline: none;
  transition: border-color 0.2s;
}

.mst-uk-filter-row input::placeholder {
  color: #3f6672;
}

.mst-uk-filter-row input:focus {
  border-color: rgba(23, 184, 174, 0.4);
}

/* Body rows */
.mst-uk-front-table tbody tr {
  border-bottom: 1px solid rgba(29, 51, 58, 0.3);
  transition: background 0.2s;
}

.mst-uk-front-table tbody tr:hover {
  background: rgba(23, 184, 174, 0.04);
}

.mst-uk-front-table tbody tr:nth-child(even) {
  background: rgba(14, 21, 29, 0.3);
}

.mst-uk-front-table tbody tr:nth-child(even):hover {
  background: rgba(23, 184, 174, 0.04);
}

.mst-uk-front-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: #b7c2cb;
  vertical-align: middle;
}

.mst-uk-front-table td:first-child {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  color: #eef2f5;
  font-size: 13px;
}

.mst-uk-loading {
  text-align: center;
  padding: 48px 16px !important;
  color: #3f6672 !important;
  font-style: italic;
}

/* ── Pagination ── */
.mst-uk-front-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.mst-uk-front-pagination button {
  min-width: 38px;
  height: 38px;
  border: 1px solid #1d333a;
  background: rgba(14, 21, 29, 0.6);
  color: #86aab3;
  cursor: pointer;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.mst-uk-front-pagination button:hover:not(:disabled) {
  background: rgba(23, 184, 174, 0.1);
  border-color: rgba(23, 184, 174, 0.3);
  color: #eef2f5;
}

.mst-uk-front-pagination button.active {
  background: rgba(23, 184, 174, 0.15);
  border-color: #17b8ae;
  color: #3fd9cd;
  font-weight: 700;
}

.mst-uk-front-pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}

.mst-uk-front-pagination .mst-uk-page-info {
  font-size: 13px;
  color: #3f6672;
  font-family: 'IBM Plex Mono', monospace;
  padding: 0 12px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .mst-uk-portal-header h2 { font-size: 24px; }
  .mst-uk-portal-header { padding: 40px 0 32px; }
  .mst-uk-front-table td,
  .mst-uk-front-table thead th { padding: 10px 8px; font-size: 12px; }
  .mst-uk-global-search input { font-size: 14px; padding: 14px 16px 14px 46px; }
}
