* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #0c2461, #1e3799, #4a69bd);
  min-height: 100vh;
}

.rlf-container {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin:40px auto;
}

.form-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .form-container {
    flex-direction: row;
  }
}

.login-container,
.register-container,
.forget-container{
  padding: 30px;
  flex: 1;
}



.form-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.form-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #3498db, #2ecc71);
}

.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.7);
}

.divider:before,
.divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.divider span {
  padding: 0 15px;
  font-size: 14px;
}

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

.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.remember {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.remember input {
  margin-right: 8px;
}

.forgot {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot:hover {
  color: #2ecc71;
  text-decoration: underline;
}

.btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #3498db, #2ecc71);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background: linear-gradient(to right, #2980b9, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.switch-form {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.switch-form a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.switch-form a:hover {
  color: #2ecc71;
  text-decoration: underline;
}

.terms {
  margin-top: 15px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.terms a {
  color: #3498db;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}


.verification-code {
  display: flex;
  gap: 10px;
}

.verification-code input {
  flex: 1;
}

.get-code-btn {
  padding: 0 15px;
  background: linear-gradient(to right, #3498db, #2ecc71);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.get-code-btn:hover:not(.disabled) {
  background: linear-gradient(to right, #2980b9, #27ae60);
  transform: translateY(-2px);
}

.get-code-btn.disabled {
  background: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.5);
}

.back-to-login {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.back-to-login a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-to-login a:hover {
  color: #2ecc71;
  text-decoration: underline;
}

.success-message {
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
  color: white;
}

.success-message i {
  color: #2ecc71;
  font-size: 24px;
  margin-bottom: 10px;
}
#captchaimg{
    border-radius: 4px;
    cursor:pointer;
}
@media (max-width: 480px) {
  .container {
    padding: 20px;
  }

  .verification-code {
    flex-direction: column;
  }

  .get-code-btn {
    width: 100%;
    padding: 12px;
  }
}
