/* ============================
   Login Page - Orange Theme
   ============================ */

/* 全局背景：深色城市夜景 + 橙色渐变遮罩 */
.login-wrapper {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: url(../../common/images/500326378.png) no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景遮罩层：橙色调渐变（右上角深暖橙，向左下渐浅） */
.login-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(200, 80, 0, 0.65) 0%,
        rgba(255, 130, 30, 0.50) 45%,
        rgba(255, 200, 100, 0.30) 100%);
    z-index: 0;
}

/* 登录卡片容器 */
.container-bg {
    position: relative;
    z-index: 1;
    width: 900px;
    height: 520px;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    /* 不再使用旧的 bg.png 背景图 */
    background: transparent;
}

/* ---- 左侧品牌区 ---- */
.login-left-panel {
    flex: 0 0 400px;
    background: linear-gradient(160deg,
        #FF6B00 0%,
        #FF9A4D 50%,
        #FFB877 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

/* 左侧装饰圆形 */
.login-left-panel::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    top: -80px;
    left: -80px;
}

.login-left-panel::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    bottom: -60px;
    right: -60px;
}

.login-left-panel .slogan {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    letter-spacing: 4px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.login-left-panel .slogan span {
    display: block;
}

.login-left-panel .sub-slogan {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ---- 右侧表单区 ---- */
.login-container-wrapper {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 50px;
    box-sizing: border-box;
}

/* Logo */
.login-container-wrapper > .logo {
    width: 180px;
    height: 50px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin: 0 auto 32px;
}

/* 表单标题 */
.login-container-wrapper .form-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 28px;
}

.login-container-wrapper .form-title span {
    color: #FF7200;
}

/* 输入区 */
.login-container-wrapper > .input-wrapper {
    width: 100%;
    margin-bottom: 4px;
}

.login-container-wrapper > .input-wrapper > .iw_title {
    font-size: 13px;
    color: #666;
    margin-left: 4px;
    margin-bottom: 8px;
    font-weight: 500;
}

.login-container-wrapper > .input-wrapper > .input-box {
    width: 100%;
    height: 48px;
    background: #FFF8F4;
    border: 1.5px solid #FFD0A8;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-container-wrapper > .input-wrapper > .input-box:focus-within {
    border-color: #FF7200;
    box-shadow: 0 0 0 3px rgba(255, 114, 0, 0.12);
    background: #fff;
}

.login-container-wrapper > .input-wrapper > .input-box > .ib_icon {
    width: 22px;
    height: 22px;
    background: url(../../common/images/icon1.png) no-repeat center;
    background-size: contain;
    flex-shrink: 0;
    opacity: 0.7;
}

.login-container-wrapper > .input-wrapper > .input-box input {
    flex: 1;
    margin-left: 10px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
}

.login-container-wrapper > .input-wrapper > .input-box input::placeholder {
    color: #bbb;
    font-size: 13px;
}

.login-container-wrapper > .input-wrapper:nth-child(3) > .input-box > .ib_icon {
    background-image: url(../../common/images/icon2.png);
}

/* 登录按钮 */
.button {
    display: block;
    cursor: pointer;
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #FF6B00 0%, #FF9A4D 100%);
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 48px;
    margin-top: 8px;
    margin-bottom: 14px;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.38);
    transition: all 0.2s;
    letter-spacing: 2px;
    user-select: none;
}

.button:hover {
    background: linear-gradient(90deg, #e05e00 0%, #FF7200 100%);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.48);
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* 其他方式区 */
.other-way {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    margin-top: 2px;
}

.other-way a {
    font-size: 13px;
    color: #FF7200;
    transition: color 0.2s;
}

.other-way a:hover {
    color: #e05e00;
    text-decoration: underline;
}

/* 页脚 */
.footer {
    text-align: center;
    position: fixed;
    bottom: 16px;
    width: 100%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    line-height: 20px;
    z-index: 5;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
}

.footer a:hover {
    color: #FFB877;
}
