/*!
 * CSS 文件名: style.css
 * 版本: 1.0.0
 * 作者: IsaBai (baixiaokang@outlook.com)
 * 项目: WCBP数字化管理系统
 * 描述: WCBP数字化管理系统[前端]的主要样式文件，包含了布局、颜色方案等全局样式。
 *
 * 修改历史:
 *   v1.0.0 (2026-04-17): 初始版本，完成基础布局和色调配置
 *
 * 版权所有 (c) 2026 IsaBai 保留所有权利。
 *
 * 使用许可：此文件仅用于WCBP数字化管理系统内部使用，不得用于商业用途。
 */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #EDEDED;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    height: 80px;
    background: #16b777;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

header nav {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav button{
    display: inline-block;
    vertical-align: middle;
    height: 38px;
    line-height: 36px;
    border: 1px solid transparent;
    padding: 0 18px;
    background-color: #FFFFFF;
    color: #16b777;
    white-space: nowrap;
    text-align: center;
    font-size: 16px;
    border-radius: 100px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header img {
    margin: 10px;
    height: 60px;
    display: block;
}

.banner {
    background: linear-gradient(135deg, #16b777, #129c65);
    color: #fff;
    padding: 50px 20px;
}

.banner .inner {
    max-width: 1200px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.banner p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.8;
}

.main {
    max-width: 1600px;
    margin: 20px auto 50px;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.card-header h2 {
    font-size: 22px;
    color: #222;
}

.card-header p {
    margin-top: 8px;
    font-size: 14px;
    color: #888;
}

.info-list {
    padding: 10px 0;
}

.info-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 18px 24px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    background: #f8fffc;
}

.info-label {
    width: 180px;
    min-width: 180px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    line-height: 1.8;
}

.info-value {
    flex: 1;
    padding-right: 90px;
    font-size: 15px;
    color: #222;
    line-height: 1.8;
    word-break: break-all;
}

.copy-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: #16b777;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.info-item:hover .copy-btn {
    opacity: 1;
    visibility: visible;
}

.copy-btn:hover {
    background: #129c65;
}

.copy-btn.copied {
    background: #ff9800;
}



.toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .banner {
        padding: 35px 15px;
    }

    .banner h1 {
        font-size: 24px;
    }

    .main {
        margin-top: 20px;
        padding: 0 12px;
    }

    .info-item {
        flex-direction: column;
        padding: 16px;
    }

    .info-label {
        width: 100%;
        min-width: auto;
        margin-bottom: 6px;
    }

    .info-value {
        width: 100%;
        padding-right: 0;
    }

    .copy-btn {
        position: static;
        transform: none;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        align-self: flex-start;
    }

}


/********** Auth CSS START **********/
.login {
    max-width: 1440px;
    min-height: calc(100vh - 80px - 60px);
    margin: 60px auto 0px auto;
    padding: 24px 12px 0;
    display: flex;
}

.auth-left,
.auth-right {
    min-height: 720px;
}

.auth-left {
    position: relative;
    width: calc(100% - 420px);
    overflow: hidden;
    border-radius: 8px 0 0 8px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #0f8d64 0%, #16b777 55%, #1ec58a 100%);
    color: #FFFFFF;
}

.auth-left::before,
.auth-left::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.auth-left::before {
    top: -60px;
    right: 80px;
    width: 240px;
    height: 240px;
}

.auth-left::after {
    left: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
}

.auth-left-center{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80%;
    margin: 30px;
}

.logo-icon{
    width: 260px;
    height: 260px;
    margin-bottom: 30px;
}

.logo-title{
    height: 60px;
}

.logo-admin-title{
    font-size: 40px;
}


.auth-right {
    width: 420px;
    padding: 30px;
    border-radius: 0 8px 8px 0;
    background: #FFFFFF;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.auth-right-center {
    display: flex;
    align-items: center;
    height: 100%;
}

.auth-panel {
    width: 100%;
}

.auth-eyebrow {
    margin-bottom: 12px;
    color: #16b777;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auth-title {
    margin-bottom: 30px;
    color: #171717;
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
}

.auth-subtitle {
    margin-bottom: 26px;
    color: #7b7b7b;
    font-size: 14px;
    line-height: 1.8;
}

.auth-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

.auth-alert {
    min-height: 24px;
    margin-bottom: 18px;
    padding: 0;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: transparent;
    transition: all 0.2s ease;
}

.auth-alert.is-error,
.auth-alert.is-success {
    padding: 10px 14px;
}

.auth-alert.is-error {
    background: #fff4f2;
    color: #d4380d;
}

.auth-alert.is-success {
    background: #f3fff7;
    color: #0f8d64;
}

.auth-submit {
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #16b777 0%, #129c65 100%);
    font-size: 16px;
    font-weight: 700;
}

.auth-submit[disabled] {
    opacity: 0.75;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    color: #666666;
    font-size: 14px;
}

.auth-links a {
    color: #666666;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: #16b777;
}

.captcha-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e8ece9;
    border-radius: 5px;
    background: #f7faf8;
    cursor: pointer;
}

.captcha-box:disabled {
    cursor: wait;
}

.captcha-box span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8a84;
    font-size: 12px;
}

.captcha-box img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/********** Auth CSS END ************/

@media (max-width: 768px) {
    .login {
        min-height: auto;
        padding-top: 16px;
    }

    .auth-left,
    .auth-right {
        min-height: auto;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        width: 100%;
        padding: 22px 18px;
        border-radius: 8px;
    }

    .auth-title {
        font-size: 26px;
    }

    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

/********** Footer CSS START ********/
footer {
    padding: 10px 0;
    color: #090909;
    font-size: 14px;
    text-align: center;
}
/********** Footer CSS END **********/
