* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f2e5f, #050a16 60%);
  color: #f4f8ff;
}

.admin-wrap {
  width: min(1040px, 96vw);
  margin: 24px auto;
  display: grid;
  gap: 14px;
}

.panel {
  background: #0c1a3e;
  border: 1px solid #213d78;
  border-radius: 18px;
  padding: 18px;
}

form {
  display: grid;
  gap: 10px;
}

input,
button,
select {
  border-radius: 12px;
  border: 1px solid #2d4e93;
  padding: 12px;
  background: #09122b;
  color: #f5f8ff;
}

button {
  cursor: pointer;
  font-weight: 700;
  background: #2f73ff;
}

.hidden {
  display: none;
}

.error {
  color: #ff8f8f;
  font-weight: 700;
}

.requests-list,
.admin-reviews {
  display: grid;
  gap: 10px;
}

.request-card,
.review-card {
  background: #091736;
  border-radius: 12px;
  border: 1px solid #1c3470;
  padding: 12px;
}

.photos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.photos img {
  width: 120px;
  height: 95px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #2f5299;
}

.photos a {
  display: inline-flex;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-actions {
  display: flex;
  gap: 10px;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 12px;
}

.photo-modal.hidden {
  display: none;
}

.photo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.photo-modal-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 24px);
  display: grid;
  place-items: center;
}

.photo-modal-content img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #2f5299;
  background: #050a16;
}

.photo-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #2d4e93;
  background: #09122b;
  color: #f5f8ff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
