/* ===============================
   BACKGROUND
================================ */
.details-wrapper {
  min-height: 100vh;
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
  font-family: sans-serif;
}

/* ===============================
   CARD
================================ */
.details-card {
  position: relative;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 850px;
  color: white;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.55);
}

.details-card > * {
  position: relative;
  z-index: 1;
}

/* ===============================
   IMAGE 
================================ */
.details-image {
  width: 100%;
  height: clamp(180px, 30vw, 320px);
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

/* ===============================
   TITLE
================================ */
.details-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-top: 1.5rem;
  text-shadow: 0 0 12px #000;
}

/* ===============================
   LONG DESCRIPTION
================================ */
.details-extra {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  line-height: 1.6;
  text-shadow: 0 0 8px #000;
}

/* ===============================
   CATEGORY
================================ */
.details-category-label {
  font-weight: 700;
  color: #dbeafe;
  margin-right: 6px;
}

.details-category-value {
  text-transform: capitalize;
  font-weight: 600;
  color: #ffffff;
}

.details-category-box {
  padding: 0.45rem 1rem;
  background: rgba(255,255,255,0.12);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-weight: 600;
  margin-top: 1.6rem;
  box-shadow: 0 0 18px rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.35);
}

/* ===============================
   ACTIONS
================================ */
.details-actions {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

/* ===============================
   BUTTONS
================================ */
.details-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.25s;
  color: white;
  text-align: center;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.35);
  font-family: inherit;
}

.details-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.details-btn.back {
  background: rgba(148, 163, 184, 0.3);
}

.details-btn.edit {
  background: rgba(34, 197, 94, 0.25);
}

.details-btn.delete {
  background: rgba(220, 38, 38, 0.3);
}

.guest-btn {
  pointer-events: none;
  background: rgba(148, 163, 184, 0.25);
}
