@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap');

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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Stack Sans Text", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  perspective: 1000px;
  overflow: hidden;
}

.container {
  border: 2px solid rgba(255, 255, 255, 0.2);
  width: 400px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

form {
  width: 100%;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 15px 0 5px 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
}

input::placeholder {
  color: #fff;
}

input.error {
  border-color: rgb(255, 213, 0) !important;
}

.error-msg {
  font-size: 14px;
  color: rgb(255, 213, 0);
  margin-bottom: 10px;
  display: none;
  text-align: left;
}

input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.btn-container {
  width: 100%;
  height: 70px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  position: absolute;
  border: none;
  background: #667eea;
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 7px;
  cursor: pointer;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -5px 5px rgba(0, 0, 0, 0.1);
}