* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

body {
    background: linear-gradient(135deg,
            rgba(26, 95, 35, 0.9) 0%,
            rgba(45, 140, 61, 0.85) 25%,
            rgba(63, 163, 77, 0.8) 50%,
            rgba(45, 140, 61, 0.85) 75%,
            rgba(26, 95, 35, 0.9) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* 背景装饰元素 */
.bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 15s infinite ease-in-out;
}

.decoration:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.decoration:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 15%;
    animation-delay: 10s;
}

.decoration:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 20%;
    right: 15%;
    animation-delay: 7s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* 主登录容器 - 突出右侧 */
.login-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 1;
    transition: all 0.5s ease;
    animation: containerAppear 1s ease-out;
}

@keyframes containerAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 左侧信息区域 - 稍微弱化 */
.info-section {
    flex: 0.9;
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(26, 95, 35, 0.25) 0%,
            rgba(45, 140, 61, 0.2) 50%,
            rgba(63, 163, 77, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: -1;
}

/* 修改logo布局为左右排列 */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.org-logo,
.organic-logo {
    width: 180px;
    height: auto;
    filter:
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25)) brightness(1.1);
    transition: all 0.5s ease;
    background-color: #ffffff;
    border-radius: 100%;
    position: relative;
    overflow: hidden;
}

.org-logo {
    animation: logoFloat 6s ease-in-out infinite;
}

.organic-logo {
    animation: logoFloat 6s ease-in-out infinite 0.5s;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.org-logo:hover,
.organic-logo:hover {
    transform: scale(1.08);
    filter:
        drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35)) brightness(1.2);
}

.system-title {
    font-size: 2.2rem;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(255, 255, 255, 0.1);
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.system-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 3px;
}

.system-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 500px;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 600px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 20px 15px;
    width: calc(33.333% - 20px);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-item:hover::before {
    opacity: 0.7;
}

.feature-icon {
    font-size: 2.4rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
}

.feature-text {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* 右侧登录表单区域 - 突出显示 */
.login-section {
    flex: 1.1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        -10px 0 30px rgba(0, 0, 0, 0.1),
        inset 1px 0 0 rgba(255, 255, 255, 0.2);
}

.login-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 140, 61, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.login-header {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1a5f23, #3fa34d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(26, 95, 35, 0.1);
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, #1a5f23, #3fa34d);
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(45, 140, 61, 0.3);
}

.login-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 30px;
    font-weight: 400;
    opacity: 0.9;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
    z-index: 1;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #444;
    font-size: 1.4rem;
    padding-left: 5px;
}

.input-group label i {
    color: #2d8c3d;
    font-size: 1.4rem;
}

.input-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #2d8c3d;
    box-shadow:
        0 8px 25px rgba(45, 140, 61, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.input-group input {
    width: 100%;
    padding: 20px 80px 20px 25px;
    border: none;
    background: rgba(255, 255, 255, 0.98);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #333;
    outline: none;
    border-radius: 15px;
}

.input-group input:focus {
    background: white;
}

/* 输入框图标装饰 */
.input-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 90%;
    margin: auto;
    height: 3px;
    background: linear-gradient(to right, #1a5f23, #3fa34d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    overflow: hidden;
}

.input-group:focus-within::after {
    transform: scaleX(1);
}

/* 输入框按钮 */
.input-actions {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    height: 28px;
}

.input-action-btn {
    background: rgba(45, 140, 61, 0.08);
    border: none;
    color: #2d8c3d;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
}

.input-action-btn:hover {
    background: rgba(45, 140, 61, 0.15);
    color: #1a5f23;
    transform: scale(1.1);
}

.input-action-btn:active {
    transform: scale(0.95);
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    z-index: 1;
}

.btn {
    padding: 18px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.btn:hover::before {
    left: 100%;
}

/* 主登录按钮 - 突出显示 */
.btn-login {
    background: linear-gradient(135deg, #2d8c3d 0%, #3fa34d 50%, #2d8c3d 100%);
    color: white;
    box-shadow:
        0 12px 30px rgba(45, 140, 61, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
    font-size: 1.2rem;
    padding: 20px;
    border: none;
}

.btn-login:hover {
    background: linear-gradient(135deg, #1a5f23 0%, #2d8c3d 50%, #1a5f23 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 18px 40px rgba(45, 140, 61, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-login:active {
    transform: translateY(-2px) scale(1);
}

/* 有机码查询按钮 - 弱化 */
.btn-trace {
    background: rgba(255, 255, 255, 0.19);
    color: #a5a0a0;
    border: 1px solid rgba(45, 140, 61, 0.05);
    position: relative;
    overflow: hidden;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-trace:hover {
    background: rgba(255, 255, 255, 1);
    color: #2d8c3d;
    border-color: rgba(45, 140, 61, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 官方链接 - 弱化 */
.official-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.official-link a {
    color: #888;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.02);
}

.official-link a:hover {
    color: #2d8c3d;
    background: rgba(45, 140, 61, 0.05);
    transform: translateY(0);
    box-shadow: none;
}

.footer {
    margin-top: 25px;
    text-align: center;
    color: #aaa;
    font-size: 0.85rem;
    z-index: 1;
    opacity: 0.8;
}

/* 错误信息样式 */
.error-message {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(231, 76, 60, 0.05);
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.error-message.show {
    display: flex;
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* 通知组件 */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(45, 140, 61, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transform: translateX(150%) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    border: 1px solid rgba(45, 140, 61, 0.1);
}

.notification.show {
    transform: translateX(0) scale(1);
}

.notification-success {
    border-left: 5px solid #2d8c3d;
}

.notification-icon {
    color: #2d8c3d;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* 小程序二维码悬浮窗样式 */
.mini-program-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mini-program-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d8c3d, #3fa34d);
    border-radius: 50% 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow:
        -5px 5px 20px rgba(0, 0, 0, 0.2),
        inset 2px 0 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.mini-program-toggle:hover {
    background: linear-gradient(135deg, #1a5f23, #2d8c3d);
    transform: scale(1.05);
    box-shadow:
        -7px 7px 25px rgba(0, 0, 0, 0.25),
        inset 2px 0 0 rgba(255, 255, 255, 0.3);
}

.mini-program-toggle i {
    transition: transform 0.3s ease;
}

.mini-program-content {
    background: white;
    border-radius: 20px 0 0 20px;
    padding: 25px;
    box-shadow:
        -10px 10px 40px rgba(0, 0, 0, 0.2),
        inset 1px 0 0 rgba(45, 140, 61, 0.1);
    width: 280px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(45, 140, 61, 0.1);
    border-right: none;
}

.mini-program-float.expanded .mini-program-content {
    transform: translateX(0);
}

.mini-program-float.expanded .mini-program-toggle i {
    transform: rotate(180deg);
}

.qrcode-title {
    font-size: 1.3rem;
    color: #1a5f23;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qrcode-title i {
    font-size: 1.5rem;
}

.qrcode-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(45, 140, 61, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qrcode-desc {
    color: #666;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 15px;
}

.qrcode-desc strong {
    color: #1a5f23;
    font-weight: 600;
}

.qrcode-tips {
    background: rgba(45, 140, 61, 0.05);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    border-left: 3px solid #2d8c3d;
}

.qrcode-tips i {
    color: #2d8c3d;
    margin-right: 8px;
}

/* 响应式设计 */
@media (max-width: 1366px) {
    .login-container {
        max-width: 1200px;
    }

    .login-header {
        margin-bottom: 20px;
    }

    .system-title {
        font-size: 2rem;
    }

    .system-subtitle {
        font-size: 1rem;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .org-logo,
    .organic-logo {
        width: 140px;
    }

    .input-group {
        margin-bottom: 20px;
    }

    .features {
        gap: 8px;
    }

    .feature-item {
        width: calc(34% - 10px);
        min-height: 120px;
    }

    .info-section,
    .login-section {
        padding: 40px 60px;
    }

    .buttons {
        margin-top: 20px;
    }

    .official-link {
        margin-top: 20px;
    }

    /* 小程序二维码响应式调整 */
    .mini-program-float {
        right: 15px;
    }

    .mini-program-content {
        width: 260px;
        padding: 20px;
    }

    .qrcode-container {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 1200px) {
    .login-container {
        max-width: 1100px;
    }

    .features {
        gap: 10px;
    }

    .feature-item {
        width: calc(34% - 10px);
        min-height: 130px;
    }
}

@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 700px;
        height: auto;
        min-height: auto;
    }

    .info-section,
    .login-section {
        padding: 40px 30px;
        flex: 1;
    }

    .logo-container {
        gap: 30px;
    }

    .org-logo,
    .organic-logo {
        width: 150px;
    }

    .system-title {
        font-size: 1.8rem;
    }

    .system-subtitle {
        font-size: 1rem;
    }

    .features {
        gap: 15px;
    }

    .feature-item {
        width: calc(50% - 10px);
        padding: 18px 12px;
        min-height: 120px;
    }

    .login-title {
        font-size: 2rem;
    }

    .input-group input {
        padding: 16px 70px 16px 20px;
    }

    /* 在平板设备上隐藏小程序二维码 */
    .mini-program-float {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-container {
        gap: 20px;
        margin-bottom: 20px;
    }

    .org-logo,
    .organic-logo {
        width: 120px;
    }

    .features {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .feature-item {
        width: 100%;
        max-width: 300px;
    }

    .login-section {
        padding: 35px 25px;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .login-subtitle {
        font-size: 1rem;
        margin-top: 20px;
    }

    .official-link a {
        font-size: 0.85rem;
    }

    /* 在移动设备上隐藏小程序二维码 */
    .mini-program-float {
        display: none;
    }
}

@media (max-width: 576px) {
    body {
        padding: 15px;
    }

    .login-container {
        border-radius: 20px;
    }

    .info-section,
    .login-section {
        padding: 30px 20px;
    }

    .system-title {
        font-size: 1.5rem;
        padding-bottom: 10px;
    }

    .login-title {
        font-size: 1.6rem;
    }

    .input-group input {
        padding: 16px 60px 16px 15px;
    }

    .btn {
        padding: 16px;
        font-size: 1rem;
    }

    .btn-login {
        font-size: 1.1rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-text {
        font-size: 0.95rem;
    }

    .notification {
        left: 15px;
        right: 15px;
        max-width: none;
        bottom: 15px;
    }
}

/* 动画效果 */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.5s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

@keyframes pulse {
    0% {
        box-shadow:
            0 8px 25px rgba(45, 140, 61, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 8px 35px rgba(45, 140, 61, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    100% {
        box-shadow:
            0 8px 25px rgba(45, 140, 61, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}