/* ANTHONE AI 统一视觉样式（Bootstrap 5 扩展） */

:root {
    --anthone-primary: #1677ff;
    --anthone-primary-dark: #0d5fd6;
    --anthone-ink: #1f2937;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--anthone-ink);
}

/* 登录页 */
.auth-page {
    background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 45%, #eef8f4 100%);
}

.login-card {
    border-radius: 14px;
}

/* 应用中心卡片 */
.app-card {
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .75rem 1.5rem rgba(22, 119, 255, .12) !important;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 52px;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}

/* 业务页面 */
.hero {
    background: linear-gradient(135deg, #1677ff 0%, #4f9bff 55%, #34c3a1 100%);
    color: #fff;
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
}

.hero .lead {
    color: rgba(255, 255, 255, .85);
}

.surface-card {
    background: #fff;
    border: 1px solid #e8eef7;
    border-radius: 14px;
    box-shadow: 0 .25rem 1rem rgba(15, 40, 90, .05);
}

.surface-card .card-header {
    padding: .9rem 1.25rem;
    background: transparent;
    border-bottom: 1px solid #eef2f7;
    font-weight: 600;
}

.surface-card .card-body {
    padding: 1.25rem;
}

.quick-chip {
    display: inline-block;
    padding: .35rem .7rem;
    border: 1px solid #cfe0f7;
    background: #f2f7ff;
    color: #1668d9;
    border-radius: 999px;
    font-size: .78rem;
    cursor: pointer;
    transition: all .15s ease;
}

.quick-chip:hover {
    background: var(--anthone-primary);
    border-color: var(--anthone-primary);
    color: #fff;
}

.chip-link {
    display: inline-block;
    max-width: 100%;
    padding: .35rem .7rem;
    border: 1px solid #e3eaf5;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    font-size: .78rem;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chip-link:hover {
    background: #f2f7ff;
    color: var(--anthone-primary);
}

.loading-mask {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(2px);
}

.loading-mask.show {
    display: flex;
}

.loading-box {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .2);
}

.table-ellipsis {
    max-width: 320px;
    white-space: normal;
    word-break: break-word;
}

.status-dot {
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    margin-right: .35rem;
}

@media (max-width: 575.98px) {
    .hero {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
}

/* 全站统一 14 号字体 */
body,
body * {
    font-size: 14px !important;
}

/* DeepSeek 风格：提问按钮放在文本域内部右下角 */
.chat-box {
    position: relative;
    background: #fff;
    border: 1px solid #d9dfea;
    border-radius: 18px;
    padding: .7rem .8rem 3rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.chat-box:focus-within {
    border-color: #4d6bfe;
    box-shadow: 0 0 0 3px rgba(77, 107, 254, .12);
}

.chat-box .chat-input {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-height: 64px;
    resize: none;
}

.chat-box .chat-input:focus {
    box-shadow: none;
}

.chat-tools {
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .55rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.chat-send {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #4d6bfe;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, opacity .15s ease;
}

.chat-send:hover {
    background: #3b5bdb;
}

.chat-send:disabled {
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 575.98px) {
    .chat-box {
        border-radius: 14px;
        padding: .6rem .65rem 2.9rem;
    }
}



