/* ==========================================================================
   全局变量与基础设置
   ========================================================================== */
:root {
    --primary-color: #0056b3;
    --primary-dark: #004080;
    --primary-light: #e6f0fa;
    --secondary-color: #1890ff;
    --sidebar-bg: #002244;
    --sidebar-text: #a6c0de;
    --sidebar-active: #ffffff;
    --sidebar-active-bg: #0056b3;
    --bg-color: #f4f7fc;
    --text-color: #333333;
    --border-color: #e4e9f0;
}

body {
    background-color: var(--bg-color);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   登录页样式优化 - 专家库专业风格
   ========================================================================== */
.login-page {
    /* 科技感蓝白渐变背景 */
    background: linear-gradient(135deg, #001a33 0%, #004080 50%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* 增加一些背景几何图形作为科技感点缀 */
.login-page::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.login-container {
    width: 100%;
    max-width: 960px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    overflow: hidden;
    z-index: 1;
}

.login-branding {
    flex: 1.2;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.03)" points="0,100 100,0 100,100"/></svg>'), linear-gradient(135deg, #0056b3 0%, #003366 100%);
    background-size: cover;
    color: #fff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-branding h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.login-branding p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.login-form-wrapper {
    flex: 1;
    padding: 60px 50px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 26px;
    color: #333;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
}

.login-header p {
    color: #777;
    font-size: 14px;
}

.login-form-wrapper .form-group {
    margin-bottom: 20px;
}

.login-form-wrapper label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.login-form-wrapper .form-control {
    height: 48px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: none;
    font-size: 15px;
    transition: all 0.3s;
}

.login-form-wrapper .input-group-addon {
    background: #f8f9fa;
    border-color: #ddd;
    color: #888;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.login-form-wrapper .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.login-form-wrapper .form-control:focus + .input-group-addon,
.login-form-wrapper .input-group:focus-within .input-group-addon {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.login-form-wrapper .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    height: 50px;
    font-size: 18px;
    border-radius: 6px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.login-form-wrapper .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.3);
    transform: translateY(-1px);
}


/* ==========================================================================
   内部页面布局：侧边栏与主内容
   ========================================================================== */
.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.top-navbar {
    min-height: 72px;
    background: linear-gradient(90deg, #003a73 0%, #005fb8 55%, #1a88ff 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    box-shadow: 0 10px 24px rgba(0, 58, 115, 0.2);
    z-index: 20;
}

.top-navbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark .glyphicon {
    font-size: 20px;
    margin-right: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.top-navbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.user-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.navbar-icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.navbar-icon-btn:hover,
.navbar-icon-btn:focus {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.navbar-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 46, 94, 0.12);
    transition: all 0.3s ease;
}

.navbar-logout-btn:hover,
.navbar-logout-btn:focus {
    color: #fff;
    background: linear-gradient(135deg, #0f7cff 0%, #0056b3 100%);
    border-color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    outline: none;
    transform: translateY(-1px);
}

.navbar-logout-btn .glyphicon {
    margin-right: 0;
    font-size: 14px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 44, 95, 0.18);
}

.user-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.user-role {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    line-height: 1.2;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #63e6be;
    display: inline-block;
}

.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    min-width: 250px;
    background-color: #001529;
    color: #a6c0de;
    display: flex;
    flex-direction: column;
    z-index: 10;
    transition: width 0.3s, min-width 0.3s;
    overflow-y: auto;
}

.wrapper.sidebar-collapsed .sidebar {
    width: 0;
    min-width: 0;
    overflow: hidden;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu > li > a:hover {
    color: #fff;
}

.sidebar-menu > li.active > a {
    background-color: #1890ff;
    color: #fff;
    border-left-color: #1890ff;
}

.sidebar-menu .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-menu .sub-menu {
    list-style: none;
    padding: 0;
    background-color: #000c17;
}

.sidebar-menu .sub-menu > li > a {
    display: block;
    padding: 10px 20px 10px 45px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.sidebar-menu .sub-menu > li > a:hover {
    color: #fff;
}

.sidebar-menu .sub-menu > li.active > a {
    color: #fff;
    background-color: #1890ff;
}

.sidebar-menu .glyphicon {
    margin-right: 10px;
    font-size: 16px;
    vertical-align: middle;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f0f2f5;
    overflow: hidden;
}

.breadcrumb-area {
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(228, 233, 240, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
    backdrop-filter: blur(10px);
}

.breadcrumb-area .toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    color: var(--primary-dark);
    background: linear-gradient(180deg, #f6fbff 0%, #e9f2fb 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.08);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-item {
    color: #888;
    text-decoration: none;
}

.breadcrumb-item.current {
    color: var(--primary-dark);
    font-weight: 600;
}

.breadcrumb-separator {
    color: #bbb;
}

.page-hero {
    padding: 22px 28px 0;
}

.page-hero-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 12px 30px rgba(0, 56, 112, 0.08);
    position: relative;
    overflow: hidden;
}

.page-hero-main::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -36px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(24, 144, 255, 0.16) 0%, rgba(24, 144, 255, 0) 68%);
    pointer-events: none;
}

.page-hero-copy {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.page-hero-subtitle {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7a90;
    max-width: 720px;
}

.page-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page-hero-actions .btn {
    min-width: 108px;
    border-radius: 10px;
    padding: 8px 16px;
    box-shadow: 0 8px 18px rgba(0, 86, 179, 0.08);
}

.page-hero-actions .btn .glyphicon {
    margin-right: 6px;
}

.content-body {
    padding: 25px 28px 28px;
    overflow-y: auto;
    flex: 1;
}

/* ==========================================================================
   内部组件美化：面板、按钮、表格等
   ========================================================================== */
.panel {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    margin-bottom: 25px;
    background: #fff;
    overflow: hidden;
}

.panel-default > .panel-heading {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: bold;
    padding: 18px 25px;
    color: var(--primary-dark);
    position: relative;
}

.panel-default > .panel-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.panel-body {
    padding: 25px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 86, 179, 0.2);
    transition: all 0.3s;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3) !important;
}

.btn-outline-primary {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
    transition: all 0.3s;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.search-area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}

.search-area .form-inline .form-group {
    margin-right: 15px;
}

.pagination {
    margin: 0;
}

.btn-default {
    border-color: #d9d9d9;
    color: #555;
    transition: all 0.3s;
}

.btn-default:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.table {
    margin-bottom: 0;
}

.table > thead > tr > th {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    color: #444;
    font-weight: 600;
    padding: 14px 12px;
}

.table > tbody > tr > td {
    padding: 14px 12px;
    vertical-align: middle;
    border-top: 1px solid var(--border-color);
    color: #555;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fdfdfd;
}

.table-hover > tbody > tr:hover {
    background-color: var(--primary-light);
}

.form-control {
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #d9d9d9;
    height: 38px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.1);
}

/* 统计数字卡片 */
.stat-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stat-card h3 {
    color: var(--primary-color) !important;
    font-size: 36px;
    margin-top: 15px;
    font-weight: 700;
}

/* 专家/人才卡片美化 */
.media {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
    background: #fff;
    margin-top: 0;
    margin-bottom: 20px;
}

.media:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #cce0f5;
    transform: translateY(-2px);
}

.media-object {
    border-radius: 50%;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.media-heading {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.label-info {
    background-color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: normal;
}

/* 模态框美化 */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.modal-header {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 25px;
}

.modal-title {
    font-weight: bold;
    color: var(--primary-dark);
    font-size: 18px;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    background-color: #fafbfc;
    padding: 15px 25px;
}

/* 移动端 H5 样式优化 */
.mobile-navbar {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mobile-bottom-nav {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.mobile-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    border: none;
}

/* ==========================================================================
   企业端专家库 / 专家详情页
   ========================================================================== */
.expert-library-shell {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.expert-filter-panel {
    width: 320px;
    min-width: 320px;
    position: sticky;
    top: 0;
}

.filter-panel-head {
    padding: 24px 24px 18px;
    margin-bottom: 18px;
    border-radius: 22px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(0, 52, 110, 0.98) 0%, rgba(0, 103, 197, 0.96) 100%);
    box-shadow: 0 16px 36px rgba(0, 64, 128, 0.22);
    position: relative;
    overflow: hidden;
}

.filter-panel-head::after {
    content: '';
    position: absolute;
    right: -36px;
    top: -28px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 72%);
}

.filter-panel-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.filter-panel-head h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
}

.filter-panel-head p:last-child {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.filter-card {
    margin-bottom: 18px;
    padding: 22px 22px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 14px 28px rgba(15, 73, 133, 0.08);
}

.filter-card-highlight {
    background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.filter-card-title {
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.filter-card-title .glyphicon {
    margin-right: 8px;
    color: var(--secondary-color);
}

.filter-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #46627e;
}

.filter-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f2f7fd;
    border: 1px solid rgba(0, 86, 179, 0.08);
    color: #4a6480;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-chip:hover,
.filter-chip:focus,
.filter-chip.active {
    color: #fff;
    background: linear-gradient(135deg, #0f7cff 0%, #0056b3 100%);
    border-color: transparent;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 124, 255, 0.22);
}

.filter-action-row .btn {
    margin-bottom: 10px;
    height: 40px;
    border-radius: 10px;
}

.expert-tip-list {
    padding-left: 18px;
    margin: 0;
    color: #4e6985;
    line-height: 1.9;
    font-size: 13px;
}

.expert-library-main {
    flex: 1;
    min-width: 0;
}

.expert-library-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 24px 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f5faff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 16px 32px rgba(0, 56, 112, 0.08);
}

.toolbar-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.toolbar-copy h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

.toolbar-copy p {
    margin: 0;
    color: #68809b;
    line-height: 1.8;
}

.toolbar-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(24, 144, 255, 0.12);
    color: #0f70d8;
    font-size: 12px;
    font-weight: 600;
}

.toolbar-actions .btn-group .btn {
    border-radius: 999px;
    padding: 8px 18px;
}

.toolbar-actions .btn-group .btn + .btn {
    margin-left: 8px;
}

.expert-overview-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.expert-overview-card {
    flex: 1;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 12px 24px rgba(0, 56, 112, 0.06);
}

.overview-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #67809b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expert-overview-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.expert-overview-card p {
    margin: 0;
    color: #70859d;
}

.expert-card-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.expert-card {
    display: flex;
    gap: 24px;
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 16px 36px rgba(0, 56, 112, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expert-card::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -44px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(24, 144, 255, 0.1) 0%, rgba(24, 144, 255, 0) 70%);
}

.expert-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 124, 255, 0.22);
    box-shadow: 0 22px 40px rgba(0, 56, 112, 0.12);
}

.expert-card.premium {
    background: linear-gradient(135deg, #ffffff 0%, #edf6ff 100%);
}

.expert-card-side {
    position: relative;
    z-index: 1;
    width: 152px;
    min-width: 152px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.expert-avatar {
    position: relative;
    width: 124px;
    height: 156px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f6fd 0%, #d9e7f7 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 34px rgba(0, 67, 132, 0.2);
}

.expert-avatar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(8, 34, 68, 0) 0%, rgba(8, 34, 68, 0.2) 100%);
    pointer-events: none;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.45s ease;
}

.expert-card:hover .expert-avatar img {
    transform: scale(1.04);
}

.expert-avatar-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.02) 36%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.detail-avatar {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    box-shadow: 0 18px 28px rgba(0, 67, 132, 0.18);
}

.avatar-blue,
.detail-avatar {
    background: linear-gradient(135deg, #1b8bff 0%, #004ea5 100%);
}

.avatar-cyan {
    background: linear-gradient(135deg, #28c1f5 0%, #0b6dc9 100%);
}

.avatar-indigo {
    background: linear-gradient(135deg, #6a7cff 0%, #3044c4 100%);
}

.expert-verify-badge,
.detail-identity-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f6fcc;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 10px 18px rgba(0, 86, 179, 0.1);
}

.expert-card-body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.expert-card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.expert-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.expert-title-row h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #17385e;
}

.expert-title-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    color: #0f6fcc;
    font-size: 12px;
    font-weight: 600;
}

.expert-org {
    margin: 0;
    color: #5f7690;
    font-size: 14px;
}

.expert-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin: 0 10px;
    background: #9db7d2;
    vertical-align: middle;
}

.expert-score-panel,
.detail-score-box {
    min-width: 110px;
    padding: 14px 18px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(180deg, #fafdff 0%, #e9f4ff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.score-value {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    color: #0c66c9;
}

.score-label {
    display: block;
    margin-top: 8px;
    color: #6c819b;
    font-size: 12px;
}

.score-stars {
    margin-top: 10px;
    color: #ffb400;
    font-size: 14px;
    letter-spacing: 2px;
}

.expert-tag-row,
.detail-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.expert-tag,
.review-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(18, 119, 223, 0.08);
    color: #156bc5;
    font-size: 12px;
    font-weight: 600;
}

.expert-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
}

.metric-item {
    min-width: 148px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.metric-label {
    display: block;
    margin-bottom: 8px;
    color: #7a8da4;
    font-size: 12px;
}

.metric-item strong {
    display: block;
    color: #183a60;
    font-size: 20px;
    font-weight: 700;
}

.expert-speciality label {
    margin-bottom: 8px;
    color: #45617d;
    font-size: 13px;
    font-weight: 600;
}

.expert-speciality p {
    margin: 0;
    color: #5e7590;
    line-height: 1.9;
}

.expert-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 86, 179, 0.08);
}

.expert-service-note {
    color: #456682;
    line-height: 1.7;
}

.expert-service-note .glyphicon {
    margin-right: 8px;
    color: #0f73df;
}

.expert-card-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.expert-card-actions .btn {
    min-width: 96px;
    border-radius: 10px;
    padding: 9px 16px;
}

.expert-pagination-bar {
    margin-top: 22px;
    padding: 18px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 10px 20px rgba(0, 56, 112, 0.05);
}

.pagination-summary {
    line-height: 34px;
    color: #70859d;
}

.expert-modal-tip {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f4f9ff;
    color: #456682;
}

.expert-modal-tip .glyphicon {
    margin-right: 8px;
    color: #0f73df;
}

.expert-detail-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.expert-detail-hero {
    padding: 26px 28px;
    border-radius: 26px;
    background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
    box-shadow: 0 20px 36px rgba(0, 56, 112, 0.08);
    position: relative;
    overflow: hidden;
}

.expert-detail-hero::after {
    content: '';
    position: absolute;
    right: -70px;
    top: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(24, 144, 255, 0.14) 0%, rgba(24, 144, 255, 0) 68%);
}

.detail-hero-main {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.detail-hero-profile {
    display: flex;
    gap: 24px;
    flex: 1;
}

.detail-avatar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
}

.detail-hero-copy {
    flex: 1;
}

.detail-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.detail-name-row h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #17385e;
}

.detail-title-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    color: #0f6fcc;
    font-size: 12px;
    font-weight: 600;
}

.detail-hero-subtitle {
    margin: 0 0 14px;
    color: #5f7793;
    line-height: 1.9;
    max-width: 760px;
}

.detail-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-bottom: 16px;
    color: #4f6984;
}

.detail-meta-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail-hero-side {
    width: 170px;
    min-width: 170px;
}

.detail-hero-buttons .btn {
    margin-top: 10px;
    height: 42px;
    border-radius: 10px;
}

.detail-stat-grid {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.detail-stat-card {
    flex: 1;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.detail-stat-card span {
    display: block;
    margin-bottom: 8px;
    color: #70859d;
    font-size: 12px;
}

.detail-stat-card strong {
    font-size: 28px;
    color: #183a60;
    font-weight: 700;
}

.expert-section-card {
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(0, 56, 112, 0.07);
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.detail-info-item {
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.detail-info-label,
.service-box-label {
    display: block;
    margin-bottom: 10px;
    color: #6a819c;
    font-size: 12px;
    font-weight: 600;
}

.detail-info-item p,
.detail-service-box p {
    margin: 0;
    color: #5a728d;
    line-height: 1.9;
}

.detail-service-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.detail-service-box {
    flex: 1;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.detail-service-box strong {
    display: block;
    margin-bottom: 8px;
    color: #183a60;
    font-size: 20px;
}

.detail-service-process {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 140px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f6fafe;
    border: 1px dashed rgba(0, 86, 179, 0.14);
    color: #5f7793;
    font-weight: 600;
}

.process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.08);
    color: #0f73df;
}

.process-step.active {
    background: #ebf4ff;
    border-style: solid;
    color: #134e92;
}

.detail-case-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-case-item {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.detail-case-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}

.detail-case-head h4 {
    margin: 0;
    color: #17385e;
    font-size: 18px;
    font-weight: 700;
}

.detail-case-year {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    color: #0f73df;
    font-size: 12px;
    font-weight: 600;
}

.detail-case-item p {
    margin: 0 0 14px;
    color: #5c748f;
    line-height: 1.9;
}

.detail-case-result {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-case-result span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ebf4ff;
    color: #0f73df;
    font-size: 12px;
    font-weight: 600;
}

.detail-review-summary {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.review-score-card {
    width: 136px;
    min-width: 136px;
    padding: 18px;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(180deg, #fbfdff 0%, #edf6ff 100%);
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.review-score-card strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: #0f73df;
}

.review-score-card span {
    display: block;
    margin-top: 10px;
    color: #6f849b;
    font-size: 12px;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-review-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-review-item {
    padding: 18px 20px;
    border-radius: 18px;
    background: #fbfdff;
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.detail-review-item p {
    margin: 0 0 10px;
    color: #536d88;
    line-height: 1.9;
}

.detail-review-item span {
    color: #7a8da4;
    font-size: 12px;
}

.radar-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.radar-chart {
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f2f8ff 100%);
}

.radar-legend-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #546f8b;
}

.radar-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f73df;
    box-shadow: 0 0 0 4px rgba(15, 115, 223, 0.12);
}

.detail-quick-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-quick-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 86, 179, 0.08);
    color: #5d7490;
}

.detail-quick-list li:last-child {
    border-bottom: none;
}

.detail-quick-list strong {
    color: #17385e;
}

@media (max-width: 1400px) {
    .expert-library-shell {
        flex-direction: column;
    }

    .expert-filter-panel {
        width: 100%;
        min-width: 0;
        position: static;
    }

    .expert-overview-grid,
    .detail-stat-grid,
    .detail-service-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .expert-card,
    .detail-hero-main,
    .detail-hero-profile,
    .expert-library-toolbar,
    .expert-card-top,
    .expert-card-footer,
    .detail-review-summary {
        flex-direction: column;
    }

    .expert-card-side,
    .detail-avatar-block,
    .detail-hero-side {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
    }

    .detail-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .page-hero,
    .page-hero-main,
    .expert-detail-hero,
    .expert-card,
    .expert-library-toolbar,
    .filter-panel-head,
    .filter-card {
        padding-left: 18px;
        padding-right: 18px;
    }
}
