/* 登录页面布局修复 */
:root {
    --yp-primary: #4f46e5;
}

/* 修复页面底部被遮挡 */
body {
    padding-bottom: 80px !important;
}

.layout-content {
    padding-bottom: 80px !important;
}

/* 登录卡片优化 */
.auth-cover-wrapper {
    min-height: calc(100vh - 80px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 按钮样式 */
.btn-primary {
    background: var(--yp-primary) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
}

.btn-primary:hover {
    opacity: 0.9 !important;
}

/* 注册按钮优化 */
.btn-secondary {
    background: white !important;
    border: 2px solid var(--yp-primary) !important;
    color: var(--yp-primary) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.btn-secondary:hover {
    background: var(--yp-primary) !important;
    color: white !important;
}

/* 密码toggle按钮 */
.password-toggle {
    background: #f8f9fa !important;
    border: 2px solid #e2e8f0 !important;
    border-left: none !important;
    cursor: pointer !important;
    padding: 0 15px !important;
    border-radius: 0 8px 8px 0 !important;
    transition: background 0.3s ease !important;
}

.password-toggle:hover {
    background: #e9ecef !important;
    color: var(--yp-primary) !important;
}

.form-control {
    border-radius: 8px 0 0 8px !important;
    border: 2px solid #e2e8f0 !important;
    border-right: none !important;
}

.input-group {
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* 文案优化 */
h4.mb-2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

p.mb-4 {
    font-size: 0.95rem !important;
    color: #64748b !important;
}

/* 表单标签 */
.form-label {
    font-weight: 600 !important;
    color: #334155 !important;
    font-size: 0.9rem !important;
}

