body {
    margin: 0;
    height: 100vh;
    height: 100dvh;
    font-family: sans-serif;
    background: #f3f3f3;
    color: #333;
    user-select: none;
    overflow: hidden;
  }

header {
  background: #222831;
  color: white;
  padding: 1rem;
}

nav a {
  margin-right: 1rem;
  color: #00ADB5;
  text-decoration: none;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.appname:hover {
  cursor: pointer;
  user-select: none;
}

.contentHolder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: clamp(10px, 4vh, 60px) clamp(3px, 1.3vw, 25px);
    box-sizing: border-box;
}

/* Global error/info toast */
.fakeit-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    transition: transform 0.3s ease;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.fakeit-toast.show {
    transform: translateX(-50%) translateY(0);
}

.fakeit-toast-error {
    background: linear-gradient(135deg, #FF2E63, #d4264f);
    color: white;
}

/* Input validation error shake */
.input-error {
    animation: inputShake 0.4s ease;
    border-color: #FF2E63 !important;
    box-shadow: 0 0 8px rgba(255, 46, 99, 0.5) !important;
}

@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

/* Desktop / larger screens */
@media (min-width: 768px) {
    .contentHolder {
        padding: 20px clamp(10px, 2vw, 40px);
    }
}
