/* ============================================================
   Aurex Network — My Account Login Page
   Standalone stylesheet — no external dependencies
   ============================================================ */

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

html, body {
  height: 100%;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #0d0d0f;
  color: #e2e8f0;
  -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT ===== */
.layout {
  display: flex;
  min-height: 100vh;
}

/* ===== LEFT PANEL ===== */
.panel-left {
  width: 55%;
  min-height: 100vh;
  background: #0d0d0f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.form-wrapper {
  width: 100%;
  max-width: 420px;
}

/* ===== BRAND ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: #ffffff;
  color: #0d0d0f;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  flex-shrink: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.2px;
}

/* ===== HEADING ===== */
.heading {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.subheading {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* ===== FORM ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== FIELD ===== */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.1px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #475569;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 42px;
  background: #1a1a1f;
  border: 1px solid #2a2a35;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.input::placeholder {
  color: #3a3a48;
}

.input:focus {
  border-color: #334155;
  box-shadow: 0 0 0 3px rgba(51, 65, 85, 0.3);
}

.input:focus + .input-icon,
.input-wrap:focus-within .input-icon {
  color: #64748b;
}

/* Eye toggle button */
.eye-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.eye-btn:hover {
  color: #94a3b8;
}

/* ===== ERROR ===== */
.error-msg {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 6px;
}

/* ===== SUBMIT BUTTON ===== */
.btn-submit {
  width: 100%;
  height: 50px;
  background: #ffffff;
  color: #0d0d0f;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s, opacity 0.2s;
  margin-top: 4px;
  letter-spacing: -0.1px;
}

.btn-submit:hover {
  background: #f1f5f9;
}

.btn-submit:active {
  transform: scale(0.99);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Loading spinner */
.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== FORGOT PASSWORD ===== */
.forgot-wrap {
  text-align: center;
  margin-top: 18px;
}

.link-muted {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.link-muted:hover {
  color: #94a3b8;
}

/* ===== REGISTER ===== */
.register-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #1e1e28;
}

.register-text {
  font-size: 13px;
  color: #475569;
}

.link-accent {
  font-size: 13px;
  font-weight: 600;
  color: #0d9488;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.link-accent:hover {
  color: #14b8a6;
}

/* ===== RIGHT PANEL ===== */
.panel-right {
  width: 45%;
  min-height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=900&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.panel-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,15,0.25) 0%, transparent 40%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .panel-left {
    width: 100%;
    min-height: auto;
    padding: 48px 24px 40px;
  }

  .panel-right {
    width: 100%;
    height: 240px;
    min-height: 0;
    order: -1;
  }

  .heading {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .panel-left {
    padding: 36px 20px;
  }
}
