html, body {
    /* CSS3 抗锯齿形 让文字显示的更加清晰 */
    -webkit-font-smoothing: antialiased;
    background-color: #fbfbfd;
/ / #f3f5f7
}

.style-font-blue {
    color: #1E9FFF !important;
}

.style-font-red {
    color: #ff5722 !important;
}


header {
    background-color: #fff !important;
}


.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo {
    line-height: 45px;
    width: 160px;
    position: unset;
    left: unset;
    top: unset;
}

.logo a {
    display: block;
    background: url("../../images/new_logo.33617a89f6be.png") no-repeat center;
    font-size: 0;
    background-size: contain;
}

#header .title h2 {
    margin-left: 15px;
    font-size: 18px;
}

#user-box {
    position: absolute;
    right: 0;
}

/*footer区域*/

/* 网站尾部 */

#footer {
    background-color: #282828;
    margin-top: auto;
}


#footer dl dt {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 36px;
}

#footer dl dd {
    line-height: 30px;
    font-size: 14px;
}

#footer dl dd a, #footer dl dd p {
    color: #666;
}

#footer dl dd a:hover {
    color: #00a4ff;
}

#footer .footer-service {
    padding-top: 30px;
    padding-bottom: 30px;
}

#footer .copyright {
    text-align: center;
    padding: 30px 30px;
    border-top: 1px solid #666;

}

#footer .copyright p {
    padding: 3px;
    color: #666;
}

#footer .copyright a {
    padding: 3px;
    color: #666;
}

#footer .copyright a:hover {
    color: #00a4ff;
}

#footer .copyright a {
    display: inline-block;
    padding: 3px;
    text-align: center;
}


.layui-breadcrumb a {
    color: #333 !important;
}

/*面包屑hover颜色*/
.layui-breadcrumb a:hover {
    color: #1E9FFF !important;
}


@media (max-width: 768px) {
    .layui-layer {
        width: 90% !important;
    }

}

@media screen and (max-width: 768px) {
    .banner {
        height: 280px !important;
    }

    .banner .banner-item {
        height: 280px !important;
    }

    .banner #banner-box {
        height: 280px !important;
    }

    .banner .banner-item h4 {
        font-size: 22px !important;
    }

}


.left-menu {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f0f2f5;
    flex-shrink: 0;
    padding: 0 0 8px 0;
    border-radius: 24px;
}

.left-menu .user-profile {
    padding: 28px 20px 18px 20px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.left-menu .user-name {
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.left-menu .user-email {
    font-size: 13px;
    color: #8c8c8c;
    padding-left: 2px;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 4px;
}

.left-menu .user-company {
    font-size: 13px;
    color: #8c8c8c;
    padding-left: 2px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.left-menu .user-extra {
    font-size: 12px;
    color: #b0b0b0;
    margin-top: 6px;
    border-top: 1px dashed #eceff3;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.left-menu .menu-list {
    padding: 16px 12px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.left-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #3c3c3c;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.left-menu .menu-item.active {
    background: #f6f9ff !important;
    color: #1e9fff !important;
    font-weight: 500 !important;
}

.left-menu .menu-item:hover {
    background: #f6f9ff;
    color: #1a1a1a;
}

.left-menu .logout-section {
    margin-top: auto;
    padding: 8px 12px 18px 12px;
    border-top: 1px solid #f0f2f5;
}

.left-menu .logout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #d9534f;
    font-size: 15px;
    transition: background 0.2s;
    cursor: default;
    text-decoration: none;
}

.left-menu .logout-item:hover {
    background: #fff5f5;
}


/* 头像上传 */

/* ===== 主布局：flex 左右分栏 ===== */
.crop-main {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ===== 左侧：裁剪区域 ===== */
.crop-left {
    flex: 1;
    min-width: 0; /* 防止 flex 溢出 */
}

.cropper-box {
    width: 100%;
    background: #f7f9fc;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e8ecf1;
}

.cropper-box img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* ===== 右侧：预览区域 ===== */
.crop-right {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-top: 10px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-item .size-label {
    font-size: 13px;
    color: #86909c;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* cropper.js 提供的预览容器样式 */
.img-preview {
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #e8ecf1;
    background: #fafafa;
    flex-shrink: 0;
}

.img-preview.w100 {
    width: 100px;
    height: 100px;
}

.img-preview.w50 {
    width: 50px;
    height: 50px;
}

/* 预览容器内的图片由 cropper 自动管理 */
.img-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 底部操作栏 ===== */
.crop-actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.crop-actions .file-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.crop-actions .file-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.crop-actions .hint-text {
    font-size: 13px;
    color: #b0b8c4;
    /*margin-left: 8px;*/
}

.crop-actions .hint-text i {
    font-style: normal;
    background: #f0f0f0;
    padding: 0 8px;
    border-radius: 4px;
    color: #86909c;
}

.crop-actions .spacer {
    flex: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .crop-main {
        flex-direction: column;
    }

    .crop-right {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
        padding-top: 0;
    }

    .crop-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .crop-actions .spacer {
        display: none;
    }

    .crop-actions .hint-text {
        text-align: center;
        margin-left: 0;
    }
}

/* 定制主题 */

.layui-breadcrumb a:hover {
    color: #1E9FFF !important;
}

.layui-form-select .layui-input, .layui-input {
    border-radius: 10px;
}


.layui-input:focus, .layui-textarea:focus {
    border-color: #1e9fff !important;
    box-shadow: 0 0 0 3px rgba(22, 183, 119, .08);
}

.layui-form-danger + .layui-form-select .layui-input, .layui-form-danger:focus {
    border-color: #ff5722 !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, .08);
}


.layui-form-select dl dd.layui-this {
    color: #1e9fff;
}

