body { background: #f8f9fa; }
.navbar .navbar-brand span { font-weight: 600; }
.navbar .navbar-brand img { height: 28px; width: auto; }
.card h6 { font-weight: 600; letter-spacing: .03em; }
.table td, .table th { vertical-align: middle; }
img { max-width: 100%; height: auto; }

/* Make table rows clickable */
tr.row-click { cursor: pointer; }

/* Align status action controls */
.status-actions .form-control { height: 38px; }
.status-actions form { margin: 0; }

/* Prevent long text overflow */
.fw-semibold { word-break: break-word; }
.card-body p { white-space: pre-wrap; word-break: break-word; }

/* Mobile tweaks */
@media (max-width: 576px) {
  .status-actions { gap: .5rem; width: 100%; }
  .status-actions form { flex: 1 1 100%; }
  .status-actions .btn { width: 100%; }
  .navbar .container { padding-left: 12px; padding-right: 12px; }
}

/* ===== Deyor UI Enhancements for Public Submit ===== */
.deyor-gradient-bg {
  background: linear-gradient(135deg, #4c6fff 0%, #7b61ff 50%, #00c2ff 100%);
  color: #fff;
}

.opacity-90 { opacity: .9; }

.submit-card { border: 0; border-radius: 16px; }
.submit-card .form-control {
  border-radius: 10px;
  border-color: #e5e7eb;
}
.submit-card .form-control:focus {
  border-color: #7b61ff;
  box-shadow: 0 0 0 .2rem rgba(123, 97, 255, 0.25);
}

.btn-deyor {
  background: linear-gradient(135deg, #7b61ff, #4c6fff);
  color: #fff;
  border: none;
  padding-left: 1.25rem; padding-right: 1.25rem;
}
.btn-deyor:hover {
  filter: brightness(1.05);
  color: #fff;
}

.submit-hero {
  border: 0;
}
.hero-logo { max-height: 48px; }

/* Reduce card shadow harshness and add softness */
.card.shadow { box-shadow: 0 12px 30px rgba(0,0,0,.06); }

/* ===== Airbnb-like Theme ===== */
:root {
  --airbnb-raspberry: #ff385c; /* primary */
  --airbnb-raspberry-hover: #e31c5f;
  --airbnb-text: #222222;
  --airbnb-muted: #717171;
  --airbnb-border: #dddddd;
  --airbnb-bg: #f7f7f7;
  --airbnb-focus: rgba(255, 56, 92, 0.28);
}

.airbnb-page { color: var(--airbnb-text); }
.airbnb-muted { color: var(--airbnb-muted) !important; }

.airbnb-hero {
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
  border: 1px solid #f0f0f0;
  border-radius: 16px;
}

.airbnb-card {
  border: 1px solid #ededed;
  border-radius: 16px;
}

.airbnb-input {
  border-radius: 12px !important;
  border: 1px solid var(--airbnb-border) !important;
  padding: 10px 14px !important;
}
.airbnb-input:focus {
  border-color: var(--airbnb-raspberry) !important;
  box-shadow: 0 0 0 3px var(--airbnb-focus) !important;
}

label.form-label { font-weight: 600; }

.btn-airbnb {
  background-color: var(--airbnb-raspberry);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
}
.btn-airbnb:hover {
  background-color: var(--airbnb-raspberry-hover);
  color: #fff;
}

/* ===== Accessibility: Focus visibility and skip link ===== */
/* Visually hidden until focused */
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  z-index: 1000;
}

/* Use strong focus rings for interactive elements */
.airbnb-input:focus-visible,
.btn-airbnb:focus-visible,
.btn:focus-visible,
.navbar a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible {
  outline: 3px solid var(--airbnb-raspberry);
  outline-offset: 2px;
}
