/* ===== Shared styles for simulated UIs inside cases ===== */

/* Ensure the HTML hidden attribute always works even when a CSS display rule is set */
[hidden] { display: none !important; }

/* Generic website container */
.fake-site {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  min-height: calc(100vh - 48px);
}

/* Fake navbar */
.fake-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.fake-nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
}

.fake-nav-links {
  display: flex;
  gap: 16px;
}

.fake-nav-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Fake buttons */
.fake-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  font-weight: 500;
}

.fake-btn:active {
  transform: scale(0.98);
}

.fake-btn-primary {
  background: #4a90d9;
  color: #fff;
}

.fake-btn-primary:hover {
  background: #3a7bc8;
}

.fake-btn-success {
  background: #27ae60;
  color: #fff;
}

.fake-btn-success:hover {
  background: #219a52;
}

.fake-btn-danger {
  background: #e74c3c;
  color: #fff;
}

.fake-btn-ghost {
  background: transparent;
  color: #888;
  border: 1px solid #ddd;
}

.fake-btn-ghost:hover {
  background: #f5f5f5;
}

/* Fake form elements */
.fake-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}

.fake-input:focus {
  outline: none;
  border-color: #4a90d9;
  box-shadow: 0 0 0 2px rgba(74,144,217,0.2);
}

.fake-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
}

.fake-checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}

.fake-checkbox-row label {
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  line-height: 1.4;
}

/* Fake modal / popup overlay */
.fake-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.fake-modal {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  text-align: center;
}

.fake-modal h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: #222;
}

.fake-modal p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Fine print */
.fine-print {
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.4;
}

/* Fake cookie banner */
.fake-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 16px 24px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
