/* 简历列表页 - 网站主色 + 移动端优化 */
@charset "UTF-8";

/* 页面容器 */
.rl-page{background:var(--color-bg);min-height:100vh;padding-bottom:48px;}

/* 人才列表区 */
.rl-list-section{margin-top:4px;}

/* 卡片网格 - PC端2列 */
.rl-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;}

/* 人才卡片 - LinkedIn/Upwork 横向标准结构 */
a.rl-card{
  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  gap:20px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:var(--radius-lg);
  padding:22px 28px;
  transition:all 0.2s cubic-bezier(0.4,0,0.2,1);
  cursor:pointer;
  text-decoration:none;
  color:inherit;
  box-sizing:border-box;
  position:relative;
  overflow:hidden;
}

/* 删除顶部渐变条 */
a.rl-card::before{display:none !important;}

/* Hover：边框加深+微上浮（LinkedIn风） */
a.rl-card:hover{
  border-color:rgba(0,0,0,0.16);
  background:#fafafa;
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
}
a.rl-card:active{transform:scale(0.998);}

/* 头像 - LinkedIn 48px */
.rl-card-photo{width:56px;height:56px;border-radius:8px;object-fit:cover;background:#fafafa;flex-shrink:0;border:1px solid #f0f0f0;}

/* PC端：name-row水平 */
@media(min-width:768px){
  .rl-card-name-row{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;}
  .rl-card-name-row .rl-card-photo{margin-bottom:0;display:none;}
  .rl-card-name{font-size:16px;line-height:1.4;letter-spacing:-0.01em;}
  .rl-card-salary{font-size:17px;line-height:1.4;letter-spacing:-0.02em;font-family:var(--font-family-mono);}
}

/* 信息区 */
.rl-card-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;}

/* 姓名行 */
.rl-card-name-row{display:flex;align-items:center;gap:8px;margin-bottom:0;}
.rl-card-name{font-size:17px;font-weight:600;color:#1a1a1a;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color 0.2s;flex:1;min-width:0;letter-spacing:-0.01em;}
a.rl-card:hover .rl-card-name{color:var(--color-primary);}

/* 薪资 - 等宽字体 */
.rl-card-salary{font-size:18px;font-weight:700;color:var(--color-primary);white-space:nowrap;line-height:1.4;flex-shrink:0;letter-spacing:-0.02em;font-family:var(--font-family-mono);}

/* 实名认证徽章 - Care.com 风格 */
.rl-verified-badge{
  display:inline-flex;align-items:center;gap:2px;
  font-size:10px;line-height:16px;
  padding:0 6px;border-radius:var(--radius-pill);
  background:var(--color-success-bg);
  color:var(--color-success);font-weight:500;
  flex-shrink:0;
}
.rl-verified-badge svg{width:10px;height:10px;}

/* 求职状态标签 */
.rl-card-status-tag{padding:2px 6px;border-radius:var(--radius-pill);font-size:11px;font-weight:500;line-height:18px;white-space:nowrap;background:var(--color-success-bg);color:var(--color-success);}

/* 职位标题行 */
.rl-card-title{font-size:13px;color:#666;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;}

/* 求职意向行 - LinkedIn 极简 */
.rl-card-intent{display:flex;align-items:center;gap:6px;font-size:12px;padding:0;background:transparent;border-radius:0;overflow:hidden;border:none;}
.rl-card-intent svg{flex-shrink:0;display:none;}
.rl-intent-label{font-size:11px;color:#999;flex-shrink:0;font-weight:400;}
.rl-intent-text{color:#666;font-weight:400;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rl-intent-empty{color:#bbb;}

/* 技能标签 - LinkedIn 风格 */
.rl-card-skills{display:flex;flex-wrap:wrap;gap:4px;overflow:hidden;align-items:center;margin-top:0;}
.rl-skill-tag{display:inline-block;padding:2px 8px;font-size:11px;color:var(--color-text-muted);background:var(--color-border-light);border-radius:var(--radius-pill);white-space:nowrap;line-height:18px;font-weight:500;}

/* 右侧：完整度条 + 操作 */
.rl-card-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0;min-width:120px;}

/* 完整度条 - Toptal 风格 */
.rl-completeness{display:flex;align-items:center;gap:6px;font-size:11px;color:#666;width:100%;}
.rl-completeness-label{flex-shrink:0;color:#999;}
.rl-completeness-bar{flex:1;height:4px;background:#f0f0f0;border-radius:2px;overflow:hidden;min-width:40px;}
.rl-completeness-fill{height:100%;background:linear-gradient(90deg,#52c41a,#73d13d);border-radius:2px;transition:width 0.6s ease;}
.rl-completeness-fill-low{background:linear-gradient(90deg,#faad14,#ffc53d);}
.rl-completeness-value{font-size:11px;font-weight:600;color:#52c41a;font-family:var(--font-family-mono);flex-shrink:0;}

/* 查看详情按钮 - LinkedIn 文字链接 */
.rl-card-detail-btn{
  font-size:12px;
  color:var(--color-primary);
  font-weight:500;
  white-space:nowrap;
  padding:0;
  transition:all 0.2s;
}
.rl-card-detail-btn:hover{color:var(--color-primary-hover);transform:translateX(2px);}

/* 底部 - LinkedIn 风格 */
.rl-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:4px;padding-top:4px;}
.rl-card-bottom-left{display:flex;align-items:center;gap:8px;overflow:hidden;flex:1;min-width:0;color:#666;font-size:12px;flex-wrap:wrap;}
.rl-card-meta-divider{margin:0 6px;color:#d0d0d0;}
.rl-card-location,.rl-card-edu,.rl-card-exp{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#666;white-space:nowrap;flex-shrink:0;line-height:20px;}
.rl-card-location svg,.rl-card-edu svg,.rl-card-exp svg{width:12px;height:12px;color:#999;display:inline-block !important;}
.rl-card-time{font-size:12px;color:#aaa;white-space:nowrap;flex-shrink:0;line-height:20px;}
.rl-card-status-seeking{color:var(--color-success);background:var(--color-success-bg);padding:2px 8px;border-radius:var(--radius-pill);font-size:11px;font-weight:500;line-height:18px;}

/* 响应式 - 平板 */
@media(max-width:1024px){
  .rl-card-grid{grid-template-columns:1fr;gap:14px;}
}

/* 响应式 - 手机（小红书卡片风） */
@media(max-width:767px){
  .rl-page{padding-bottom:12px;}
  /* 面包屑 - 移动端作为页面标题导航 */
  .jl-breadcrumb{display:flex;align-items:center;padding:12px 0 8px;font-size:13px;color:#999;}
  .jl-breadcrumb a{color:#999;}
  .jl-breadcrumb a:hover{color:var(--color-primary);}
  .jl-breadcrumb-sep{margin:0 4px;color:#ccc;}
  .jl-breadcrumb span:last-child{color:#333;font-weight:600;}

  .rl-card-grid{grid-template-columns:1fr;gap:10px;}

  a.rl-card{
    display:flex !important;
    flex-direction:row !important;
    gap:12px !important;
    background:#fff;
    border:none !important;
    border-radius:12px !important;
    padding:16px !important;
    box-shadow:0 1px 8px rgba(0,0,0,0.04) !important;
    cursor:pointer;
    min-height:0 !important;
    position:relative;
    overflow:hidden;
    transition:all .2s ease;
  }
  /* 删除装饰性伪元素 */
  a.rl-card::before{display:none !important;}
  a.rl-card:hover{box-shadow:0 2px 12px rgba(0,0,0,0.06) !important;transform:none !important;border-color:transparent !important;}
  a.rl-card:active{transform:scale(0.99) !important;}

  /* 头像 - 中等圆形 */
  .rl-card-photo{width:48px;height:48px;border-radius:50%;border:none;object-fit:cover;background:#fafafa;flex-shrink:0;}

  /* 信息区 - 占据主要空间 */
  .rl-card-info{gap:8px;flex:1;min-width:0;padding:0 !important;}

  /* 第一行：姓名 + 薪资（同行，右对齐） */
  .rl-card-name-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:0;
    padding:0;
  }
  .rl-card-name{font-size:16px;font-weight:600;line-height:22px;color:#1a1a1a;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-0.01em;}
  .rl-card-salary{
    font-size:18px;font-weight:700;line-height:24px;
    color:#e85d3a;
    background:none;
    padding:0;
    box-shadow:none;
    white-space:nowrap;flex-shrink:0;
    font-family:var(--font-family-mono);
    letter-spacing:-0.02em;
  }

  /* 第二行：基本信息 - 极简 */
  .rl-card-title{
    font-size:12px;
    color:#777;
    font-weight:500;
    margin-bottom:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  /* 意向行 - 极简 */
  .rl-card-intent{
    padding:0;
    font-size:12px;
    border-radius:0;
    margin-bottom:0;
    border:none;
    background:transparent;
  }
  .rl-intent-label{font-size:11px;color:#999;font-weight:500;}
  .rl-intent-text{font-size:12px;color:#555;font-weight:500;}
  .rl-intent-empty{font-size:12px;color:#ccc;}

  /* 隐藏技能标签 */
  .rl-card-skills{display:none;}

  /* 底部 - 极简 */
  .rl-card-bottom{padding-top:0;margin-top:0;}
  .rl-card-bottom-left{gap:6px;}
  .rl-card-location,.rl-card-edu,.rl-card-exp{
    font-size:11px;
    color:#888;
    padding:2px 6px;
    background:#f5f5f7;
    border-radius:4px;
    font-weight:500;
  }
  .rl-card-time{font-size:11px;color:#bbb;}
  .rl-card-status-seeking{font-size:10px;padding:2px 8px;background:rgba(82,196,26,0.1);color:#389e0d;border-radius:4px;font-weight:600;}

  /* 右侧：完整度+查看详情 */
  .rl-card-actions{
    display:none !important;  /* 移动端隐藏右侧完整度条，节省空间 */
  }
}

/* 响应式 - 小手机 */
@media(max-width:480px){
  a.rl-card{padding:14px !important;gap:10px !important;}
  .rl-card-photo{width:44px;height:44px;}
  .rl-card-name{font-size:14px;}
  .rl-card-salary{font-size:14px;}
}
