@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
input, select, textarea, .input-group input, .input-group select { font-size: 16px !important; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: url('../../images/background.png') no-repeat center center fixed;
  background-size: cover;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  -webkit-font-smoothing: antialiased;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.brand-logo {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
}
.brand-name {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}
.brand-name span { color: #4f46e5; }

.container {
  background: #fff;
  width: 100%;
  max-width: 400px;
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid #e5e7eb;
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #111827;
  letter-spacing: -0.02em;
}

form { display: flex; flex-direction: column; gap: 2px; }

.input-group {
  position: relative;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 2px 14px;
  border: 1.5px solid #e5e7eb;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 14px;
}

.input-group:focus-within {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.input-group i {
  flex-shrink: 0;
  color: #9ca3af;
  font-size: 15px;
  width: 18px;
  text-align: center;
  transition: color 0.2s;
}

.input-group:focus-within i { color: #4f46e5; }

.input-group select,
.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 11px 10px;
  color: #111827;
  width: 100%;
  font-family: inherit;
}

.input-group select { appearance: none; cursor: pointer; }

.error {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 2px;
}

.error p { color: #ef4444; font-size: 11px; font-weight: 500; }

.error-main {
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  text-align: center;
}

.error-main p { color: #dc2626; font-size: 13px; font-weight: 500; }

.recover {
  text-align: right;
  font-size: 13px;
  margin: 2px 0 18px;
}

.recover a { color: #4f46e5; text-decoration: none; font-weight: 500; }
.recover a:hover { text-decoration: underline; }

.btn {
  font-size: 15px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  width: 100%;
  background: #4f46e5;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
  min-height: 46px;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn:hover { background: #3730a3; }

.or, .icons { display: none; }

.input-group .eye-icon, #eye { cursor: pointer; user-select: none; }

.toggle-form {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #6b7280;
}

.toggle-form a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.toggle-form a:hover { text-decoration: underline; }

#signUp .input-group { margin-bottom: 10px; }
#signUp form { gap: 0; }
