/* custom.css */

.layui-layout-right .layui-nav-item {
    margin: 0 10px;
}
.layui-layout-right .layui-nav-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}
.admin-user-info {
    display: flex;
    align-items: center;
    padding-right: 15px !important;
}
.admin-nickname {
    margin-left: 8px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.layui-nav-child dd a {
    display: flex !important;
    align-items: center;
    padding: 8px 15px !important;
}
.layui-nav-child dd a i {
    margin-right: 8px;
    font-size: 16px;
}
.layui-nav-child dd a:hover {
    background-color: #f2f2f2;
}
.fullscreen-btn {
    font-size: 18px;
    padding: 0 10px !important;
}


body.layui-layout-body-login {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    animation: gradientAnimation 15s ease infinite;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.login-container {
    width: 400px; /* 固定登录框的宽度 */
    padding: 30px; /* 增加内边距，使内容看起来更加舒适 */
    background-color: rgba(255, 255, 255, 0.8); /* 提高不透明度 */
    border-radius: 10px; /* 增加圆角效果 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* 增强阴影效果 */
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2); /* 加强悬停时的阴影效果 */
}

.login-title {
    text-align: center;
    margin-bottom: 30px; /* 增加底部外边距 */
    color: #333;
    font-size: 28px; /* 增加字体大小 */
    font-weight: bold;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px; /* 增加底部外边距 */
}

.login-logo img {
    max-width: 100%;
    height: auto;
}

.captcha-image {
    vertical-align: middle;
    cursor: pointer;
    width: 120px; /* 调整验证码图片的宽度 */
    height: 40px; /* 调整验证码图片的高度 */
}

.layui-footer {
    margin-top: auto; /* 推动页脚到容器底部 */
    text-align: center;
    padding: 15px 0; /* 增加顶部和底部内边距 */
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    border-top: 1px solid #ddd;
}

/* 新增样式 */
.login-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.captcha-input {
    width: 130px; /* 调整验证码输入框的宽度 */
}

.captcha-group {
    display: flex;
    align-items: center;
}

.captcha-image {
    vertical-align: middle;
    cursor: pointer;
    width: 100px;
    height: 38px;
    margin-left: 10px;
}

.login-container .layui-input{
    max-width: 240px;
}

.blue-background {
    background-color: #333; /* 相同的背景颜色 */
    color: #fff; /* 文字颜色 */
    padding: 10px; /* 内边距 */
}

.blue-background a {
    color: #fff; /* 链接文字颜色 */
}

.blue-background a:hover {
    color: #1e9fff; /* 鼠标悬停时的文字颜色 */
}

.layui-logo img {
    width: 200px;
    height: 50px;
}

/* admin/default/css/custom.css */
.header-blue {
    background-color: #1e9fff !important; /* 蓝色背景 */
    color: #FFFFFF; /* 白色文字 */
}
.custom-sidebar {
    background-color: #007BFF!important; /* 蓝色背景 */
    color: #FFFFFF; /* 白色文字 */
}

/* 移除已迁移到 theme.css 的样式 */

.layui-btn {
    border-radius: 5px;
}

.language-manage .page-header {
    height: auto;
    line-height: normal;
    padding: 16px 20px;
    border-bottom: 1px solid #f6f6f6;
}

.language-manage .header-content {
    display: flex;
    align-items: center;
}

.language-manage .header-dot {
    margin-right: 12px;
    height: 12px;
    width: 12px;
}

.language-manage .header-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.language-manage .header-desc {
    font-size: 13px;
    color: #999;
}

.language-manage .search-form {
    background: #f8f8f8;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.language-manage .form-label {
    width: 85px;
}

.language-manage .form-input {
    width: 180px;
}

.language-manage .form-item {
    margin-right: 15px;
}

.language-manage .btn-container {
    margin-bottom: 15px;
}

.language-manage .custom-btn {
    height: 36px;
    line-height: 36px;
    padding: 0 22px;
    border-radius: 4px;
}

.language-manage .custom-btn .layui-icon {
    font-size: 15px;
}

.language-manage .search-btn {
    height: 34px;
    line-height: 34px;
    padding: 0 20px;
    border-radius: 4px;
}

.language-manage .search-btn .layui-icon {
    font-size: 14px;
}

.language-manage .table-btn {
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    border-radius: 3px;
}

.language-manage .table-btn .layui-icon {
    font-size: 14px;
}

.language-manage .sort-input {
    height: 26px;
    width: 60px;
    text-align: center;
}

/*调整默认的样式*/
 .layui-layer-content{border-radius: 12px!important;}
 .layui-layer-content iframe {border-radius: 12px!important;}
 .layui-layer{border-radius: 12px!important;}

/* 个人资料页面样式 */
.profile-form {
    margin: 20px 30px 0 0;
}

.profile-form .layui-form-item .layui-input-block {
    max-width: 500px;
}

.profile-avatar {
    margin: 10px 0;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.profile-upload-list {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.profile-upload-text {
    margin-left: 10px;
    color: #999;
}