@charset "utf-8";
:root {
  --accent: #7FA9A0;
  --peach: #FFF5E6;
  --text: #2c2c2c;
  --secondary-text: #4a8b80;
  --light-teal: #A8D5CE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #F3FBF7;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c2c2c;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/indexbg.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: backdrop-filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

body.blur-bg::before {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.container {
  background: linear-gradient(135deg, #FFF5E6 0%, #FFFBF5 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem 3.5rem;
  border-radius: 24px;
  border: 4px solid #7FA9A0;
  box-shadow: 0 8px 24px rgba(122, 143, 166, 0.15), inset 0 1px 0 rgba(255,255,255,0.8);
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: slideIn 0.4s ease-out;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(127, 169, 160, 0.05) 0%, rgba(168, 213, 206, 0.08) 100%);
  pointer-events: none;
  z-index: 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.progress-step {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(127, 169, 160, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #7FA9A0;
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.progress-step.active {
  background: #7FA9A0;
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(127, 169, 160, 0.3);
}

.progress-step.completed {
  background: #7FA9A0;
  color: #fff;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #7FA9A0 0%, #5F8B82 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(127, 169, 160, 0.3);
}

.icon .material-symbols-rounded {
  font-size: 2.5rem;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.header h1 {
  color: #2c2c2c;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
  letter-spacing: 0.3px;
}

.header p {
  color: #4a8b80;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  color: #4a8b80;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin-left: calc((100% - 300px) / 2);
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  max-width: 300px;
  padding: 1rem 1.2rem;
  border: 3px solid #7FA9A0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #FFFBF5;
  color: #2c2c2c;
  outline: none;
  position: relative;
  z-index: 2;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder {
  color: #999999;
  font-weight: 600;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  background: #FFFBF5;
  box-shadow: 0 0 15px rgba(127, 169, 160, 0.3);
  border-color: #5F8B82;
}

button {
  width: 85%;
  padding: 1.2rem 1.5rem;
  background: #7FA9A0;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin: 0.8rem auto 0 auto;
  position: relative;
  z-index: 2;
  display: block;
  box-shadow: 0 8px 20px rgba(127, 169, 160, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

button:hover {
  background: #6FA091;
  box-shadow: 0 12px 30px rgba(127, 169, 160, 0.4);
  transform: translateY(-2px);
}

.back-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #7FA9A0;
  color: #7FA9A0;
  margin-top: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.back-btn:hover {
  background: #7FA9A0;
  color: #fff;
  border-color: #7FA9A0;
}

.error {
  background: rgba(200, 50, 50, 0.15);
  color: #c83232;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  z-index: 2;
  border: 2px solid #c83232;
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.success {
  background: rgba(76, 175, 80, 0.15);
  color: #2e7d32;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  z-index: 2;
  border: 2px solid #2e7d32;
}

.info-box {
  background: rgba(127, 169, 160, 0.1);
  color: #4a8b80;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  z-index: 2;
  font-weight: 700;
  border: 2px solid rgba(127, 169, 160, 0.2);
}

.password-strength {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.strength-bar {
  height: 6px;
  background: rgba(127, 169, 160, 0.1);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(127, 169, 160, 0.2);
}

.strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 3px;
}

.strength-weak {
  background: #e74c3c;
  width: 33%;
}

.strength-medium {
  background: #f39c12;
  width: 66%;
}

.strength-strong {
  background: #27ae60;
  width: 100%;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .container {
    padding: 2rem 1.5rem;
    max-width: 95%;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .header p {
    font-size: 0.95rem;
  }

  label {
    font-size: 0.95rem;
    margin-left: calc((100% - 85%) / 2);
  }

  input[type="text"],
  input[type="password"],
  input[type="email"] {
    max-width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  button {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }

  .icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .icon .material-symbols-rounded {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .progress-bar {
    margin-bottom: 1.5rem;
  }

  .progress-step {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .header h1 {
    font-size: 1.3rem;
  }

  .header p {
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  label {
    font-size: 0.9rem;
    margin-left: auto;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"] {
    max-width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  button {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    margin: 0.6rem auto 0 auto;
  }

  .icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .icon .material-symbols-rounded {
    font-size: 1.8rem;
  }
}
