* {
    font-size: 12px !important;
    font-family: Tahoma, Verdana, 微软雅黑, 新宋体;
}


.head {
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 178px;
}

.head .tit {
    width: 1212px;
    height: 80px;
    margin: 0 auto;
}

.head .tit span {
    float: left;
    width: 172px;
    height: 80px;
    background: url("../image/logo.png") no-repeat center center;
    background-size: 80%;
}

.head .tit strong {
    float: left;
    width: 140px;
    height: 77px;
    padding-top: 3px;
    line-height: 80px;
    color: #666;
    font-size: 16px;
}

.login-container {
    display: flex;
    width: 915px;
    height: 350px;
    margin: 0 auto;
}

.login-logo {
    flex: 0 0 60%;
    width: 448px;
    height: 350px;
    background: url("../image/bg.png") no-repeat 0 0;
}

.login-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    border: 1px solid #dedede;
    gap: 30px;
}

.login-header {
    text-align: center;
}

.login-header h2 {
    font-size: 20px !important;
    font-weight: 700;
    color: #1f2937;
}

.u-login.login-active{
    display: flex;
}

.p-login.login-active {
    display: flex;
}

.p-no-code-login.login-active {
    display: flex;
}

/* 表单区域 */
.u-login {
    display: none;
    flex-direction: column;
    gap: 1.25rem; /* 输入框之间间距 */
}

.u-login-header h2 {
    font-size: 14px !important;
    padding: 12px 12px 12px 0px;
}

/* 统一 input 样式 */
.u-login input {
    width: 100%;
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 0.5rem;    /* rounded-lg */
    outline: none;
    transition: all 0.2s ease-in-out;
    font-size: 1rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.2rem;
}


.input-group input {
    width: 100%;
    padding: 12px 12px 12px 20px;
    border: 1px solid #e1e5eb;
    border-radius: 4px;
    font-size: 12px !important;
    transition: all 0.3s ease;
    outline: none;
    background-color: #fafafa;
    box-sizing: border-box; /* 确保 padding 不撑大宽度 */
}

.input-group input:hover {
    border-color: #c9cdd4;
}

.input-group input:focus {
    border-color: #fd6a03;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(77, 144, 254, 0.2);
}

.input-group input::placeholder {
    color: #aaa;
}


.u-login-btn {
    width: 100%;
    padding: 12px;
    background: #fd6a03;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px !important;
    cursor: pointer;
    transition: background 0.3s;
}

.p-login {
    display: none;
    flex-direction: column;
    gap: 1.25rem; /* 输入框之间间距 */
}

.p-login-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* 1. 下拉框容器：包裹展示区和ul列表 */
.p-login-dropdown {
    width: 320px;
    position: relative;
    cursor: pointer;
}

/* 2. 选中项展示区（替代 select 外观） */
.p-login-dropdown-trigger {
    padding: 12px 16px;
    border: 1px solid #e5e6eb;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
}
.p-login-dropdown-trigger:hover {
    border-color: #c9cdd4;
}
.p-login-dropdown-trigger.p-login-dropdown-active {
    border-color: #fd6a03;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

/* 3. 下拉箭头（美化，可选） */
.p-login-dropdown-arrow {
    width: 0px;
    height: 0px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #999;
    transition: transform 0.3s ease;
}
.p-login-dropdown-arrow.p-login-dropdown-active {
    transform: rotate(180deg); /* 展开时箭头反转 */
}

/* 4. ul 下拉选项列表（替代 select 的 options 集合） */
.p-login-dropdown-options {
    width: 100%;
    max-height: 0; /* 默认隐藏 */
    overflow-y: scroll;
    list-style: none;
    background-color: #fff;
    border: 1px solid #e5e6eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999; /* 确保悬浮在其他元素上方 */
    transition: max-height 0.3s ease, box-shadow 0.3s ease;
}
.p-login-dropdown-options.p-login-dropdown-active {
    max-height: 240px; /* 展开时显示最大高度，可滚动 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 5. li 选项（替代原生 option） */
.p-login-dropdown-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
/* li hover 效果（替代 option 悬浮） */
.p-login-dropdown-item:hover {
    background-color: #fff4e6;
    color: #fd6a03;
}
/* li 选中高亮效果（可选，标记当前选中项） */
.p-login-dropdown-item.p-login-dropdown-active {
    background-color: #fd6a03;
    color: #fff;
}

/* 6. 空数据提示（可选，提升用户体验） */
.p-login-dropdown-empty {
    padding: 12px 16px;
    font-size: 14px;
    color: #999;
    text-align: center;
}


.p-login-code-wrapper {
    display: flex;
    justify-content: space-between;
}


.p-login-code-wrapper .p-login-code {
    padding: 10px 10px 10px 20px;
    border: 1px solid #e1e5eb;
    font-size: 12px !important;
    transition: all 0.3s ease;
    outline: none;
    background-color: #fafafa;
    box-sizing: border-box; /* 确保 padding 不撑大宽度 */
}

.p-login-code-wrapper .p-login-code-btn {
    padding: 10px 10px 10px 10px;
    border: 1px solid #e1e5eb;
    font-size: 12px !important;
    transition: all 0.3s ease;
    outline: none;
    background-color: #fafafa;
    box-sizing: border-box;
    cursor: pointer;
}

.p-login-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    cursor: pointer;
}

.p-login-btn {
    width: 100%;
    padding: 12px;
    background: #fd6a03;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px !important;
    cursor: pointer;
    transition: background 0.3s;
}

.p-back-u-btn:hover {
    color: #fd6a03;
}
.p-no-code-btn:hover {
    color: #fd6a03;
}




.p-no-code-login {
    display: none;
    flex-direction: column;
    gap: 1.25rem; /* 输入框之间间距 */
}

.p-no-code-login-wrapper {
    display: flex;
    flex-direction: column;
}
.p-no-code-login-wrapper .label {
    margin-bottom: 12px;
}

.cur-login-number {
    text-align: center;
    font-weight: bold;
    font-size: 14px !important;
}
.p-no-code-login-btn {
    width: 100%;
    padding: 12px;
    background: #fd6a03;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px !important;
    cursor: pointer;
    transition: background 0.3s;
}
.p-no-code-back-p-btn {
    width: 100%;
    padding: 12px;
    color: black;
    background-color: white;
    border: 1px solid #e3e6e9;;
    border-radius: 4px;
    font-size: 14px !important;
    cursor: pointer;
    transition: background 0.3s;
}
