:root {
  --primary: #001a66;
  --accent: #ff9900;
  --success: #4caf50;
  --error: #e74c3c;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border: rgba(0, 26, 102, 0.1);
  --input-bg: rgba(255, 255, 255, 0.05);

  /* Enhanced color palette */
  --primary-light: rgba(0, 26, 102, 0.1);
  --primary-medium: rgba(0, 26, 102, 0.3);
  --accent-light: rgba(255, 153, 0, 0.1);
  --accent-medium: rgba(255, 153, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-primary: rgba(0, 26, 102, 0.15);
  --shadow-accent: rgba(255, 153, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #002080 25%,
    var(--accent) 50%,
    #002080 75%,
    var(--primary) 100%
  );
  min-height: 100vh;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--primary);
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: var(--accent);
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background: var(--primary);
  top: 30%;
  right: 30%;
  animation-delay: 15s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
  }
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.form-wrapper {
  background: #0a1929;
  backdrop-filter: blur(30px);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 32px 64px var(--shadow-primary), 0 0 0 1px var(--glass-border),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 2;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.form-wrapper::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--primary),
    var(--accent)
  );
  border-radius: 34px;
  z-index: -1;
  opacity: 0.5;
}

.header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(90deg, #34785a, #34d399);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 12px 24px var(--shadow-accent);
}

.crypto-symbol {
  font-size: 32px;
  color: var(--text-light);
  font-weight: 800;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.brand-text {
  text-align: left;
}

.header h1 {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(90deg, #2c6351, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.subtitle {
  color: #555;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
}

.welcome-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 24px;
  background: linear-gradient(90deg, #2c6351, #34d399);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.welcome-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2c6351, #34d399);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

.signin-form {
  width: 100%;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  font-weight: 600;
  color: #84afafd9 !important;
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-icon {
  font-size: 16px;
  opacity: 0.8;
}

.input-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  height: 58px;
  padding: 0 20px;
  border: 2px solid var(--border);
  border-radius: 16px;
  font-size: 16px;
  background: linear-gradient(90deg, #9da5a4, #509078) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
  z-index: 2;
}

.form-group input::placeholder {
  color: #999;
  font-weight: 400;
}

.password-wrapper input {
  padding-right: 60px;
}

.input-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--primary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.input-focus-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  background: var(--accent-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.input-success-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--success);
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.password-wrapper .input-success-icon {
  right: 60px;
}

.form-group
  input.success
  + .input-border
  + .input-focus-effect
  + .input-success-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
  background: white;
  transform: translateY(-2px);
}

.form-group input:focus + .input-border {
  opacity: 1;
}

.form-group input:focus + .input-border + .input-focus-effect {
  opacity: 1;
}

.form-group input:hover {
  border-color: var(--accent-medium);
  transform: translateY(-1px);
}

.form-group input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-group input.success {
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-light);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
  z-index: 10;
}

.toggle-password:hover {
  background: var(--accent-medium);
  transform: translateY(-50%) scale(1.1);
}

.eye-icon {
  font-size: 18px;
  opacity: 0.8;
}

.error-message {
  color: var(--error);
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.error-message.show {
  opacity: 1;
  transform: translateY(2px);
}

.error-message.show::before {
  content: "⚠️";
  font-size: 12px;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 22px;
  width: 22px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark-icon {
  font-size: 14px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: bold;
}

.checkbox-container:hover .checkmark {
  border-color: var(--accent);
  transform: scale(1.1);
}

.checkbox-container input:checked ~ .checkmark {
  background: linear-gradient(90deg, #365b56, #28806d) !important;
  border-color: var(--accent);
  transform: scale(1.1);
}

.checkbox-container input:checked ~ .checkmark .checkmark-icon {
  opacity: 1;
}

.checkbox-text {
  font-size: 14px;
  color:  #84afafd9 !important;;
  font-weight: 500;
}

.forgot-password {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.forgot-password:hover {
  border-bottom-color: var(--primary);
  color: var(--accent);
  background: var(--accent-light);
}

.submit-btn {
  width: 100%;
  height: 60px;
  border: none;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 8px;
}

.btn-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #365b56, #28806d) !important;
  transition: all 0.3s ease;
}

.btn-text {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-icon {
  font-size: 20px;
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px var(--shadow-accent);
}

.submit-btn:hover .btn-background {
  background: linear-gradient(90deg, #365b56, #28806d) !important;
}

.submit-btn:active {
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spinner-ring {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.submit-btn.loading .btn-text {
  opacity: 0;
}

.submit-btn.loading .loading-spinner {
  opacity: 1;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.signup-link {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.signup-text {
  color: #666;
  font-size: 15px;
  font-weight: 500;
}

.signup-btn {
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  color: var(--text-light);
  background: linear-gradient(90deg, #365b56, #28806d) !important;
  border-radius: 10px;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
  font-size: 15px;
}

.signup-btn:hover {
  background: linear-gradient(90deg, #365b56, #28806d) !important;
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-primary);
}

.security-features {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.6)
  );
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.security-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 26, 102, 0.1);
}

.security-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.security-text strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 2px;
}

.security-text p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.trust-indicators {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--accent-light);
  border-radius: 12px;
  border: 1px solid var(--accent-medium);
}

.trust-badge {
  font-size: 16px;
}

.trust-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ultra-responsive design for smallest screens */
@media (max-width: 768px) {
  .container {
    padding: 0;
    align-items: stretch;
  }

  .form-wrapper {
    padding: 24px 20px;
    border-radius: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
    box-shadow: none;
    max-width: none;
  }

  .form-wrapper::before {
    display: none;
  }

  .header {
    margin-bottom: 32px;
  }

  .logo {
    flex-direction: column;
    gap: 16px;
  }

  .brand-text {
    text-align: center;
  }

  .header h1 {
    font-size: 32px;
  }

  .welcome-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .form-group input {
    height: 54px;
    font-size: 16px;
    padding: 0 18px;
    border-radius: 14px;
  }

  .password-wrapper input {
    padding-right: 58px;
  }

  .submit-btn {
    height: 56px;
    font-size: 16px;
  }

  .security-features {
    margin-top: 28px;
    gap: 12px;
  }

  .trust-indicators {
    margin-top: 20px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .form-wrapper {
    padding: 20px 16px;
  }

  .header h1 {
    font-size: 28px;
  }

  .logo-icon {
    width: 56px;
    height: 56px;
  }

  .crypto-symbol {
    font-size: 28px;
  }

  .form-container {
    gap: 24px;
  }

  .form-group {
    margin-bottom: 4px;
  }

  .form-group label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .form-group input {
    height: 52px;
    padding: 0 16px;
    font-size: 16px;
    border-radius: 12px;
    border: 2px solid rgba(0, 26, 102, 0.15);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 26, 102, 0.08);
  }

  /* Enhanced input clarity for small screens */
  .input-wrapper {
    position: relative;
    margin-bottom: 6px;
  }

  .input-border,
  .input-focus-effect {
    display: none; /* Simplify for small screens */
  }

  .form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
    background: white;
    transform: none;
  }

  .form-group input:hover {
    border-color: var(--accent-medium);
    transform: none;
  }

  .password-wrapper input {
    padding-right: 54px;
  }

  .toggle-password {
    right: 12px;
    padding: 8px;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .submit-btn {
    height: 52px;
    font-size: 16px;
  }

  .welcome-stats {
    padding: 16px 12px;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-label {
    font-size: 11px;
  }

  .security-features {
    margin-top: 24px;
  }

  .security-item {
    padding: 14px 16px;
  }

  .trust-indicators {
    margin-top: 16px;
    gap: 12px;
  }

  .trust-item {
    padding: 6px 10px;
  }

  .trust-text {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .form-wrapper {
    padding: 18px 14px;
  }

  .header {
    margin-bottom: 26px;
  }

  .header h1 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 16px;
  }

  .logo-icon {
    width: 52px;
    height: 52px;
  }

  .crypto-symbol {
    font-size: 26px;
  }

  .form-container {
    gap: 22px;
  }

  .form-group label {
    font-size: 14px;
    margin-bottom: 9px;
  }

  .form-group input {
    height: 50px;
    padding: 0 15px;
    font-size: 16px;
    border-radius: 12px;
    border: 2px solid rgba(0, 26, 102, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 6px rgba(0, 26, 102, 0.06);
  }

  .password-wrapper input {
    padding-right: 52px;
  }

  .toggle-password {
    right: 10px;
    padding: 7px;
  }

  .submit-btn {
    height: 50px;
    font-size: 16px;
    border-radius: 14px;
  }

  .welcome-stats {
    padding: 14px 10px;
    gap: 12px;
  }

  .stat-number {
    font-size: 16px;
  }

  .stat-label {
    font-size: 10px;
  }

  .security-features {
    margin-top: 20px;
  }

  .security-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .security-icon {
    font-size: 20px;
  }

  .security-text strong {
    font-size: 13px;
  }

  .security-text p {
    font-size: 12px;
  }

  .trust-indicators {
    margin-top: 14px;
    gap: 8px;
  }

  .trust-item {
    padding: 5px 8px;
  }

  .trust-badge {
    font-size: 14px;
  }

  .trust-text {
    font-size: 10px;
  }
}

@media (max-width: 320px) {
  .form-wrapper {
    padding: 16px 12px;
  }

  .header {
    margin-bottom: 22px;
  }

  .header h1 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 15px;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .logo-icon {
    width: 48px;
    height: 48px;
  }

  .crypto-symbol {
    font-size: 24px;
  }

  .form-container {
    gap: 20px;
  }

  .form-group label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .label-icon {
    font-size: 14px;
  }

  .form-group input {
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
    border-radius: 12px;
    border: 2px solid rgba(0, 26, 102, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 4px rgba(0, 26, 102, 0.05);
  }

  .password-wrapper input {
    padding-right: 50px;
  }

  .toggle-password {
    right: 8px;
    padding: 6px;
  }

  .eye-icon {
    font-size: 16px;
  }

  .submit-btn {
    height: 48px;
    font-size: 15px;
    border-radius: 12px;
  }

  .btn-icon {
    font-size: 18px;
  }

  .welcome-stats {
    padding: 12px 8px;
    gap: 10px;
  }

  .stat-number {
    font-size: 15px;
  }

  .stat-label {
    font-size: 9px;
  }

  .security-features {
    margin-top: 18px;
    gap: 10px;
  }

  .security-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .security-icon {
    font-size: 18px;
  }

  .security-text strong {
    font-size: 12px;
  }

  .security-text p {
    font-size: 11px;
  }

  .trust-indicators {
    margin-top: 12px;
    gap: 6px;
  }

  .trust-item {
    padding: 4px 6px;
  }

  .trust-badge {
    font-size: 12px;
  }

  .trust-text {
    font-size: 9px;
  }

  .signup-text,
  .signup-btn {
    font-size: 14px;
  }

  .signup-btn {
    padding: 8px 14px;
  }
}

/* Extra small screens (280px and below) */
@media (max-width: 280px) {
  .form-wrapper {
    padding: 14px 10px;
  }

  .header {
    margin-bottom: 18px;
  }

  .header h1 {
    font-size: 22px;
  }

  .form-container {
    gap: 16px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 7px;
  }

  .form-group input {
    height: 46px;
    padding: 0 12px;
    font-size: 16px;
    border-radius: 10px;
  }

  .password-wrapper input {
    padding-right: 46px;
  }

  .submit-btn {
    height: 46px;
    font-size: 14px;
    border-radius: 10px;
  }

  .welcome-stats {
    padding: 10px 6px;
  }

  .security-features {
    margin-top: 14px;
  }

  .security-item {
    padding: 8px 10px;
  }

  .trust-indicators {
    margin-top: 10px;
  }
}

/* Prevent zoom on input focus */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input[type="text"],
  input[type="password"],
  input[type="email"] {
    font-size: 16px !important;
  }
}

/* Landscape orientation */
@media (max-height: 600px) and (orientation: landscape) {
  .container {
    align-items: flex-start;
    padding: 8px 0;
  }

  .form-wrapper {
    min-height: auto;
    padding: 16px;
    justify-content: flex-start;
  }

  .header {
    margin-bottom: 16px;
  }

  .logo {
    flex-direction: row;
    gap: 12px;
  }

  .welcome-stats {
    flex-direction: row;
    padding: 12px 16px;
  }

  .stat-divider {
    width: 1px;
    height: 24px;
  }

  .form-container {
    gap: 16px;
  }

  .security-features {
    margin-top: 16px;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }

  .trust-indicators {
    margin-top: 12px;
  }
}

/* Accessibility improvements */
.form-group input:focus-visible,
.submit-btn:focus-visible,
.checkbox-container:focus-within .checkmark {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-shape {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .form-group input {
    border-width: 3px;
  }

  .submit-btn {
    border: 3px solid var(--text-light);
  }
}
