* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #0f0f1a;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.register-container {
    background-color: #121826;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.4);
    width: 90%;
    max-width: 450px;
    text-align: center;
}

h1 {
    color: #00aaff;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    text-align: left;
    margin: 0.8rem 0 0.3rem;
    color: #8a8a8a;
    font-size: 0.95rem;
}

input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    background-color: #1a1f2f;
    color: white;
    font-size: 1rem;
}

input:focus {
    outline: 2px solid #0070cc;
}

.submit-btn {
    margin-top: 1.5rem;
    background-color: #0070cc;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-btn:hover {
    background-color: #0088cc;
    transform: scale(1.05);
    box-shadow: 0 0 10px #0070cc70;
}

.login-link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.login-link a {
    color: #00aaff;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #cc3300;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, top 0.5s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  top: 40px;
}
