/* log.css — restyled to match the app's dark cockpit theme
   (deep black + top blue glow, card surface, accent-blue inputs/buttons).
   Keeps the floating-label letter animation from log.js intact. */

:root {
  --bg:        #0a0c10;
  --card:      #0d1117;
  --border:    #1e2630;
  --text:      #e6edf3;
  --text-2:    #8b949e;
  --text-3:    #5c6470;
  --accent:    #3b82f6;
  --accent-2:  #69b3ff;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Muli", sans-serif;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 1.5rem;
  background-color: var(--bg);
  background-image: radial-gradient(
    1200px 600px at 50% -10%,
    rgba(59, 130, 246, 0.14) 0%,
    rgba(59, 130, 246, 0.05) 35%,
    rgba(10, 12, 16, 0) 70%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 2rem 2.5rem;
  border-radius: 14px;
  width: 100%;
  max-width: 28rem;
}

.container h1 {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.container a {
  text-decoration: none;
  color: var(--accent-2);
}
.container a:hover { text-decoration: underline; }

.container .text,
.container p {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-2);
}

/* Button */
.btn {
  cursor: pointer;
  display: inline-block;
  width: 100%;
  background-color: var(--accent);
  color: #fff;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  border: 0;
  border-radius: 8px;
  transition: filter 0.12s ease, transform 0.12s ease;
}
.btn:hover  { filter: brightness(1.1); }
.btn:focus  { outline: 0; }
.btn:active { transform: scale(0.98); }

/* Form control — floating label */
.form-control {
  position: relative;
  margin: 1.25rem 0 2rem;
  width: 100%;
}

.form-control input {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--text);
  font-family: inherit;
}

.form-control input:focus,
.form-control input:valid {
  outline: 0;
  border-bottom-color: var(--accent);
}

.form-control label {
  position: absolute;
  top: 0.75rem;
  left: 0;
  pointer-events: none;
  color: var(--text-2);
}

.form-control label span {
  display: inline-block;
  font-size: 1.05rem;
  min-width: 0.31rem;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus + label span,
.form-control input:valid + label span {
  color: var(--accent-2);
  transform: translateY(-1.6rem);
  font-size: 0.85rem;
}

/* date input — keep the dark theme */
.form-control input[type="date"] {
  color-scheme: dark;
}

/* radio group (signup gender) */
input[type="radio"] { accent-color: var(--accent); margin-right: 0.3rem; }
input[type="radio"] + label { color: var(--text); margin-right: 1rem; }
