#login_description_panel{
	padding:5px;
	text-align:justify;
	color:#333;
	font-size:14px;
	line-height:23px;
}
#log_in_form{
	padding:20px;
}
#log_in_form input[type=text],#log_in_form input[type=password]{
	padding:4px;
	color:#333;
	font-size:18px;
	line-height:normal;
}
#log_in_form input[type=text]:hover,#log_in_form input[type=password]:hover{
	background-color:#F3F3F3;
}
#main_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 30px;
    min-height: calc(100vh - 200px);
  }

  .login-container {
    width: 100%;
    max-width: 480px;
  }

  /* Social login section */
  #login_external_panel {
    width: 100%;
    margin-bottom: 30px;
  }

  .social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    margin-bottom: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .social-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
  }

  .social-login-btn:active {
    transform: translateY(0);
  }

  .btn-github {
    background-color: #24292e;
    color: white;
  }

  .btn-github:hover {
    background-color: #1a1f23;
    color: white;
  }

  .btn-google {
    background-color: #DB4437;
    color: white;
  }

  .btn-google:hover {
    background-color: #c23321;
    color: white;
  }

  .btn-weibo {
    background-color: #E6162D;
    color: white;
  }

  .btn-weibo:hover {
    background-color: #c0102a;
    color: white;
  }

  /* Divider */
  .login-divider {
    text-align: center;
    margin: 35px 0;
    position: relative;
    width: 100%;
  }

  .login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd 20%, #ddd 80%, transparent);
  }

  .login-divider span {
    background-color: white;
    padding: 0 20px;
    position: relative;
    color: #999;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
  }

  /* Form section */
  #login_form_panel {
    width: 100%;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  #login_form_panel .form-group {
    margin-bottom: 20px;
  }

  #login_form_panel label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
  }

  #login_form_panel .form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    height: 49px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  #login_form_panel .form-control:focus {
    border-color: #5cb85c;
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.1);
    outline: none;
  }

  #login_form_panel .btn-success {
    background-color: #5cb85c;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  #login_form_panel .btn-success:hover {
    background-color: #4cae4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }

  #login_form_panel .btn-success:active {
    transform: translateY(0);
  }

  .captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .captcha-container input {
    flex: 1;
  }

  .captcha-container img {
    height: 49px;
    width: auto;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
    display: block;
  }

  .captcha-container img:hover {
    border-color: #5cb85c;
  }

  /* Responsive adjustments */
  @media (max-width: 576px) {
    #main_body {
      padding: 30px 15px;
    }

    #login_form_panel {
      padding: 25px 20px;
    }

    .login-header h2 {
      font-size: 26px;
    }

    .social-login-btn {
      font-size: 15px;
      padding: 12px 20px;
    }
  }