
/* Hesaplasan V2.7 - smart search + recent + favorites */
.smart-search-results{
  position:absolute;
  left:0;right:0;
  z-index:50;
  margin-top:8px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
  box-shadow:0 24px 60px rgba(15,23,42,.14);
  max-height:430px;
  overflow:auto;
}
.smart-search-item{
  display:grid;
  grid-template-columns:44px 1fr auto auto;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border-radius:13px;
  color:inherit;
  text-decoration:none;
}
.smart-search-item:hover{background:var(--surface2)}
.smart-search-icon{
  width:42px;height:42px;display:grid;place-items:center;
  border-radius:12px;background:var(--surface2);font-size:20px
}
.smart-search-copy{min-width:0}
.smart-search-copy strong{display:block}
.smart-search-copy small{
  display:block;margin-top:2px;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.smart-search-item em{
  font-size:10px;font-style:normal;font-weight:850;
  color:var(--brand);background:rgba(99,102,241,.09);
  padding:5px 7px;border-radius:999px
}
.smart-search-loading,.smart-search-empty{
  padding:15px;text-align:center;color:var(--muted)
}

.personal-tools-section{padding-top:6px}
.personal-tabs{display:flex;gap:8px;margin:0 0 15px}
.personal-tab{
  border:1px solid var(--line);background:var(--surface);color:var(--muted);
  border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer
}
.personal-tab.active{
  background:rgba(99,102,241,.09);color:var(--brand);border-color:rgba(99,102,241,.25)
}
.personal-tool-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px
}
.personal-tool-card{
  display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;
  padding:14px;border:1px solid var(--line);border-radius:16px;
  background:var(--surface);text-decoration:none;color:inherit
}
.personal-tool-card:hover{transform:translateY(-1px);box-shadow:0 10px 30px rgba(15,23,42,.06)}
.personal-tool-card>span{
  width:40px;height:40px;display:grid;place-items:center;
  border-radius:11px;background:var(--surface2);font-size:20px
}
.personal-tool-card strong{display:block}
.personal-tool-card small{display:block;margin-top:2px;color:var(--muted)}
.personal-empty{
  grid-column:1/-1;padding:18px;border:1px dashed var(--line);
  border-radius:16px;text-align:center;color:var(--muted)
}

.tool-personal-actions{
  max-width:1180px;margin:0 auto 12px;padding:0 20px;
  display:flex;justify-content:flex-end
}
.favorite-tool-btn{
  border:1px solid var(--line);background:var(--surface);color:var(--muted);
  border-radius:999px;padding:9px 13px;font-weight:850;cursor:pointer
}
.favorite-tool-btn.is-favorite{
  color:#d97706;border-color:rgba(217,119,6,.28);background:rgba(245,158,11,.08)
}
.favorite-tool-btn span{font-size:16px;margin-right:4px}

@media(max-width:760px){
  .smart-search-item{grid-template-columns:40px 1fr auto}
  .smart-search-item em{display:none}
  .smart-search-copy small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .personal-tool-grid{grid-template-columns:1fr}
  .tool-personal-actions{padding:0 16px}
}
