<<<<<<< HEAD
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.register-card {
    background: #ee7b7b;
    border-radius: 15px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: #6B73FF;
    box-shadow: 0 0 5px rgba(107, 115, 255, 0.5);
    outline: none;
}

.progress {
    height: 6px;
    background: #eee;
    border-radius: 5px;
    margin-top: 5px;
}

.progress-bar {
    height: 6px;
    width: 0%;
    border-radius: 5px;
    transition: width 0.3s ease;
}

#passwordStrengthText {
    font-size: 13px;
    margin-top: 3px;
    display: block;
}

.btn-register {
    width: 100%;
    padding: 12px;
    border: none;
    background: #6B73FF;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-register:hover {
    background: #000DFF;
    transform: translateY(-2px);
}

.login-link {
    text-align: center;
    margin-top: 15px;
}

.login-link a {
    color: #6B73FF;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Animation fadeIn */
.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .register-card {
        padding: 25px;
        max-width: 90%;
    }

    .title {
        font-size: 24px;
    }
=======
/* Body */
body.login-page {
  background: radial-gradient(circle at top, #2a1e47, #181326);
  font-family: "Poppins", sans-serif;
  color: #fff;
  min-height: 100vh;
  margin: 0;
}

/* Wrapper */
.register-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100vh;     
  margin: 0;
  align-items: flex-start; 
}
/* Left Image */
.register-right {
  flex: 1 0 70%;
  position: relative;
  min-width: 300px;
  height: 100vh;        
}

.register-right img {
  width: 100%;
  height: 100%;        
  object-fit: cover;   
  display: block;
}

.overlay-text {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(5px);
  padding: 1rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  color: #000;
}

/* Right Form */
.register-card {
  flex: 0 0 30%; 
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0,0,0,0); 
  margin-left: 20px;
}

.register-card .title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  text-align: center;
}

.register-form label {
  font-size: 0.85rem;
  margin-top: 2%;
  color: #fff;
}

.register-form input {
  width: 100%;
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid #fff;
  color: #000;
  outline: none;
  font-size: 0.8rem;
  margin-top: 10px;
}

.register-form input:focus {
  border-color: #a68eff;
}

.register-form input::placeholder {
  color: #000;
  opacity: 1; /* ensures full white color in all browsers */
}

/* Button */
.btn-register {
  width: 100%;
  max-width: 400px;
  background: #634f9a;
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 2rem;
  font-weight: bolder;
  font-size: medium;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 30px 0;
}

.btn-register:hover {
  background: #9557ffb6;
}

/* Password toggle */
.password-wrapper { position: relative; }
.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(153,145,145,0.9);
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 1rem;
  outline: none;
}

/* Password Strength */
.strength-bar {
  height: 5px;
  background: #222;
  border-radius: 5px;
  transition: width 0.3s ease, background 0.3s ease;
}
.bg-danger { background: #f87171 !important; }
.bg-warning { background: #fbbf24 !important; }
.bg-info { background: #3b82f6 !important; }
.bg-success { background: #22c55e !important; }

/* Remaining space */
.register-wrapper::after { content: ""; flex: 1; }

/* Responsive */
@media (max-width: 900px) {
  .register-wrapper {
    flex-direction: column;
    margin-top: 2rem;
  }
  .register-card,
  .register-right {
    flex: 1 1 100%;
    height: auto;
  }
  .register-right { height: 250px; }
}

@media (max-width: 480px) {

  .register-right,
  .register-right img,
  .overlay-text {
    display: none;
  }

  .register-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    min-height: 100vh;       
    margin: 0;
    padding: 0 1rem;         
  }

  .register-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;        
    padding: 6rem 0.rem;
    margin-left: 0;
  }
>>>>>>> be8a9c60c6a7058bb718895ca3f39a8d200eef8d
}

/* login tweaks */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 12px;
    color: #6B73FF;
    font-weight: 600;
}
.toggle-password:hover {
    color: #000DFF;
}

.error-text {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 3px;
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

