* {margin: 0;padding: 0;box-sizing: border-box;font-family: "微软雅黑", sans-serif;}
body {width: 100%;max-width: 1200px;margin: 0 auto;background-color: #f5f5f5;}

.header {width: 100%;background-color: #fff;padding: 15px 0;border-bottom: 2px solid #333;}
.header-top {display: flex;justify-content: space-between;align-items: center;padding: 0 20px;margin-bottom: 10px;}

.logo img {width: 70px;height: 70px;}

.search-box {flex: 1;max-width: 500px;margin: 0 auto;display: flex;}
.search-box input {width: calc(100% - 80px);height: 38px;padding: 0 15px;border: 2px solid #d93025;border-right: none;
border-radius: 4px 0 0 4px;font-size: 14px;outline: none;}

.search-box input::placeholder {color: #999;}
.search-btn {width: 80px;height: 38px;background-color: #d93025;color: #fff;border: none;border-radius: 0 4px 4px 0;cursor: pointer;
font-size: 14px;display: flex;align-items: center;justify-content: center;gap: 4px;}
.search-btn:hover {background-color: #c5281e;}

.nav-bar {background-color: #333;}
.nav-bar ul {display: flex;list-style: none;padding: 0 20px;justify-content: center;}
.nav-bar ul li a {display: block;color: #fff;text-decoration: none;padding: 12px 25px;font-size: 14px;}
.nav-bar ul li a:hover {background-color: #d93025;}

.main-container {display: flex;justify-content: center;padding: 50px 0;}

.auth-box {width: 100%;max-width: 400px;background-color: #fff;border: 1px solid #e0e0e0;border-radius: 8px;padding: 25px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);}
.auth-tabs {display: flex;margin-bottom: 25px;border-bottom: 1px solid #e0e0e0;}

.tab-btn {flex: 1;padding: 10px 0;background: none;border: none;font-size: 16px;font-weight: bold;color: #666;
cursor: pointer;position: relative;}
.tab-btn.active {color: #d93025;}
.tab-btn.active::after {content: '';position: absolute;bottom: -1px;left: 0;width: 100%;height: 2px;background-color: #d93025;}

.auth-form {display: none;}
.auth-form.active {display: block;}

.form-group {margin-bottom: 20px;}
.form-group label {display: block;margin-bottom: 8px;font-size: 14px;color: #333;}
.form-group input {width: 100%;height: 42px;padding: 0 15px;border: 1px solid #ddd;border-radius: 4px;
font-size: 14px; outline: none;}
.form-group input:focus {border-color: #d93025;}
.form-options {display: flex;justify-content: space-between;align-items: center;margin-bottom: 25px;font-size: 13px;}
.forgot-pwd {color: #d93025;text-decoration: none;}
.forgot-pwd:hover {text-decoration: underline;}
.form-options label a {color: #d93025;text-decoration: none;}

.submit-btn {width: 100%;height: 42px;background-color: #d93025;color: #fff;border: none;border-radius: 4px;font-size: 16px;
font-weight: bold;cursor: pointer;margin-bottom: 20px;}
.submit-btn:hover {background-color: #c5281e;}

.other-login {text-align: center;}
.other-login p {font-size: 13px;color: #999;margin-bottom: 15px;position: relative;}
.other-login p::before,
.other-login p::after {content: '';position: absolute;top: 50%;width: 30%;height: 1px;background-color: #eee;}
.other-login p::before {left: 0;}
.other-login p::after { right: 0;}
.login-icons { display: flex; justify-content: center;gap: 20px;}

.icon {width: 40px;height: 40px;background-color: #f5f5f5;display: flex;align-items: center;justify-content: center;
font-size: 18px;cursor: pointer;transition: all 0.3s;}
.icon img {width: 30px;height:30px;}
.icon:hover {background-color: #d93025;color: #fff;}

.footer {width: 100%;background-color: #333;padding: 15px 0;margin-top: 20px;color: #ccc;}
.footer-nav {display: flex;justify-content: center;gap: 20px;margin-bottom: 15px;}
.footer-nav a {color: #ccc;text-decoration: none;font-size: 14px;}
.footer-nav a:hover {color: #fff;}
.contact-info {text-align: center;font-size: 14px;line-height: 1.6;}