body {
  font-family: 'Inter', 'League Spartan', 'Noto Sans', 'Open Sans', system-ui, sans-serif;
}

.title {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
}

.logo {
  height: 50px;
  width: 50px;
}

.dot { opacity: .6; }

.risk-layout{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 14px;
  align-items: start;
}

.risk-shelf{
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    font-size: 12px;
    padding: 5px;
    width: 400px;
}

.shelf-head{
  padding: 10px 10px 8px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: grid;
  gap: 8px;
}

.shelf-title{
  font-weight: 600;
  font-size: 13px;
}

#domainFilter{
  width: 100%;
  padding: 7px 9px;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  font-size: 13px;
}

.domain-list{
  max-height: calc(100vh - 260px);
  overflow: auto;
}

.domain-item{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.domain-item:hover{
  background: rgba(11,99,206,.05);
}

.domain-item.active{
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: rgba(11,99,206,.05);
}

.domain-name{
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-count{
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  opacity: .8;
}

.risk-main{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.main-head{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 8px;
}

.main-title{
  font-weight: 600;
  font-size: 14px;
}

#riskUrlsTable{
  font-size: 10px;
}

#riskUrlsTable tbody tr { cursor: pointer; }

.cell-clip{
  overflow: hidden;
  line-break: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.btn {
    padding: 4px 10px;
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-size: 10px;
}

.domain-group { border-bottom: 1px solid rgba(0,0,0,.06); }

.url-list{
  padding: 4px 10px 10px 10px;
  display: grid;
  gap: 6px;
}

.url-item{
  width: 100%;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  border-radius: 10px;
  padding: 7px 9px;
  cursor: pointer;
  text-align: left;
}

.url-item:hover{
  background: rgba(11,99,206,.05);
}

.url-text{
  display: block;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

table{
    font-size: 10px;;
}

th, td {
    border-bottom: 1px solid #e5e5e5;
    padding: 4px !important;
    vertical-align: middle !important;
}
.url-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
}

.reason-text {
  color: #2e7d32; /* green */
}

.reason-path {
  color: #1565c0; /* blue */
}
.reason-icon svg{
    width: 14px;
    height: 14px;
}
.btn-danger {
  border-color: rgba(176,0,32,.35);
  color: #b00020;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-danger:hover { background: rgba(176,0,32,.06); }

.btn-warn {
  margin-left: 6px;
  border-color: rgba(233,162,59,.5);
  color: #8a5a00;
}

.btn-warn:hover { background: rgba(233,162,59,.12); }

.btn-exclude svg {
    width: 14px;
    height: 14px;
}
.reason-legend {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: rgba(0,0,0,.02);
  font-size: 12px;
}

.legend-title {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 12px;
  opacity: .8;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0;
}

.legend-item strong {
  font-weight: 600;
}