@media screen and (min-width: 768px) {
  .d-flex-column {
    position: relative;
    background-image: url("../images/login/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    z-index: 1;
  }

  .login-container {
    position: absolute;
    bottom: 9vw;
    left: 15vw;
    width: 34vw;
    height: auto;
    border: none;
    z-index: 99;
    transform: scale(0.8);
    transform-origin: center;
  }

  .login-title {
    position: absolute;
    top: -3.4vw;
    left: 2.8vw;
    width: 8vw;
    height: 1.9vw;
    background-image: url("../images/login/welcome.png");
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin: 1.9vw 1.9vw;
    height: 2.2vw;
    line-height: 2.2vw;
    font-size: 2.2vw;
    font-weight: bolder;
    color: #ffffff;
  }

  .form-box {
    width: 32vw;
    height: auto;
  }

  .login-form {
    font-size: 1.1vw;
    color: #ffffff;
    padding: 0.3vw;
    overflow: hidden;
    margin: 0.6vw 1.9vw;
  }

  .login-form label {
    display: block;
    margin-bottom: 0.3vw;
    font-weight: bolder;
  }

  .verify-group {
    position: relative;
    margin-top: 1.6vw;
  }

  .username-group input {
    background: url("../images/login/username_bg.png") center no-repeat;
    background-size: cover;
    width: 21vw;
    height: 3.7vw;
    vertical-align: middle;
    border: none;
    border-radius: 1.9vw;
    font-size: 1vw;
    color: white;
    padding-left: 1.3vw;
    background-color: transparent;
    box-shadow: none;
    outline: none;
  }

  .verify-group input {
    background: url("../images/login/verify_bg.png") center no-repeat;
    background-size: cover;
    width: 13.7vw;
    height: 3.7vw;
    border-radius: 1.9vw;
    vertical-align: middle;
    border: none;
    font-size: 1vw;
    color: white;
    padding-left: 1.3vw;
    background-color: transparent;
    box-shadow: none;
    outline: none;
  }

  .send-verify-code {
    position: absolute;
    bottom: 1vw;
    left: 10vw;
    color: white;
    font-size: 1vw;
    background-color: transparent;
    border: none;
    outline: none;
  }

  .username-group input::placeholder {
    color: #276eb8;
  }

  .verify-group input::placeholder {
    color: #276eb8;
  }

  .login-btn {
    position: absolute;
    bottom: -0.3vw;
    left: 14.4vw;
    background: url("../images/login/login_btn.png") center no-repeat;
    background-size: cover;
    width: 6.6vw;
    height: 3.7vw;
    vertical-align: middle;
    border: none;
    border-radius: 0.6vw;
    font-size: 1.4vw;
    color: #cccccc;
    margin-left: 0.3vw;
    margin-top: 2.2vw;
    margin-bottom: 0.3vw;
  }

  .glass-panel {
    position: fixed;
    left: 0;
    top: 0;
    width: 32.55vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 3.91vw 6.51vw;
    box-sizing: border-box;
    overflow: hidden;
  }

  .glass-panel .logo {
    margin-top: 1.95vw;
    margin-bottom: 4vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .glass-panel .logo img {
    height: 3.5vw;
  }

  .glass-panel .welcome-title {
    font-size: 1.69vw;
    font-weight: 600;
    color: #333;
    margin-bottom: 2.6vw;
  }

  .glass-panel .login-type-toggle {
    display: flex;
    align-items: center;
    margin-bottom: 2.6vw;
    font-size: 0.91vw;
  }

  .glass-panel .login-type-link {
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
  }

  .glass-panel .login-type-link.active {
    color: #333;
    font-weight: 500;
  }

  .glass-panel .login-type-separator {
    margin: 0 0.78vw;
    color: #ccc;
    font-size: 0.91vw;
  }

  .glass-panel .form-group {
    margin-bottom: 1.3vw;
  }

  .glass-panel .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
  }

  .glass-panel .input-icon {
    position: absolute;
    left: 0.98vw;
    width: 1.04vw;
    height: 1.04vw;
    z-index: 2;
  }

  .glass-panel .form-input {
    width: 100%;
    padding: 0.98vw 1.3vw 0.98vw 2.93vw;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.62vw;
    background: white;
    color: #333;
    font-size: 0.91vw;
    outline: none;
    transition: all 0.3s ease;
  }

  .glass-panel .form-input::placeholder {
    color: #999;
  }

  .glass-panel .form-input:focus {
    border-color: #054dcc;
    background: rgba(255, 255, 255, 0.3);
  }

  .glass-panel .verify-input-group {
    display: flex;
    align-items: center;
    gap: 0.65vw;
  }

  .glass-panel .verify-input-group .input-with-icon {
    flex: 1;
  }

  .glass-panel .get-code-btn {
    width: 6.51vw;
    padding: 0.98vw 1.3vw 0.98vw 1.3vw;
    background: #054dcc;
    color: white;
    border: none;
    border-radius: 2.6vw;
    font-size: 0.78vw;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .glass-panel .get-code-btn:hover {
    background: #0056b3;
  }

  .glass-panel .login-submit-btn {
    width: 100%;
    padding: 0.98vw;
    background: #054dcc;
    color: white;
    border: none;
    border-radius: 1.62vw;
    font-size: 1.04vw;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.3vw;
  }

  .glass-panel .login-submit-btn:hover {
    background: #054dcc;
  }

  .glass-panel .form-group input[type="checkbox"] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5vw;
    width: 1.04vw;
    height: 1.04vw;
    border: 1px solid #ccc;
    border-radius: 0.26vw;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    background-color: white;
  }

  .glass-panel .form-group input[type="checkbox"]:checked {
    background-color: #054dcc;
    border-color: #054dcc;
  }

  .glass-panel .form-group input[type="checkbox"]:checked::before {
    content: '\2713';
    display: block;
    color: white;
    font-size: 0.78vw;
    text-align: center;
    line-height: 1.04vw;
  }

  .glass-panel .form-group label[for="remember-me"] {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    font-size: 0.91vw;
    cursor: pointer;
  }

  /* 验证码弹窗样式 - PC端 */
  .captcha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
  }

  .captcha-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
  }

  .captcha-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 320px;
    max-width: 90%;
  }

  .captcha-modal-body {
    margin-bottom: 20px;
  }

  .captcha-input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .captcha-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
  }

  .captcha-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    display: block;
  }

  .captcha-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
  }

  .captcha-input:focus {
    border-color: #1586ed;
  }

  .captcha-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }

  .captcha-modal-cancel,
  .captcha-modal-confirm {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
  }

  .captcha-modal-cancel {
    background-color: #f5f5f5;
    color: #666;
  }

  .captcha-modal-cancel:hover {
    background-color: #e0e0e0;
  }

  .captcha-modal-confirm {
    background-color: #1586ed;
    color: white;
  }

  .captcha-modal-confirm:hover {
    background-color: #0d6ec7;
  }
}

/**手机竖屏样式**/
@media screen and (max-width: 767px) and (orientation: portrait) {
  .d-flex-column {
    position: relative;
    background-image: url("../images/login/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    z-index: 1;
  }

  .login-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    border: none;
    z-index: 99;
  }

  .login-title {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-image: url("../images/login/welcome.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin-bottom: 5.33vw;
    font-size: 5.33vw;
    font-weight: bolder;
    color: #ffffff;
  }

  .form-box {
    width: 100%;
    height: auto;
  }

  .login-form {
    font-size: 3.73vw;
    color: #ffffff;
    padding: 0;
    overflow: hidden;
  }

  .login-form label {
    display: block;
    margin-bottom: 1.33vw;
    font-weight: bolder;
  }

  .verify-group {
    position: relative;
    margin-top: 5.33vw;
  }

  .username-group input {
    background: url("../images/login/username_bg.png") center no-repeat;
    background-size: cover;
    width: 100%;
    height: 10.67vw;
    vertical-align: middle;
    border: none;
    border-radius: 5.33vw;
    font-size: 3.73vw;
    color: white;
    padding-left: 4vw;
    background-color: transparent;
    box-shadow: none;
    outline: none;
  }

  .verify-group input {
    background: url("../images/login/verify_bg.png") center no-repeat;
    background-size: cover;
    width: 60%;
    height: 10.67vw;
    border-radius: 5.33vw;
    vertical-align: middle;
    border: none;
    font-size: 3.73vw;
    color: white;
    padding-left: 4vw;
    background-color: transparent;
    box-shadow: none;
    outline: none;
  }

  .send-verify-code {
    position: absolute;
    bottom: 2.67vw;
    left: 65%;
    color: white;
    font-size: 3.73vw;
    background-color: transparent;
    border: none;
    outline: none;
  }

  .username-group input::placeholder {
    color: #276eb8;
  }

  .verify-group input::placeholder {
    color: #276eb8;
  }

  .login-btn {
    position: relative;
    bottom: 0;
    left: 0;
    background: url("../images/login/login_btn.png") center no-repeat;
    background-size: cover;
    width: 100%;
    height: 10.67vw;
    vertical-align: middle;
    border: none;
    border-radius: 2.67vw;
    font-size: 4.27vw;
    color: #cccccc;
    margin-top: 5.33vw;
  }

  .glass-panel {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2.67vw);
    -webkit-backdrop-filter: blur(2.67vw);
    border-right: 0.27vw solid rgba(255, 255, 255, 0.2);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 8vw;
    box-sizing: border-box;
    overflow: hidden;
  }

  .glass-panel .logo {
    margin-top: 32vw;
    margin-bottom: 16vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .glass-panel .logo img {
    height: 16vw;
  }

  .glass-panel .welcome-title {
    font-size: 5.33vw;
    font-weight: 600;
    color: #333;
    margin-bottom: 5.33vw;
  }

  .glass-panel .login-type-toggle {
    display: flex;
    align-items: center;
    margin-bottom: 5.33vw;
    font-size: 3.2vw;
  }

  .glass-panel .login-type-link {
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
  }

  .glass-panel .login-type-link.active {
    color: #333;
    font-weight: 500;
  }

  .glass-panel .login-type-separator {
    margin: 0 2.67vw;
    color: #ccc;
    font-size: 3.2vw;
  }

  .glass-panel .form-group {
    margin-bottom: 4vw;
  }

  .glass-panel .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
  }

  .glass-panel .input-icon {
    position: absolute;
    left: 2.67vw;
    width: 3.2vw;
    height: 3.2vw;
    z-index: 2;
  }

  .glass-panel .form-input {
    width: 100%;
    padding: 2.67vw 4vw 2.67vw 9.33vw;
    border: 0.27vw solid rgba(255, 255, 255, 0.3);
    border-radius: 5.33vw;
    background: white;
    color: #333;
    font-size: 3.2vw;
    outline: none;
    transition: all 0.3s ease;
  }

  .glass-panel .form-input::placeholder {
    color: #999;
  }

  .glass-panel .form-input:focus {
    border-color: #054dcc;
    background: rgba(255, 255, 255, 0.3);
  }

  .glass-panel .verify-input-group {
    display: flex;
    align-items: center;
    gap: 2.67vw;
  }

  .glass-panel .verify-input-group .input-with-icon {
    flex: 1;
  }

  .glass-panel .get-code-btn {
    width: 21.33vw;
    padding: 2.13vw 4vw;
    background: #054dcc;
    color: white;
    border: none;
    border-radius: 4vw;
    font-size: 2.67vw;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .glass-panel .get-code-btn:hover {
    background: #0056b3;
  }

  .glass-panel .login-submit-btn {
    width: 100%;
    padding: 2.67vw;
    background: #054dcc;
    color: white;
    border: none;
    border-radius: 5.33vw;
    font-size: 3.73vw;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4vw;
  }

  .glass-panel .login-submit-btn:hover {
    background: #054dcc;
  }

  .glass-panel .form-group input[type="checkbox"] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1.33vw;
    width: 3.2vw;
    height: 3.2vw;
    border: 0.27vw solid #ccc;
    border-radius: 0.8vw;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    background-color: white;
  }

  .glass-panel .form-group input[type="checkbox"]:checked {
    background-color: #054dcc;
    border-color: #054dcc;
  }

  .glass-panel .form-group input[type="checkbox"]:checked::before {
    content: '\2713';
    display: block;
    color: white;
    font-size: 2.67vw;
    text-align: center;
    line-height: 3.2vw;
  }

  .glass-panel .form-group label[for="remember-me"] {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    font-size: 3.2vw;
    cursor: pointer;
  }

  /* 验证码弹窗样式 - 手机端 */
  .captcha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
  }

  .captcha-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
  }

  .captcha-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    max-width: 90%;
    box-sizing: border-box;
  }

  .captcha-modal-body {
    margin-bottom: 16px;
  }

  .captcha-input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .captcha-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
  }

  .captcha-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    display: block;
  }

  .captcha-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
  }

  .captcha-input:focus {
    border-color: #1586ed;
  }

  .captcha-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }

  .captcha-modal-cancel,
  .captcha-modal-confirm {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
  }

  .captcha-modal-cancel {
    background-color: #f5f5f5;
    color: #666;
  }

  .captcha-modal-cancel:hover {
    background-color: #e0e0e0;
  }

  .captcha-modal-confirm {
    background-color: #1586ed;
    color: white;
  }

  .captcha-modal-confirm:hover {
    background-color: #0d6ec7;
  }
}

/**弹框**/
.toast-info {
  background-color: rgba(0, 0, 0, 0.8) !important;
  color: white;
}