/* =========================================
   SIGNUP PAGE STYLES
   ========================================= */

:root {
  --color-brand-dark: #0f172a; /* slate-900 */
  --color-brand-card: #1e293b; /* slate-800 */
  --color-brand-primary: #0f807b; /* Turbine Green (From Index) */
  --color-brand-secondary: #115e59; /* Darker Teal */
  --color-text-main: #f8fafc; /* slate-50 */
  --color-text-muted: #94a3b8; /* slate-400 */
  --color-border: #334155; /* slate-700 */
  --font-family: "Inter", system-ui, sans-serif;
}

/* Default Body (Dark Mode) */
body {
  background-color: var(--color-brand-dark);
  color: var(--color-text-main);
  font-family: var(--font-family);
  margin: 0;
  line-height: 1.6;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

/* Light Mode */
body.light-mode {
  --color-brand-dark: #f8fafc;
  --color-brand-card: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
}
body.light-mode {
  background-color: var(--color-brand-dark);
  color: var(--color-text-main);
}

/* Card */
.box {
  /* 
   * Consistent Design Language
   * We reuse the same glassmorphism card style as the login page to maintain 
   * visual continuity across the authentication flow.
   */
  background-color: var(--color-brand-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 28rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

body.light-mode .box {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.box h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #2dd4bf, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Inputs */
.input-group {
  margin-bottom: 1rem;
  position: relative;
}

input,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  background: #334155;
  color: white;
  box-sizing: border-box;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
  appearance: none; /* Remove default arrow for select */
}
body.light-mode input,
body.light-mode select {
  background: #f1f5f9;
  color: black;
  border-color: #cbd5e1;
}

input:focus,
select:focus {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 2px rgba(15, 128, 123, 0.5);
}

/* Select Arrow */
.select-wrapper {
  position: relative;
}
.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
}

/* Buttons */
button {
  width: 100%;
  padding: 0.875rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}
button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-brand-primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(15, 128, 123, 0.3);
}
.btn-primary:hover {
  background-color: var(--color-brand-secondary);
}

.meta-btn {
  background-color: #e2761b;
  color: white;
}
.meta-btn:hover {
  background-color: #d97316;
}

.meta-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* UI Elements */
a {
  color: var(--color-brand-primary);
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.divider {
  position: relative;
  margin: 2rem 0;
  text-align: center;
}
.divider-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  z-index: 0;
}
.divider-text {
  position: relative;
  z-index: 10;
  background-color: var(--color-brand-card);
  padding: 0 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Floating Actions */
.floating-actions {
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 100%;
  padding: 0 1.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.action-btn {
  pointer-events: auto;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s;
  color: inherit;
  text-decoration: none;
  padding: 0;
  width: auto;
}
.action-btn:hover {
  transform: scale(1.1);
}

.text-sm-center {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
