/* --- Light Theme Setup --- */
:root {
  --bg-color: #ffffff;
  --text-main: #1b1b1b;
  --text-subtle: #616161;
  --input-border: #666666;
  --input-focus: #0067b8;
  --btn-blue: #0067b8;
  --btn-hover: #005da6;
  --link-blue: #0067b8;
  --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px 12px 16px;
}

/* --- Main Box --- */
.login-container {
  width: 100%;
  max-width: 400px;
  margin-top: 20px;
}

/* --- Microsoft Logo --- */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.microsoft-logo {
  display: grid;
  grid-template-columns: 10px 10px;
  grid-template-rows: 10px 10px;
  gap: 2px;
}

.square { width: 10px; height: 10px; }
.square.red { background-color: #f25022; }
.square.green { background-color: #7fba00; }
.square.blue { background-color: #00a4ef; }
.square.yellow { background-color: #ffb900; }

.brand-name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #737373;
}

/* --- Headings --- */
h1 {
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.subtitle {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* --- Floating Input Boxes --- */
.input-container {
  position: relative;
  margin-bottom: 20px;
}

.input-container input {
  width: 100%;
  padding: 12px 10px;
  background-color: #ffffff;
  border: 1px solid var(--input-border);
  border-radius: 2px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.input-container input:focus {
  border-color: var(--input-focus);
  box-shadow: inset 0 0 0 1px var(--input-focus);
}

.floating-label {
  position: absolute;
  left: 10px;
  top: -9px;
  background-color: var(--bg-color);
  padding: 0 4px;
  color: var(--text-subtle);
  font-size: 0.75rem;
  pointer-events: none;
}

/* --- Links & Button --- */
.links-group {
  margin-bottom: 24px;
}

.link {
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-block;
}

.text-blue {
  color: var(--link-blue);
}

.link:hover {
  text-decoration: underline;
}

.btn-primary {
  width: 100%;
  padding: 10px;
  margin-bottom: 28px;
  background-color: var(--btn-blue);
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--btn-hover);
}

.signup-text {
  font-size: 0.85rem;
  color: var(--text-main);
}

/* --- Footer --- */
.footer {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: auto;
  padding-top: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-subtle);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-subtle);
}