* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
/*            background: linear-gradient(rgba(39, 47, 51, 0.85), rgba(39, 47, 51, 0.9)), url('/assets/ew/images/bg-pattern.svg');*/
    background: url(/assets/ew/images/login_back_dark.jpg) #0D0C11 no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: #333;
    position: relative;
    overflow: hidden;
}

/* 页面顶部LOGO */
.header-logo {
    position: absolute;
    top: 20px;
    left: 30px;
    display: flex;
    align-items: center;
    color: white;
    z-index: 10;
}

.header-logo i {
    font-size: 28px;
    margin-right: 10px;
}

.header-logo h1 {
    font-size: 20px;
    font-weight: 600;
}

/* 页面底部版权信息 */
.footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    z-index: 10;
}

.footer p {
    margin-bottom: 5px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 背景动画 */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.plane {
    position: absolute;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.3);
}

.plane:nth-child(1) {
    top: 7%;
    left: -50px;
/*    animation: fly 18s linear infinite;*/
    animation-delay: 4s;
}

.plane:nth-child(2) {
    top: 10%;
    left: -50px;
/*    animation: fly 17s linear infinite;*/
    animation-delay: 6s;
}

.plane:nth-child(3) {
    top: 40%;
    left: -50px;
/*    animation: fly 20s linear infinite;*/
    animation-delay: 11s;
}

.vehicle {
    position: absolute;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    animation: drive 35s linear infinite;
    bottom: 2px; /* 所有车辆在同一行 */
}

/* 摆渡车 */
.vehicle:nth-child(4) {
    left: -30px;
    animation-delay: 0s;
}


/* 货车 */
.vehicle:nth-child(5) {
    left: -30px;
    animation-delay: 8s;
}

/* 行李拖车 */
.vehicle:nth-child(6) {
    left: -30px;
    animation-delay: 16s;
}

/* 特殊车辆 */
.vehicle:nth-child(7) {
    left: -30px;
    animation-delay: 24s;
}

@keyframes fly {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(100vw) translateY(-20px);
    }
}

@keyframes drive {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100vw);
    }
}

.container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.left-panel {
    width: 400px;
    background-color: #272f33dd;
    color: white;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.left-panel::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.logo {
    margin-bottom: 30px;
    z-index: 1;
}

.logo i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #fff;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.logo p {
    font-size: 16px;
    opacity: 0.85;
}

.luggage-icon {
    font-size: 80px;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.features {
    text-align: left;
    margin-top: 30px;
    z-index: 1;
}

.features h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-item i {
    margin-right: 10px;
    color: #fff;
}

.right-panel {
    width: 400px;
    padding: 20px 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 0px;
}

.login-header h2 {
    color: #272f33;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 15px;
}

.login-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #777;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #272f33;
    border-bottom: 2px solid #272f33;
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.input-group {
    display: block !important;
    height: 79px;
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 4px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #272f33;
    box-shadow: 0 0 0 3px rgba(39, 47, 51, 0.1);
    outline: none;
}

.input-group .error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.captcha-group {
    display: flex;
    gap: 10px;
}

.captcha-group input {
    flex: 1;
}

.captcha-img {
    height: 48px;
    width: 100px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    color: #666;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.code-group {
    display: flex;
    gap: 10px;
}

.code-group input {
    flex: 1;
}

.get-code-btn {
    padding: 0 20px;
    background: #f5f7fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #272f33;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.get-code-btn:hover {
    background: #e9ecef;
}

.get-code-btn:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #272f33;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.forgot-password:hover {
    color: #4a575e;
    text-decoration: underline;
}

.login-button {
    height: 50px;
    width: 100%;
    padding: 14px;
    background: #272f33;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 25px;
}

.login-button:hover {
    background: #4a575e;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(39, 47, 51, 0.2);
}

.login-button:active {
    transform: translateY(0);
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.signup-link a {
    color: #272f33;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-panel {
        padding: 30px 25px;
    }
    
    .luggage-icon {
        font-size: 80px;
        margin: 20px 0;
    }
    
    .right-panel {
        padding: 30px 25px;
    }
    
    .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .code-group, .captcha-group {
        flex-direction: column;
    }
    
    .get-code-btn {
        padding: 12px;
    }
    
    .header-logo {
        top: 10px;
        left: 15px;
    }
    
    .header-logo h1 {
        font-size: 16px;
    }
    
    .footer {
        bottom: 10px;
        font-size: 10px;
    }
}

.code {
	width: 50%;
	height: 35px;
	border: 0;
	border-color: transparent;
	font-size: 16px;
	border-radius: 5px;
	padding-left: 8px;
	border-radius: 0;
}

.code_pic {
	display: block;
	width: 40%;
	height: 35px;
	background-color: #0089E5;
	color: #FFF;
	position: absolute;
	top: 0px;
	left: 60%;
	border-radius: 5px;
	text-align: center;
}

.btn-black {
  color: #eee;
  background-color: #333333;
  border-color: #222222;
}
.btn-black:focus,
.btn-black.focus {
  color: #fff !important;
  background-color: #222222;
  border-color: #000000;
}
.btn-black:hover {
  color: #fff !important;
  background-color: #222222;
  border-color: #000000;
}
.btn-black:active,
.btn-black.active,
.open > .dropdown-toggle.btn-black {
  color: #fff !important;
  background-color: #222222;
  border-color: #000000;
}
.btn-black:active:hover,
.btn-black.active:hover,
.open > .dropdown-toggle.btn-black:hover,
.btn-black:active:focus,
.btn-black.active:focus,
.open > .dropdown-toggle.btn-black:focus,
.btn-black:active.focus,
.btn-black.active.focus,
.open > .dropdown-toggle.btn-black.focus {
  color: #fff;
  background-color: #666666;
  border-color: #333333;
}
.btn-black:active,
.btn-black.active,
.open > .dropdown-toggle.btn-black {
  background-image: none;
}
.btn-black.disabled:hover,
.btn-black[disabled]:hover,
fieldset[disabled] .btn-black:hover,
.btn-black.disabled:focus,
.btn-black[disabled]:focus,
fieldset[disabled] .btn-black:focus,
.btn-black.disabled.focus,
.btn-black[disabled].focus,
fieldset[disabled] .btn-black.focus {
  background-color: #333333;
  border-color: #222222;
}
.btn-black .badge {
  color: #333333;
  background-color: #fff;
}