/* Courts Page Only */

.nk-page-hero {
  position: relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
}

.nk-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.nk-page-title,
.nk-page-subtitle {
  position: relative;
  z-index: 2;
  color: #fff;
}

.nk-page-title {
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 12px;
}

.nk-page-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin: 0;
}

.nk-courts-section {
  padding: 70px 0;
  background: #ffffff;
}

.nk-courts-grid {
  margin-top: 10px;
}

.nk-court-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.nk-court-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.nk-court-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 61, 255, 0.08);
}

.nk-court-icon i {
  font-size: 30px;
}

.nk-court-title {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 10px;
}

.nk-court-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(0,0,0,0.72);
  margin-bottom: 18px;
  min-height: 78px;
}

.nk-court-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  background: #2e3dff;
  color: #fff;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nk-court-btn:hover,
.nk-court-btn:focus {
  color: #fff;
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ✅ Blur Page */
#pageWrap.nk-blur-active {
  filter: blur(7px);
  transition: 0.2s ease;
}

/* ✅ Dark Backdrop */
.modal-backdrop.in {
  opacity: 0.7;
}

/* ✅ Center Modal (Bootstrap 3) */
#advocateModal .modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
}

/* ✅ Small Width */
.nk-modal-sm {
  width: 420px;
  max-width: 92%;
}

/* ✅ Modal Look */
.nk-modal-content {
  border-radius: 14px;
  overflow: hidden;
  border: none;
}

/* ✅ Header */
.nk-modal-header {
  position: relative;
  background: #101828;
  color: #fff;
  padding: 14px 16px;
  border-bottom: none;
}

/* ✅ White Cross Button */
.nk-xclose {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255,255,255,0.14);
  border-radius: 10px;
  color: #fff !important;
  font-size: 26px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  z-index: 9999;
}

.nk-xclose:hover,
.nk-xclose:focus {
  background: rgba(255,255,255,0.22);
  outline: none;
}

/* ✅ Modal Body */
.nk-modal-body {
  padding: 14px 16px;
}

.nk-modal-subtitle {
  margin: 0 0 10px;
  font-weight: 700;
  color: rgba(0,0,0,0.72);
}

/* ✅ Scroll Box */
.nk-scroll-box {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 6px;
}

.nk-scroll-box::-webkit-scrollbar {
  width: 7px;
}
.nk-scroll-box::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.18);
  border-radius: 10px;
}

/* ✅ List */
.nk-advocate-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nk-advocate-list li {
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nk-advocate-list li .badge {
  background: rgba(46, 61, 255, 0.12);
  color: #2e3dff;
  font-weight: 700;
}

/* ✅ Footer */
.nk-modal-footer {
  padding: 12px 16px;
  background: #fafafa;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.nk-adv-item { gap: 10px; }
.nk-adv-link {
  color: #101828;
  text-decoration: none;
  font-weight: 700;
  flex: 1;
}
.nk-adv-link:hover,
.nk-adv-link:focus {
  text-decoration: underline;
}
