/* ==========================================================================
   景德镇直聘 - 收藏信息
   依赖 resume.css 的配色变量与左侧栏/顶栏骨架
   ========================================================================== */

.fv-inner{max-width:940px;}

.fv-card{
  background:#fff;border-radius:2px;overflow:hidden;
  min-height:calc(100vh - 130px);display:flex;flex-direction:column;
}

/* 卡片标题条 */
.fv-hd{
  display:flex;align-items:center;height:36px;padding:0 12px;flex:none;
  border-bottom:1px solid #f2f4f7;
}
.fv-hd h2{font-size:13px;font-weight:700;color:var(--txt);}
.fv-hd .fv-count{margin-left:auto;font-size:12px;color:var(--txt3);}

.fv-body{flex:1;min-height:0;}

/* ---------------- 空态 ---------------- */
.fv-empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:16px;min-height:calc(100vh - 200px);color:#b7bdc7;font-size:13px;
}
.fv-empty svg{width:96px;height:72px;}
.fv-empty p{margin:0;}

/* ---------------- 表格 ---------------- */
.fv-scroll{overflow-x:auto;}
.fv-table{min-width:660px;}
.fv-tr{
  display:grid;
  grid-template-columns:minmax(0,2.4fr) minmax(0,2.0fr) minmax(0,1fr) minmax(0,1.6fr) minmax(0,1.1fr) 92px;
  align-items:center;gap:10px;padding:0 16px;min-height:44px;
  border-bottom:1px solid #f6f7f9;font-size:13px;color:var(--txt2);
}
.fv-tr:last-child{border-bottom:0;}
.fv-th{
  min-height:36px;background:#fafbfc;font-size:12px;color:var(--txt3);
  border-bottom:1px solid var(--line2);
}
.fv-tr:hover:not(.fv-th){background:#fafcff;}

.fv-cell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
a.fv-job{display:flex;align-items:center;min-width:0;color:var(--txt);}
a.fv-job .jt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
a.fv-job:hover{color:var(--blue);}
.fv-money{color:var(--orange);font-weight:700;}
.fv-time{color:var(--txt3);font-size:12px;}

.fv-tag{
  display:inline-block;margin-left:5px;padding:0 3px;border-radius:2px;
  font-size:11px;line-height:15px;vertical-align:1px;white-space:nowrap;
  border:1px solid #f7b39b;color:var(--orange);
}
.fv-tag.blue{border-color:#bcd7fb;color:var(--blue);}

.fv-ops{display:flex;gap:10px;justify-content:flex-end;font-size:12px;}
.fv-ops a{color:var(--txt3);white-space:nowrap;}
.fv-ops a:hover{color:var(--blue);}
.fv-ops a.del:hover{color:#e8614a;}

/* ---------------- 分页 ---------------- */
.fv-pager{
  display:flex;align-items:center;justify-content:center;gap:6px;
  padding:18px 12px 22px;
}
.fv-pager button{
  min-width:30px;height:30px;padding:0 8px;border:1px solid #e4e8ee;border-radius:2px;
  background:#fff;font-size:13px;color:#5d6470;transition:all .15s;
}
.fv-pager button:hover:not(:disabled):not(.on){border-color:#b9c3d0;color:var(--blue);}
.fv-pager button.on{background:var(--blue);border-color:var(--blue);color:#fff;cursor:default;}
.fv-pager button:disabled{color:#c8cdd5;cursor:default;}
.fv-pager .pg-info{font-size:12px;color:var(--txt3);margin-left:6px;}

/* ---------------- 登录引导 ---------------- */
.fv-gate-wrap{background:#fff;border-radius:2px;}

/* ---------------- 响应式 ---------------- */
@media (max-width:820px){
  .fv-hd{padding:0 10px;}
  .fv-tr{padding:0 12px;}
}
@media (max-width:700px){
  .fv-inner{max-width:100%;}
  .fv-card{min-height:calc(100vh - 120px);}
  .fv-empty{min-height:calc(100vh - 170px);}
  .fv-empty svg{width:70px;height:54px;}
  /* 手机端表格改为两行三列：职位+薪资 / 公司+操作，不再横向滚动 */
  .fv-table{min-width:0;}
  .fv-th{display:none;}
  .fv-tr{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"job money" "cmp ops";
    row-gap:4px;column-gap:12px;
    padding:11px 14px;min-height:0;font-size:13px;
  }
  .fv-tr > *:nth-child(1){grid-area:job;}
  .fv-tr > *:nth-child(2){grid-area:cmp;font-size:12px;color:var(--txt3);}
  .fv-tr > *:nth-child(3){display:none;}
  .fv-tr > *:nth-child(4){grid-area:money;text-align:right;font-size:13px;}
  .fv-tr > *:nth-child(5){display:none;}
  .fv-tr > *:nth-child(6){grid-area:ops;align-self:center;}
}
