@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Source+Code+Pro:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} 

body {
  font-family: 'Roboto', sans-serif;
  background-color: #0f1218;
  color: #e4e6eb;
  height: 100vh;
  overflow: hidden;
}

.container {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.login-container {
  background-color: rgba(20, 25, 36, 0.85);
  border-radius: 10px;
  padding: 2.5rem;
  width: 380px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 10;
  border: 1px solid rgba(59, 130, 246, 0.2);
  animation: fadeIn 0.8s ease-in-out;
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.node-icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #121a27, #1a2436);
}

.node-icon i {
  font-size: 2.2rem;
  color: #3b82f6;
}

.pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.2);
  animation: pulse 2s infinite;
}

h1 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #3b82f6;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
  font-family: 'Source Code Pro', monospace;
}

.form {
  width: 100%;
}

.error-message {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  padding: 0.8rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.form input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6px;
  background-color: rgba(15, 23, 42, 0.7);
  color: #e4e6eb;
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
}

.form input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form input::placeholder {
  color: #64748b;
}

.form button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.form button:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.form button:active {
  transform: translateY(0);
}

.network-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .login-container {
    width: 90%;
    padding: 2rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .node-icon {
    width: 70px;
    height: 70px;
  }
}