/* Same visual system as the rest of the OLODESK platform (Plus Jakarta Sans /
   Inter / JetBrains Mono, warm off-white surfaces, sharp corners, orange
   accent) — trimmed to just what this login/account page needs. */
:root {
  --bg: #FBF8F4;
  --card: #FFFFFF;
  --border: #EAE4DA;
  --input-border: #E0D9CC;
  --text: #1B2030;
  --muted: #5C6478;
  --placeholder: #93998F;
  --accent: #FF7A02;
  --accent-hover: #E06A00;
  --accent-text: #FFFFFF;
  --danger: #C94A38;
  --success: #1E9E5A;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background-color: #F7F6F3;
  background-image: url('https://pub-258f29005a9b4505a71a6fca129eeb2b.r2.dev/cubes-pattern.svg');
  background-size: 124.71px 216px;
  background-repeat: repeat;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #FFB877);
  z-index: 2;
}

main {
  position: relative;
  z-index: 3;
  max-width: 400px;
  width: 100%;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px 34px;
  box-shadow: 0 16px 36px -20px rgba(27, 32, 48, 0.15);
  animation: fadeIn 0.4s ease both;
}

.logo { display: flex; justify-content: center; margin-bottom: 24px; }
.logo img { height: 32px; width: auto; }

h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
}

.subtitle {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 28px;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

input[type="email"], input[type="password"] {
  background: var(--card);
  border: 1px solid var(--input-border);
  padding: 11px 13px;
  color: var(--text);
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  outline: none;
}

input:focus { border-color: var(--accent); }

button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-text);
  padding: 11px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
button:disabled { opacity: 0.6; cursor: not-allowed; }

.linkBtn {
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
}

.hint { color: var(--muted); font-size: 12.5px; }
.error { color: var(--danger); font-size: 12.5px; min-height: 15px; }
.success { color: var(--success); font-size: 12.5px; }

.accountRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.accountEmail { font-weight: 700; font-size: 14px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
