* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg-deep: #faf8f5;
  --border: #e8dfd8;
  --text-primary: #2d2017;
  --text-secondary: #8b7355;
  --accent: #c2703e;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  position: relative;
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes glow-ring {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(194, 112, 62, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(194, 112, 62, 0.2);
  }
}
.animate-fade-up {
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.d1 {
  animation-delay: 0.1s;
}
.d2 {
  animation-delay: 0.2s;
}
.d3 {
  animation-delay: 0.35s;
}
.gradient-text {
  background: linear-gradient(135deg, #c2703e, #d4764e, #b5602f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.25;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(194, 112, 62, 0.1);
  top: -150px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(212, 118, 78, 0.06);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite 1s;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}
.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #c2703e, #d4764e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: glow-ring 4s ease-in-out infinite;
}
.login-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.375rem;
}
.login-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.login-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(45, 32, 23, 0.06);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #faf8f5;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s;
}
.form-group input:focus {
  border-color: rgba(194, 112, 62, 0.5);
  box-shadow: 0 0 0 3px rgba(194, 112, 62, 0.08);
}
.form-group input::placeholder {
  color: #b5a48e;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #c2703e, #d4764e);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(194, 112, 62, 0.25);
  margin-top: 0.5rem;
  font-family: inherit;
}
.btn-submit:hover {
  box-shadow: 0 6px 24px rgba(194, 112, 62, 0.35);
  transform: translateY(-1px);
}
.btn-submit:active {
  transform: scale(0.985);
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.login-footer p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.login-footer a {
  color: #c2703e;
  text-decoration: none;
  transition: color 0.2s;
}
.login-footer a:hover {
  color: #b5602f;
}

.back-link {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  z-index: 10;
}
.back-link:hover {
  color: var(--text-primary);
}
.back-link svg {
  width: 16px;
  height: 16px;
}
