  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

  * {
      font-family: 'Inter', sans-serif;
  }

  .gradient-bg {
      background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  }

  .login-container {
      min-height: 100vh;
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
  }

  .login-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
      opacity: 0.3;
  }

  .login-card {
      background: rgba(30, 41, 59, 0.9);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      position: relative;
      z-index: 10;
  }

  .login-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
  }

  .input-group {
      position: relative;
      margin-bottom: 1.5rem;
  }

  .input-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #64748b;
      z-index: 10;
  }

  .form-input {
      width: 100%;
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid #334155;
      color: #e2e8f0;
      font-size: 14px;
      padding: 0.75rem 1rem 0.75rem 3rem;
      border-radius: 8px;
      transition: all 0.3s ease;
      padding-left: 2.5rem;
      /* space for left icon */
      padding-right: 2.5rem;
      /* space for right icon if needed */
  }

  .form-input:focus {
      outline: none;
      border-color: #3b82f6;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  }

  .password-toggle {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #64748b;
      cursor: pointer;
      z-index: 10;
      pointer-events: none;
      /* so clicks go to input (except toggle) */

  }

  .btn-primary {
      background: linear-gradient(135deg, #3b82f6, #2563eb);
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 600;
      width: 100%;
  }

  .btn-primary:hover {
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  }

  .btn-google {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #e2e8f0;
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 500;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
  }

  .btn-google:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
  }

  .security-indicator {
      height: 4px;
      background: #334155;
      border-radius: 2px;
      margin-top: 0.5rem;
      overflow: hidden;
  }

  .security-fill {
      height: 100%;
      border-radius: 2px;
      transition: all 0.3s ease;
  }

  .security-weak {
      background: #ef4444;
      width: 33%;
  }

  .security-medium {
      background: #f59e0b;
      width: 66%;
  }

  .security-strong {
      background: #10b981;
      width: 100%;
  }

  .fade-in {
      animation: fadeIn 0.8s ease-in-out;
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateY(20px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .floating-element {
      position: absolute;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.1));
      animation: float 6s ease-in-out infinite;
  }

  @keyframes float {

      0%,
      100% {
          transform: translateY(0) rotate(0deg);
      }

      50% {
          transform: translateY(-20px) rotate(180deg);
      }
  }

  .feature-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      border-radius: 8px;
      transition: all 0.3s ease;
  }

  .feature-item:hover {
      background: rgba(255, 255, 255, 0.05);
  }

  .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
  }

  .icon-security {
      background: rgba(16, 185, 129, 0.2);
      color: #10b981;
  }

  .icon-trade {
      background: rgba(59, 130, 246, 0.2);
      color: #3b82f6;
  }

  .icon-global {
      background: rgba(245, 158, 11, 0.2);
      color: #f59e0b;
  }

  .icon-support {
      background: rgba(168, 85, 247, 0.2);
      color: #a855f7;
  }

  .language-selector {
      position: absolute;
      top: 2rem;
      right: 2rem;
      z-index: 20;
  }

  .language-btn {
      background: rgba(30, 41, 59, 0.8);
      border: 1px solid #334155;
      color: #e2e8f0;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.3s ease;
  }

  .language-btn:hover {
      background: rgba(30, 41, 59, 1);
      border-color: #475569;
  }

  .checkbox-container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
  }

  .checkbox-container input[type="checkbox"] {
      appearance: none;
      width: 18px;
      height: 18px;
      border: 1px solid #475569;
      border-radius: 4px;
      position: relative;
      cursor: pointer;
  }

  .checkbox-container input[type="checkbox"]:checked {
      background: #3b82f6;
      border-color: #3b82f6;
  }

  .checkbox-container input[type="checkbox"]:checked::after {
      content: '✓';
      position: absolute;
      color: white;
      font-size: 12px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }
