* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0e1a;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated background with trading chart effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 59, 48, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 122, 255, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.container {
  background: rgba(20, 25, 35, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 420px;
  position: relative;
}

.form-container {
  text-align: center;
}

.header {
  margin-bottom: 2rem;
}

.app-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.subtitle {
  color: #8e9aaf;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.trading-visual {
  height: 60px;
  margin: 1rem 0;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
}

.bar {
  width: 4px;
  background: linear-gradient(to top, #ff3b30, #00ff88);
  border-radius: 2px;
  animation: trading 3s infinite ease-in-out;
}

.bar:nth-child(odd) {
  background: linear-gradient(to top, #00ff88, #00ff88);
  animation-delay: -0.5s;
}

.bar:nth-child(even) {
  background: linear-gradient(to top, #ff3b30, #ff3b30);
  animation-delay: -1s;
}

@keyframes trading {
  0%, 100% { height: 20px; }
  50% { height: 45px; }
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 1rem;
  background: rgba(30, 35, 45, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #8e9aaf;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #00ff88;
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
  background: rgba(30, 35, 45, 0.95);
}

.btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.switch-form {
  margin-top: 2rem;
  color: #8e9aaf;
  font-size: 0.9rem;
}

.switch-form a {
  color: #00ff88;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.switch-form a:hover {
  color: #00cc6a;
  text-decoration: underline;
}

.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-success {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border-color: rgba(0, 255, 136, 0.2);
}

.alert-error {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  border-color: rgba(255, 59, 48, 0.2);
}

.license-input {
  position: relative;
}

.license-input input {
  padding-right: 3rem;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  letter-spacing: 1px;
}

.license-input::after {
  content: '🔒';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8e9aaf;
}

.dashboard {
  text-align: center;
  padding: 2rem;
}

.user-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.user-info h3 {
  color: #333;
  margin-bottom: 1rem;
}

.user-info p {
  color: #666;
  margin: 0.5rem 0;
}

.btn-secondary {
  background: #6c757d;
  margin-top: 1rem;
}

.btn-danger {
  background: #dc3545;
  margin-left: 0.5rem;
}

.loading {
  display: none;
  text-align: center;
  color: #666;
}

.hidden {
  display: none;
}
.dashboar
d {
  text-align: center;
  padding: 0;
}

.user-info {
  background: rgba(30, 35, 45, 0.6);
  padding: 1.5rem;
  border-radius: 16px;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.user-info h3 {
  color: #00ff88;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.profile-grid {
  display: grid;
  gap: 0.8rem;
  text-align: left;
}

.profile-grid p {
  color: #8e9aaf;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-grid p:last-child {
  border-bottom: none;
}

.profile-grid strong {
  color: #ffffff;
  font-weight: 500;
}

.profile-grid span {
  color: #00ff88;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.btn-danger {
  background: linear-gradient(135deg, #ff3b30 0%, #dc143c 100%);
  margin-left: 0.5rem;
}

.btn-danger:hover {
  box-shadow: 0 10px 25px rgba(255, 59, 48, 0.3);
}

.loading {
  display: none;
  text-align: center;
  color: #8e9aaf;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.hidden {
  display: none;
}

/* Responsive design */
@media (max-width: 480px) {
  .container {
    margin: 1rem;
    padding: 2rem 1.5rem;
  }
  
  .trading-visual {
    height: 50px;
  }
  
  .bar {
    width: 3px;
  }
  
  .app-title {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
}

/* Additional animations */
.container {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glowing effect for active elements */
.status-indicator {
  box-shadow: 0 0 10px #00ff88;
}

input:focus {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
  }
  to {
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.2);
  }
}