/* Register Page Styles */
body.register-page {
  background: url(../images/top-bg.jpg) center top no-repeat, url(../images/bottom-bg.jpg) center bottom no-repeat;
  background-color: #fefefe;
}

.register-content {
  text-align: center;
  padding: 30px 60px;
  flex: 1;
}

.register-box {
  position: relative;
  display: block;
  width: 818px;
  height: 569px;
  margin: 15px auto;
  text-align: left;
}

.register-box img.background {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.panel-inner {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  color: #ffce11;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-field {
  margin-bottom: 14px;
  position: relative;
}

.form-field label {
  display: block;
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 4px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.form-field input {
  width: 100%;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #b8c6d4;
  border-radius: 4px;
  color: #333;
  font-size: 12px;
  box-shadow: 0px 0px 5px 0px rgba(125, 157, 185, 0.4);
  transition: all 0.3s ease;
}

.form-field input:focus {
  outline: none;
  border-color: #00bfff;
  box-shadow: 0px 0px 8px 0px rgba(0, 191, 255, 0.6);
}

.form-field input::placeholder {
  color: #6b676f;
  font-size: 11px;
}

.captcha-field {
  margin-bottom: 12px;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.captcha-image {
  border: 1px solid #b8c6d4;
  border-radius: 4px;
  height: 32px;
}

.refresh-captcha {
  background: #86a9c1;
  border: 1px solid #5d83a2;
  color: white;
  padding: 3px 6px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 10px;
  transition: background 0.3s ease;
  height: 32px;
}

.refresh-captcha:hover {
  background: #40607d;
}

.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.checkbox input {
  width: auto;
  margin-right: 6px;
  transform: scale(0.8);
}

.checkbox label {
  margin-bottom: 0;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.3;
}

.checkbox a {
  color: #00bfff;
  text-decoration: none;
}

.checkbox a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.img-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  margin: 10px auto 0;
  transition: transform 0.3s ease;
}

.img-btn:hover {
  transform: scale(1.05);
}

.img-btn img {
  display: block;
  margin: 0 auto;
  max-width: 150px;
  height: auto;
}

.msg {
  padding: 7px;
  border-radius: 3px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}

.msg.err {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff0000;
  color: #ff6b6b;
}

.msg.ok {
  background: rgba(0, 255, 0, 0.2);
  border: 1px solid #00ff00;
  color: #90ee90;
}

/* Responsive */
@media (max-width: 1280px) {
  .register-box {
    width: 718px;
    height: 500px;
  }
}

@media (max-width: 1024px) {
  .register-box {
    width: 618px;
    height: 430px;
  }
}

@media (max-width: 768px) {
  .register-box {
    width: 518px;
    height: 360px;
  }
  
  .register-content {
    padding: 15px 25px;
  }
  
  .panel-inner {
    width: 85%;
    height: 80%;
  }
  
  .img-btn img {
    max-width: 130px;
  }
}