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

body {
  background: #1a1a1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #fff;
}

.login-wrap {
  width: 100%;
  padding: 1rem;
}

.login-card {
  background: #242424;
  border: 1px solid #2e2e2e;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  max-width: 400px;
  margin: 0 auto;
  padding: 2.75rem 2.5rem 2.5rem;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.logo-ocl {
  font-size: 2.25rem;
  font-weight: 800;
  color: #F5A623;
  letter-spacing: 0.12em;
}

.logo-tms {
  font-size: 2.25rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.08em;
}

.tagline {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2.25rem;
}

/* Form */
.field {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #383838;
  border-radius: 7px;
  color: #f0f0f0;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #F5A623;
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

input::placeholder {
  color: #444;
}

/* Error */
.error-msg {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 7px;
  color: #fca5a5;
  font-size: 0.85rem;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
}

/* Submit */
button[type="submit"] {
  width: 100%;
  background: #F5A623;
  border: none;
  border-radius: 7px;
  color: #1a1a1a;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.9rem;
  margin-top: 0.5rem;
  transition: background 0.15s, transform 0.1s;
}

button[type="submit"]:hover:not(:disabled) {
  background: #e69818;
}

button[type="submit"]:active:not(:disabled) {
  transform: scale(0.99);
}

button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
