/**
 * @file
 * Styles for Starwood Restricted Access Modal
 */

/* Modal backdrop — non-dismissible gate for member-restricted pages */
.starwood-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* Prevent clicking through to page content */
  pointer-events: all;
}

/* Lock scroll, selection and interaction on the page behind the modal */
body.starwood-member-restricted {
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Modal container */
.starwood-modal-container {
  background: white;
  border-radius: 8px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  pointer-events: all;
}

/* Modal title */
.starwood-modal-title {
  margin: 0 0 20px 0;
  font-size: 24px;
  color: #333;
}

/* Modal content */
.starwood-modal-content {
  margin: 0 0 25px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* OK button */
.starwood-modal-ok {
  font-size: 16px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
  margin-right: 30px;
  border-bottom: 1px solid #615144;
  color: #615144;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.starwood-modal-ok:hover {
  color: #282828;
}
