.container {
    max-width: 1920px !important;
}
.navbar {
    padding: 40px 0;
    background-color: #fff;
    width: 100%;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-container img {
    height: 100px;
}
.logo-text {
    font-size: 24px;
    margin-left: 15px;
    color: #000;
    text-decoration: none;
    font-weight: 200;
}
.search-box {
    position: relative;
    width: 20%;
    margin-left: auto;
    margin-top: 10px;
    margin-right: 30px;
}
.search-language-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}
.register-wrapper{
    margin: 20px auto !important;
}
@media (max-width: 992px) {
    .search-box {
        width: 80%;
        margin: 30px auto;
    }
}
.search-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #000;
    padding: 0px 40px 10px 0px;
    outline: none;
    font-size: 22px;
    font-weight: 200;
    line-height: 1;
    display: block;
}
.search-input::placeholder {
    color: #000;
    opacity: 1;
}
.search-input:-ms-input-placeholder {
    color: #000;
    opacity: 1;
}
.search-input::-ms-input-placeholder {
    color: #000;
    opacity: 1;
}
.search-icon {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transform: none;
}
.language-login {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 0;
    font-size: 20px;
    text-align: right;
    line-height: 1;
    color: #000;
}

.language {
    font-weight: 200;
    font-size: 20px;
    vertical-align: middle;
    color: #000;
}
@media (max-width: 768px) {
    .navbar {
        padding: 15px 10px;
    }
    .navbar > .container {
        padding: 0;
    }
   
    .row {
        margin: 0;
        flex-wrap: nowrap;
    }
    .col-12 {
        width: auto;
        padding: 0;
        flex: none;
    }
    .logo-container {
        display: flex;
        align-items: center;
    }
    .logo-container img {
        height: 45px;
    }
    .logo-text {
        font-size: 12px;
        margin-left: 8px;
    }
    .search-box {
        width: 85px;
        margin: 0;
        margin-right: 10px;
        display: flex;
        align-items: center;
        margin-left: 70px;
    }
    .search-input {
        font-size: 12px;
        padding-right: 20px;
        padding-bottom: 5px;
        margin-top: 0;
    }
    .search-icon {
        width: 16px;
        height: 16px;
        right: 0;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    .language-login {
        margin: 0;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }
    .language-selector {
        display: none;
    }
}
/* 登录页面样式 */
.login-page {
    min-height: 74vh;
    position: relative;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}




.login-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../image/bg1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 1; /* 确保背景图可见 */
}

.login-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}



/* 页脚样式 */
.footer {
    position: relative;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.footer-ads {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-ads img {
    max-width: 150px;
    height: auto;
}

.footer-text-section {
    color: #666;
    font-size: 14px;
    text-align: center;
}

.footer-text-section p {
    margin: 5px 0;
}

/* 移动端样式 */
@media (max-width: 768px) {
 
    .navbar {
        display: none !important;
    }

    .login-bg {
        display: block !important;
        opacity: 1 !important;
    }

}

/* 注册表单样式 */
.register-wrapper {
    position: relative;
    z-index: 3;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.register-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.register-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.register-subtitle {
    color: #666;
    font-size: 1rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
    gap: 1rem;
}

.form-col {
    flex: 1;
    min-width: 300px;
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control-icon {
    position: absolute;
    left: 1rem;
    color: #666;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #d95517;
    box-shadow: 0 0 0 2px rgba(217, 85, 23, 0.1);
    outline: none;
}

.password-strength {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.strength-label {
    font-size: 0.8rem;
    color: #666;
    margin-right: 0.75rem;
}

.strength-bars {
    display: flex;
    gap: 4px;
}

.strength-bar {
    width: 30px;
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.strength-weak .strength-bar:nth-child(1) {
    background-color: #ff4d4f;
}

.strength-medium .strength-bar:nth-child(1),
.strength-medium .strength-bar:nth-child(2) {
    background-color: #faad14;
}

.strength-strong .strength-bar {
    background-color: #52c41a;
}

.agreement {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-direction: column;
}

.agreement-text {
    font-size: 0.9rem;
    color: #666;
}

.agreement-text a {
    color: #d95517;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agreement-text a:hover {
    color: #c24813;
    text-decoration: underline;
}

.register-submit {
    width: 100%;
    padding: 1rem;
    background-color: #d95517;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: auto;
    display: block;
    text-align: center;
    width: 50%;
}

.register-submit:hover {
    background-color: #c24813;
}

.login-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.login-link a {
    color: #d95517;
    text-decoration: none;
    margin-left: 0.25rem;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #c24813;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .register-wrapper {
        width: calc(100% - 2rem);
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-col {
        flex: 100%;
        padding: 0;
    }

    .form-row {
        margin: 0;
    }

    .register-title {
        font-size: 1.5rem;
    }

    .agreement {
        flex-direction: column;
        text-align: center;
    }
}
