/* Shared custom styles for the copied site pages. */
#intro {
  height: 600px;
  margin-top: 58px;
}

.brand-logo {
  margin-top: -2px;
}

.footer-strip {
  background-color: rgba(0, 0, 0, 0.2);
}

.home-intro {
  background-image: url("../regiafull.png");
}

.home-intro-mask {
  background-color: rgba(0, 0, 0, 0.7);
}

.video-stage {
  text-align: center;
}

.video-frame {
  width: 1280px;
  height: 720px;
}

.stream-modal {
  display: none;
  position: fixed;
  z-index: 1;
  inset: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.stream-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 10px;
  border: 1px solid #888;
  width: 70%;
  max-width: 800px;
  height: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.stream-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.stream-modal-close:hover,
.stream-modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.stream-embed-link {
  background-color: #f9f9f9;
  border: 0;
  width: 100%;
  height: 70px;
  padding: 10px;
  font-size: 16px;
  color: #333;
  cursor: not-allowed;
  resize: none;
}

.stream-title {
  text-align: center;
  font-size: 16pt;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

.stream-note {
  text-align: left;
  font-size: 10pt;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 991px) {
  #intro {
    margin-top: 45px;
  }
}

.stat-page {
  padding-top: 60px;
}

.auth-error-page {
  min-height: 100vh;
  padding: 110px 0 60px;
}

.auth-error-shell {
  max-width: 760px;
}

.auth-error-card {
  border: 0;
  border-radius: 0.25rem;
}

.auth-error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #eef4ff;
  color: #1266f1;
  font-size: 2rem;
}

.stat-table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
}

.stat-table th,
.stat-table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.stat-table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  background-color: #f8f9fa;
}

.stat-table tbody + tbody {
  border-top: 2px solid #dee2e6;
}

.stat-table-sm th,
.stat-table-sm td {
  padding: 0.3rem;
}

.bg-header {
  background-color: #1266f1;
  color: #fff;
}

.bg-subheader {
  background-color: #e9ecef;
}

.stream-link {
  color: #1266f1;
  cursor: pointer;
  text-decoration: none;
}

.stream-link:hover {
  text-decoration: underline;
}

.footer-btn {
  margin: 0.5rem;
}

.bg-orange {
  background-color: #fffaf0;
  color: #000;
}

.stream-details {
  display: none;
}

.admin-session {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding-left: 1rem;
  flex-wrap: wrap;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-user-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1266f1;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.admin-logout {
  border: 1px solid #1266f1;
  background: #fff;
  color: #1266f1;
  border-radius: 0.25rem;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.admin-logout:hover {
  background: #1266f1;
  color: #fff;
  text-decoration: none;
}

.auth-page {
  padding-top: 90px;
  min-height: 100vh;
}

.auth-card {
  max-width: 460px;
}

.auth-status,
.user-status {
  min-height: 1.5rem;
}

.user-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.user-item {
  border: 0;
}

.user-item-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.user-name {
  font-weight: 600;
}

.user-meta {
  color: #6c757d;
  font-size: 0.9rem;
}

.user-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
