/* 自定义登录页面样式 - OShopen风格 */

/* 引入 DingTalkSans 字体 */
@font-face {
    font-family: "DingTalkSans";
    src: url("/my_common_pages/static/fonts/DingTalkSans.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

.oe_website_login_container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://oss.oshopen.cn/imgs/formLgBg/bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.login_wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_box {
    width: 488px;
    min-height: 450px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
    padding: 30px 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Logo区域 */
.login-header {
    width: 90px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.login-header .logo_circle {
    display: none !important;
}

.login-header .logo {
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.login-header .login-title {
    font-size: 24px;
    font-weight: 400;
    font-family: "DingTalkSans";
    color: rgba(51, 51, 51, 1);
    margin: 0;
}

.login_title {
    text-align: center;
    margin-bottom: 24px;
    margin-top: 0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 500;
}

.register_link {
    text-align: center;
    margin-bottom: 32px;
    font-size: 14px;
    color: #666;
}

.register_link a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.register_link a:hover {
    text-decoration: underline;
}

.form_group {
    margin-bottom: 20px;
}

.form_label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form_input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s;
    background: #fafafa;
}

.form_input:focus {
    outline: none;
    border-color: #4a90e2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.remember_me {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}

.remember_me input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form_actions {
    margin-top: 0;
}

.btn_login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6bb6ff 0%, #4a90e2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn_login:hover {
    background: linear-gradient(135deg, #5aa5ef 0%, #3a80d2 100%);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
    transform: translateY(-1px);
}

.btn_login:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.terms_text {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

.terms_text a {
    color: #4a90e2;
    text-decoration: none;
}

.terms_text a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    font-size: 14px;
}
