:root {
  --make1-primary: #115ea3;
  --make1-primary-light: #1a7dc9;
  --make1-accent: #06b6d4;
  --make1-text: #111827;
  --make1-text-muted: #9ca3af;
  --make1-border: #e5e7eb;
  --make1-bg-dark: #0f172a;
  --make1-bg-card: #1e293b;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--make1-text);
  line-height: 1.6;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--make1-primary);
  box-shadow: 0 0 0 0.2rem rgba(17, 94, 163, 0.15);
}

.form-control::placeholder {
  color: var(--make1-text-muted);
  opacity: 1;
}

input,
select,
textarea {
  font-size: 16px;
}

#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

#toast-container .toast {
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  animation: toastSlideIn 0.35s ease-out;
}

#toast-container .toast-body {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}

@media (max-width: 575.98px) {
  #toast-container {
    left: 1rem;
    right: 1rem;
  }

  #toast-container .toast {
    max-width: 100%;
    width: 100%;
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-4px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}