/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #0c4b80, #00b894);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bgMove 10s infinite alternate;
}

@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.login-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 350px;
}

.login-form h2 {
  color: white;
  margin-bottom: 25px;
  text-align: center;
}

.input-group {
  position: relative;
  margin-bottom: 30px;
}

.input-group input {
  width: 100%;
  padding: 12px 10px;
  background: transparent;
  border: 2px solid white;
  color: white;
  font-size: 16px;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.input-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #ccc;
  background-color: transparent;
  pointer-events: none;
  transition: 0.3s ease all;
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: #00ffcc;
  background-color: rgba(12, 75, 128, 0.5);
  padding: 0 5px;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #00b894;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #00997a;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
  color: #f0f0f0;
  opacity: 0.8;
}


/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body, html {
  height: 100%;
  overflow: hidden;
}

/* Background */
.background-animation {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c4b80, #00b894, #00cec9, #0984e3);
  background-size: 400% 400%;
  animation: pulseBG 15s ease infinite;
  z-index: -1;
}

@keyframes pulseBG {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Container */
.register-box {
  max-width: 450px;
  width: 90%;
  margin: auto;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  color: white;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo h1 {
  font-size: 40px;
  margin-bottom: 5px;
  color: #00e6a0;
  letter-spacing: 1px;
}

.logo p {
  font-size: 14px;
  color: #cceeff;
  letter-spacing: 0.5px;
}

/* Input Field */
.input-field {
  position: relative;
  margin-bottom: 25px;
}

.input-field input {
  width: 100%;
  padding: 14px 12px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: 0.3s ease;
}

.input-field label {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #cfd8dc;
  font-size: 14px;
  pointer-events: none;
  transition: 0.2s ease all;
}

.input-field input:focus,
.input-field input:valid {
  border-color: #00e6a0;
  box-shadow: 0 0 10px #00e6a040;
}

.input-field input:focus + label,
.input-field input:valid + label {
  top: -10px;
  left: 12px;
  font-size: 12px;
  color: #00ffcc;
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  background: #00b894;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.4);
}

button:hover {
  background: #00a383;
  box-shadow: 0 6px 20px rgba(0, 255, 204, 0.6);
}

/* Footer */
.footer {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
  color: #e0f7fa;
}

.footer a {
  color: #bd0552;
  text-decoration: none;
}



/* style.css (same as login form) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(135deg, #0c4b80, #00b894);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bgMove 10s infinite alternate;
}

@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.login-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 350px;
}

.login-form h2 {
  color: white;
  margin-bottom: 25px;
  text-align: center;
}

.input-group {
  position: relative;
  margin-bottom: 30px;
}

.input-group input {
  width: 100%;
  padding: 12px 10px;
  background: transparent;
  border: 2px solid white;
  color: white;
  font-size: 16px;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.input-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #ccc;
  background-color: transparent;
  pointer-events: none;
  transition: 0.3s ease all;
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: #00ffcc;
  background-color: rgba(12, 75, 128, 0.5);
  padding: 0 5px;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #00b894;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #00997a;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
  color: #f0f0f0;
  opacity: 0.8;
}


