* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  margin: 0 auto;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

h2 {
  color: #333;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

input {
  width: 100%;
  padding: 15px 20px;
  margin: 10px 0;
  border-radius: 12px;
  border: 2px solid #e1e5e9;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

button {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

button:active {
  transform: translateY(0);
}

a {
  display: block;
  margin-top: 20px;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 8px;
}

a:hover {
  color: #764ba2;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

#message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  padding: 15px 20px;
  border-radius: 12px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

#message.error {
  background: rgba(220, 53, 69, 0.95);
  color: white;
  border: 1px solid rgba(220, 53, 69, 0.2);
  backdrop-filter: blur(10px);
  display: block;
}

#message.success {
  background: rgba(40, 167, 69, 0.95);
  color: white;
  border: 1px solid rgba(40, 167, 69, 0.2);
  backdrop-filter: blur(10px);
  display: block;
}

.success-container {
  text-align: center;
}

.success-container h2 {
  color: #28a745;
  margin-bottom: 20px;
}

.success-container p {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

.success-container a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.success-container a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  color: white;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

@media (max-width: 480px) {
  .container {
    padding: 30px 20px;
    margin: 10px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  input, button {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  #message {
    top: -70px;
    max-width: 350px;
    padding: 12px 16px;
    font-size: 14px;
  }
}
