/* Password Modal */
#passwordModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Login Modal Overlay */
#loginPage.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
/* Login Page Styling */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
}

.login-box {
  background: white;
  border-radius: 20px;
  padding: 60px 50px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.login-box h1 {
  font-size: 36px;
  font-weight: normal;
  margin-bottom: 15px;
}

.login-box p {
  color: #666;
  margin-bottom: 40px;
  font-style: italic;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Georgia', serif;
}

.form-group input:focus {
  outline: none;
  border-color: #4a5268;
}

.error-message {
  display: none;
  color: #c62828;
  background: #ffebee;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.error-message.active {
  display: block;
}

/* Review Page Styling */
.admin-summary {
  max-width: 1200px;
  margin: 0 auto 30px auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 20px 24px;
}
.admin-summary h2 {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 16px;
}
.admin-summary-intro {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 18px 0;
  font-style: italic;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.summary-card {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
}
.summary-card h3 {
  font-size: 16px;
  font-weight: normal;
  color: #555;
  margin-bottom: 8px;
}
.summary-number {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}
.summary-sub {
  color: #777;
  font-size: 13px;
}

@media (max-width: 860px) {
  .summary-grid { grid-template-columns: 1fr; }
}
.review-header {
  text-align: center;
  margin-bottom: 60px;
}

.review-header h1 {
  font-size: 48px;
  font-weight: normal;
  margin-bottom: 10px;
}

.review-header p {
  color: #666;
  font-size: 16px;
}

.review-content {
  max-width: 1200px;
  margin: 0 auto;
}

.artifact-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.artifact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.artifact-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
  pointer-events: auto;
}

.artifact-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artifact-card-image::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: stars 20s linear infinite;
  z-index: 0;
}

.artifact-card-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5), transparent);
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 0;
}

@keyframes stars {
  from { transform: translate(0, 0); }
  to { transform: translate(-50px, -50px); }
}

.artifact-card-content {
  padding: 20px;
  pointer-events: auto;
}

.artifact-card-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: normal;
}

.artifact-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.no-artifacts {
  text-align: center;
  padding: 60px;
  color: #999;
}

.no-artifacts svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  fill: #ddd;
}

.no-artifacts h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: normal;
}

/* Review Actions */
.review-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.accept-btn {
  padding: 15px 40px;
  background: #ffa726;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s;
  font-family: 'Georgia', serif;
}

.accept-btn:hover {
  background: #fb8c00;
}

.reject-btn {
  padding: 15px 40px;
  background: #999;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: not-allowed;
  font-size: 18px;
  font-family: 'Georgia', serif;
}