@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&amp;display=swap');
/* Base Styles */
:root {
  --primary-color: #003030;
  --primary-light: #004545;
  --primary-dark: #002020;
  --accent-color: #00c2a8;
  --accent-hover: #00d6ba; 
  --text-light: #e6e6e6;
  --text-dark: #1a1a1a;
  --text-muted: #8a8f98; 
  --bg-dark: #121418;
  --bg-darker: #0a0c0f;
  --bg-light: #1e2126;
  --bg-lighter: #2a2f36;
  --border-color: rgba(255, 255, 255, 0.1);
  --success-color: #00b894;
  --warning-color: #fdcb6e;
  --error-color: #e17055;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition-speed: 0.3s;
  --modal-overlay: rgba(0, 0, 0, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans", sans-serif;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Auth Container Layout - Improved structure */
.auth-container {
  display: flex;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Left Panel Styles - Enhanced visualization */
.auth-left-panel {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  /* Ensure minimum height to display content */
}

/* Completely redesigned market data visualization */
.market-data-visualization {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  pointer-events: none;
  overflow: hidden;
}

/* Create a grid for the chart */
.market-data-visualization::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Main chart line - more prominent */
.chart-line {
  position: absolute;
  height: 4px;
  background: var(--accent-color);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 194, 168, 0.5);
}

/* Create a realistic stock chart pattern */
.chart-line:nth-child(1) {
  top: 40%;
  left: 0;
  width: 100%;
  clip-path: polygon(0% 50%,
      5% 30%,
      10% 70%,
      15% 40%,
      20% 60%,
      25% 30%,
      30% 50%,
      35% 20%,
      40% 40%,
      45% 10%,
      50% 30%,
      55% 20%,
      60% 40%,
      65% 30%,
      70% 50%,
      75% 40%,
      80% 20%,
      85% 30%,
      90% 10%,
      95% 30%,
      100% 20%);
  animation: chartMove 15s infinite alternate ease-in-out;
}

.chart-line:nth-child(2) {
  top: 60%;
  left: 0;
  width: 100%;
  clip-path: polygon(0% 50%,
      5% 60%,
      10% 40%,
      15% 70%,
      20% 50%,
      25% 60%,
      30% 40%,
      35% 60%,
      40% 30%,
      45% 50%,
      50% 20%,
      55% 40%,
      60% 30%,
      65% 50%,
      70% 30%,
      75% 60%,
      80% 40%,
      85% 70%,
      90% 50%,
      95% 60%,
      100% 40%);
  opacity: 0.7;
  animation: chartMove 20s infinite alternate-reverse ease-in-out;
}

.chart-line:nth-child(3) {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  clip-path: none;
}

/* Candlestick chart elements */
.chart-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Create realistic candlesticks */
.chart-dots span {
  position: absolute;
  width: 8px;
  background: var(--accent-color);
  border-radius: 2px;
}

.chart-dots span:nth-child(1) {
  height: 40px;
  top: 30%;
  left: 20%;
  background: #00b894;
}

.chart-dots span:nth-child(2) {
  height: 60px;
  top: 45%;
  left: 40%;
  background: #e17055;
}

.chart-dots span:nth-child(3) {
  height: 30px;
  top: 50%;
  left: 60%;
  background: #00b894;
}

.chart-dots span:nth-child(4) {
  height: 50px;
  top: 35%;
  left: 80%;
  background: #00b894;
}

.chart-dots span:nth-child(5) {
  height: 45px;
  top: 40%;
  left: 30%;
  background: #e17055;
}

/* Candlestick wicks */
.chart-dots span::before,
.chart-dots span::after {
  content: "";
  position: absolute;
  width: 2px;
  background: var(--accent-color);
  left: 3px;
}

.chart-dots span::before {
  top: -15px;
  height: 15px;
}

.chart-dots span::after {
  bottom: -15px;
  height: 15px;
}

/* Add price indicators */
.chart-dots::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 20%;
  width: 80px;
  height: 60%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Price level markers */
.chart-dots::before {
  content: "";
  position: absolute;
  left: 5%;
  top: 20%;
  width: 90%;
  height: 60%;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Improved feature section */
.auth-features {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-speed) ease, background var(--transition-speed) ease;
  border-left: 3px solid var(--accent-color);
}

.feature:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.12);
}

.feature i {
  font-size: 1.5rem;
  margin-right: 1.25rem;
  color: var(--accent-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 194, 168, 0.1);
  border-radius: 50%;
}

.feature span {
  font-weight: 500;
  font-size: 1.05rem;
}

/* Right Panel Styles - Improved structure */
.auth-right-panel {
  flex: 1;
  background: var(--bg-dark);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Improved header with centered logo */
.auth-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

/* Updated logo styling */
.logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 100%;
  object-fit: contain;
}

/* Auth Form Styles - Improved structure */
.auth-form-container {
  display: none;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.auth-form-container.active {
  display: flex;
}

/* Fixed auth-form-header positioning */
.auth-form-header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 480px;
}

.auth-form-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(to right, var(--text-light), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-form-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.auth-form {
  width: 100%;
  max-width: 480px;
  background: rgba(30, 33, 38, 0.5);
  padding: 1.85rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.95rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  font-size: 0.9rem;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-lighter);
  color: var(--text-light);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.15);
}

.input-with-icon input::placeholder,
.input-with-icon select::placeholder {
  color: var(--text-muted);
}

.toggle-password {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

.toggle-password:hover {
  color: var(--text-light);
}

.password-strength {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.strength-meter {
  display: flex;
  gap: 5px;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.strength-meter span {
  height: 100%;
  width: 25%;
  background: var(--border-color);
  transition: all 0.3s ease;
}

.strength-meter.weak span:nth-child(1) {
  background: var(--error-color);
  box-shadow: 0 0 10px var(--error-color);
}

.strength-meter.medium span:nth-child(1),
.strength-meter.medium span:nth-child(2) {
  background: var(--warning-color);
  box-shadow: 0 0 10px var(--warning-color);
}

.strength-meter.strong span:nth-child(1),
.strength-meter.strong span:nth-child(2),
.strength-meter.strong span:nth-child(3) {
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

.strength-meter.very-strong span {
  background: var(--success-color);
  box-shadow: 0 0 10px var(--success-color);
}

.strength-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.strength-text::after {
  content: attr(data-strength);
  font-weight: 600;
}

.strength-text[data-strength="Weak"] {
  color: var(--error-color);
}

.strength-text[data-strength="Medium"] {
  color: var(--warning-color);
}

.strength-text[data-strength="Strong"] {
  color: var(--accent-color);
}

.strength-text[data-strength="Very Strong"] {
  color: var(--success-color);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input[type="checkbox"] {
  margin-right: 0.5rem;
  accent-color: var(--accent-color);
  width: 18px;
  height: 18px;
}

.btn {
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px);
}

/* Enhanced button styling */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 194, 168, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-hover));
  box-shadow: 0 6px 20px rgba(0, 194, 168, 0.4);
}

/* Add subtle shine effect to primary button */
.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: transform 0.7s ease-in-out;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translate(10%, 10%);
}

.btn-secondary {
  background: var(--bg-lighter);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: var(--accent-color);
}

.auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.75rem 0;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-separator span {
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
}

.terms-checkbox input[type="checkbox"] {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  accent-color: var(--accent-color);
  width: 18px;
  height: 18px;
}

.recovery-info {
  display: flex;
  background: rgba(0, 194, 168, 0.1);
  padding: 1.25rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent-color);
}

.recovery-info i {
  color: var(--accent-color);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.support-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Modal Styles */
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--modal-overlay);
  z-index: 1000;
  overflow: auto;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--bg-dark);
  width: 100%;
  max-width: 445px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: modalFadeIn 0.3s ease;
  overflow: auto;
  scrollbar-width: none;
}

.modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
}

.close-modal {
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

.close-modal:hover {
  color: var(--text-light);
}

.modal-body {
  padding: 1.25rem;
}

/* Verification Modal Specific Styles */
.verification-message {
  margin-bottom: 1.5rem;
}

.verification-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
}

.verification-note i {
  color: var(--warning-color);
  margin-right: 0.5rem;
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* Update the verification code container for 6 digits instead of 8 */
.verification-code-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.verification-digit {
  width: 45px;
  height: 55px;
  text-align: center;
  font-size: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-lighter);
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
}

.verification-digit:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.15);
}

.verification-actions {
  display: flex;
  gap: 0.85rem;
}

.verification-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.verification-status.success {
  display: block;
  background: rgba(0, 184, 148, 0.1);
  border-left: 3px solid var(--success-color);
  color: var(--success-color);
}

.verification-status.error {
  display: block;
  background: rgba(225, 112, 85, 0.1);
  border-left: 3px solid var(--error-color);
  color: var(--error-color);
}

/* Error Modal Specific Styles */
.error-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.error-message i {
  color: var(--error-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.error-actions {
  display: flex;
  justify-content: flex-end;
}

/* Success Modal Specific Styles */
.success-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.success-message i {
  color: var(--success-color);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.success-actions {
  display: flex;
  justify-content: flex-end;
}

/* Modal Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced animations */
@keyframes pulse {
  0% {
    opacity: 0.4;
    transform: scaleX(0.98);
  }

  50% {
    opacity: 0.8;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.4;
    transform: scaleX(0.98);
  }
}

@keyframes chartMove {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/* Responsive Styles - Improved for better layout on all devices */
@media (max-width: 1200px) {
  .auth-left-panel {
    padding: 2.5rem;
  }

  .auth-right-panel {
    padding: 2rem;
  }
}

@media (max-width: 992px) {
  .auth-container {
    flex-direction: column-reverse;
    /* Change from column to column-reverse */
  }

  .auth-left-panel {
    display: block;
    max-height: unset;
    min-height: unset;
    height: auto;
    padding: 1.5rem;
  }

  .auth-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .feature {
    width: 100%;
    margin-bottom: 0;
  }

  .auth-right-panel {
    padding: 2rem 1.5rem;
  }

  .auth-form {
    max-width: 480px;
  }


  /* Update responsive styles for verification digits */
  .verification-digit {
    width: 40px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .auth-left-panel {
    padding: 1.25rem;
  }

  .auth-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .auth-form-header h1 {
    font-size: 1.75rem;
  }

  .auth-form {
    padding: 1.5rem 1rem;
  }

  .verification-actions {
    flex-direction: column;
  }

  /* Update responsive styles for verification digits */
  .verification-digit {
    width: 35px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .auth-left-panel {
    padding: 1.25rem;
  }

  .auth-right-panel {
    padding: 1.5rem 0.9rem;
  }

  .auth-form {
    padding: 1.2rem 0.9rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .auth-form-header h1 {
    font-size: 1.5rem;
  }

  .logo {
    height: 70px;
  }


  /* Update responsive styles for verification digits */
  .verification-digit {
    width: 32px;
    height: 42px;
    font-size: 1rem;
  }
}