/* Global Styles */
body {
    background-color: #121212;
    color: #f1f1f1;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @keyframes bounceInTop {
    0% {
      transform: translateY(-800px);
      opacity: 0;
    }
    60% {
      transform: translateY(30px);
      opacity: 1;
    }
    80% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }  
  
  /* Canvas Background */
  #trackerCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
  }
  
  /* Login Container */
  .login-container {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 20px;
  }
  
  /* Glassy Login Box */
  .login-glass-box {
    background: rgba(31, 31, 46, 0.7); /* Slightly more transparent */
    backdrop-filter: blur(10px); /* More blur for stronger glass effect */
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: bounceInTop 1.1s ease;
  }
  
  /* Logo & Header Section */
  .header-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .header-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }
  
  .header-text {
    text-align: left;
  }
  
  .welcome-text {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
  }
  
  .app-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ff4c4c;
    letter-spacing: 1px;
    margin-top: 3px;
    font-style: italic;
  }
  
  /* Emoji Animation */
  .wave {
    display: inline-block;
    animation: waveHand 2s infinite ease-in-out;
  }
  
  @keyframes waveHand {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(20deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(15deg); }
    80% { transform: rotate(-5deg); }
  }
  
  /* Input Styles */
  input[type="text"],
  input[type="password"] {
    background-color: #2c2c3e;
    border: 1px solid transparent;
    color: #fff;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  input[type="text"]:focus,
  input[type="password"]:focus {
    outline: none;
    border-color: #ff4c4c;
    box-shadow: 0 0 8px rgba(255, 76, 76, 0.3);
  }
  
  /* Button Styles */
  .btn-submit {
    background-color: #ff4c4c;
    border: none;
    font-size: 1rem;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    color: white;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn-submit:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(204, 0, 0, 0.5);
  }

  /* Back button styled to match .btn-submit and sit under it */
.btn-back {
  display: inline-block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;           /* matches .btn-submit spacing */
  border-radius: 6px;
  text-align: center;
  background-color: transparent; /* keep transparent so we can apply border hover like submit if desired */
  color: #fff;
  border: 2px solid #ff4c4c; /* invisible border to match sizing without changing theme */
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* On hover make it match the submit hover vibe but subtle (fits the same theme) */
.btn-back:hover,
.btn-back:focus {
  background-color: #cc0000;
  color: #fff;
  transform: translateY(-2px);
  border: 3px solid rgba(204, 0, 0, 0.5);
  box-shadow: 0 6px 14px rgba(204, 0, 0, 0.5);
  text-decoration: none;
}

  