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

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* login.css */
:root {
  --primary-blue: #3b82f6;
  --bg-gray: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  background-color: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: var(--text-main);
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.brand-logo {
  text-align: center;
  margin-bottom: 24px;
}

.brand-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.login-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.login-form h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.login-form::before {
  content: "ARTIST MANAGEMENT PORTAL";
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px; /* Prevents iOS zoom-on-focus */
  transition: all 0.2s;
  box-sizing: border-box;
}

input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.remember-me label {
  text-transform: none;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

button[type="submit"] {
  width: 100%;
  background-color: var(--primary-blue);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background-color: #2563eb;
}

.error {
  color: #ef4444;
  font-size: 13px;
  text-align: center;
  margin-top: 15px;
  min-height: 1.2em;
}
