* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url("logo/background.png") no-repeat center center;
  background-size: cover;
  color: #e0e6f0;
  text-align: center;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}


.sidebar-container {
  display: flex;
  height: 100vh; 
  overflow: hidden;
}
.sidebar a.active-link {
  background-color: rgba(41, 255, 198, 0.2);
  color: #29ffc6;
}

.main-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0;
  background-color: #0a0f1c;
}


.sidebar h2 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #29ffc6;
}

.sidebar a {
  display: block;
  padding: 10px 15px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #b8e5ff;
  border-radius: 8px;
  transition: background 0.2s;
}

.sidebar a:hover {
  background-color: rgba(41, 255, 198, 0.25);
  color: #ffffff;
}

.main-content {
  flex-grow: 1;
  padding: 40px;
}


@media (max-width: 768px) {
  .sidebar-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    box-shadow: none;
  }

  .main-content {
    padding: 20px;
  }
}


form {
  width: 100%;
  text-align: center;
}

.captcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}

.g-recaptcha {
  display: inline-block;
  float: none;
  margin: 0 auto;
}

.app-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  background: rgba(0, 255, 200, 0.1);
  padding: 10px 16px;
  border-radius: 30px;
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.3);
  z-index: 10;
  backdrop-filter: blur(6px);
}

.app-badge img {
  height: 60px;
  margin-right: 12px;
}

.app-badge span {
  font-size: 16px;
  font-weight: bold;
  color: #29ffc6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 0 0 3px rgba(41, 255, 198, 0.6);
}

.container {
  max-width: 500px;
  width: 90%;
  padding: 40px 20px;
  background: #11192a;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.08);
  padding-top: 100px; /* Space below the app badge */
  margin: 0 auto 40px auto;
}


.header-box {
  text-align: center;
  margin-bottom: 20px;
}

.app-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.main-title {
  font-size: 18px;
  font-weight: bold;
  color: #29d6ff;
  margin: 10px 0 5px;
  text-shadow: 0 0 3px rgba(41, 214, 255, 0.3);
}

.subtitle {
  font-size: 13px;
  color: #b8e5ff;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 0 2px rgba(100, 200, 255, 0.2);
}

.avatar {
  width: 70px;
  height: 70px;
  background-image: url("logo/index1.png");
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  margin: 10px auto 20px;
  box-shadow: 0 0 6px rgba(41, 255, 198, 0.3);
}

.input-wrapper {
  position: relative;
  margin-bottom: 12px;
}

.input-wrapper input {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 16px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
  outline: none;
}

.input-wrapper input::placeholder {
  color: #ffffff;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 0 2px rgba(51, 255, 0, 0.4);
}

.input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 16px;
  pointer-events: none;
}

.btn-login {
  width: 60%;
  margin: 12px auto;
  background: linear-gradient(to right, #00e676, #00c853);
  color: #0a0f1c;
  border: none;
  padding: 12px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn-login:hover {
  opacity: 0.9;
}

.forgot-password {
  margin-top: 10px;
}

.forgot-password a {
  color: #00aaff;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #ff5d5d;
}

.register-box {
  margin-top: 24px;
  padding: 15px 20px;
  font-size: 13px;
  color: #ffffff;
}

.register-box p {
  margin: 0 0 10px;
}

.btn-register {
  display: inline-block;
  background: linear-gradient(to right, #00e676, #00c853);
  color: #0a0f1c;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  transition: opacity 0.3s ease;
}

.btn-register:hover {
  opacity: 0.9;
}


/* t */
.success-box + .success-box-2,
.success-box-2 + .success-box {
  margin-top: -10px; 
}


.success-box-2 a {
  color: #ffe600; /* same as .forgot-password link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.success-box-2 a:hover,
.success-box-2 a:focus,
.success-box-2 a:active {
  color: #ff4d4d; /* red on hover */
}




/* Responsive Adjustments */
@media (max-width: 600px) {
  .container {
    margin: 60px auto 20px;
    padding: 20px 15px;
  }

  .app-logo {
    width: 100px;
  }

  .app-badge {
    flex-direction: row;
    font-size: 14px;
    padding: 8px 14px;
  }

  .app-badge img {
    height: 50px;
    margin-right: 8px;
  }

  .btn-login {
    width: 100%;
  }

  .input-wrapper input {
    font-size: 14px;
  }
}
