﻿/* SWESUND EKONOMI - Audit-logg Premium v1 */

.v9-audit-shell{
  max-width:1520px;
  margin:0 auto;
  padding:26px 28px 56px;
  color:#182b3b;
}

.v9-audit-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}

.v9-audit-eyebrow{
  margin-bottom:7px;
  color:#a6854d;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
}

.v9-audit-hero h1{
  margin:0;
  color:#0d3554;
  font-size:31px;
  line-height:1.08;
  letter-spacing:-.035em;
}

.v9-audit-hero p{
  max-width:720px;
  margin:8px 0 0;
  color:#72808d;
  font-size:13px;
  line-height:1.6;
}

.v9-audit-btn{
  min-height:39px;
  padding:0 16px;
  border:1px solid #dbe2e8;
  border-radius:10px;
  background:#fff;
  color:#163e5d;
  font-weight:750;
  cursor:pointer;
}

.v9-audit-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:11px;
  margin-bottom:16px;
}

.v9-audit-summary-card{
  position:relative;
  min-height:92px;
  padding:14px 15px;
  overflow:hidden;
  border:1px solid #e1e6ea;
  border-radius:13px;
  background:#fff;
  box-shadow:0 7px 20px rgba(12,43,68,.035);
}

.v9-audit-summary-card:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:
    linear-gradient(
      90deg,
      #123f61,
      #c4a15e,
      transparent
    );
}

.v9-audit-summary-card span{
  color:#71818e;
  font-size:10px;
  font-weight:750;
}

.v9-audit-summary-card strong{
  display:block;
  margin-top:5px;
  color:#123b59;
  font-size:23px;
}

.v9-audit-summary-card small{
  display:block;
  margin-top:5px;
  color:#9aa3ab;
  font-size:9.5px;
}

.v9-audit-toolbar{
  display:grid;
  grid-template-columns:minmax(280px,1fr) 230px 145px;
  gap:10px;
  margin-bottom:14px;
}

.v9-audit-search{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:0 12px;
  border:1px solid #dce3e8;
  border-radius:10px;
  background:#fff;
}

.v9-audit-search span{
  margin-right:8px;
  color:#80909d;
}

.v9-audit-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#153a56;
  font-size:12px;
}

.v9-audit-toolbar select{
  min-height:40px;
  padding:0 10px;
  border:1px solid #dce3e8;
  border-radius:10px;
  background:#fff;
  color:#516878;
  font-size:11px;
  font-weight:650;
}

.v9-audit-panel{
  overflow:hidden;
  border:1px solid #e0e6ea;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 26px rgba(12,43,68,.04);
}

.v9-audit-table-wrap{
  overflow:auto;
}

.v9-audit-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:11px;
}

.v9-audit-table th,
.v9-audit-table td{
  padding:11px 12px;
  border-bottom:1px solid #edf0f2;
  text-align:left;
  vertical-align:middle;
}

.v9-audit-table th{
  background:#f8fafb;
  color:#647482;
  font-size:9px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.v9-audit-table th:nth-child(1){
  width:145px;
}

.v9-audit-table th:nth-child(2){
  width:190px;
}

.v9-audit-table th:nth-child(3){
  width:125px;
}

.v9-audit-table th:nth-child(4){
  width:170px;
}

.v9-audit-table th:nth-child(5){
  width:190px;
}

.v9-audit-table tbody tr:hover{
  background:
    linear-gradient(
      90deg,
      rgba(16,59,95,.025),
      rgba(197,161,93,.025)
    );
}

.v9-audit-date{
  color:#71808c;
  font-variant-numeric:tabular-nums;
}

.v9-audit-action{
  display:block;
  color:#153e5b;
  font-weight:760;
}

.v9-audit-table td small{
  display:block;
  margin-top:2px;
  color:#a0a8af;
  font-size:8.5px;
}

.v9-audit-id,
.v9-audit-user,
.v9-audit-meta{
  display:block;
  overflow:hidden;
  color:#6d7f8c;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v9-audit-user{
  color:#405f75;
}

.v9-audit-empty,
.v9-audit-error{
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:7px;
  color:#8a969f;
  text-align:center;
}

.v9-audit-empty-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  margin-bottom:4px;
  border-radius:13px;
  background:
    linear-gradient(
      145deg,
      #eef4f7,
      #f7f3ea
    );
  color:#315f7c;
  font-size:19px;
}

.v9-audit-empty strong,
.v9-audit-error strong{
  color:#38556b;
  font-size:13px;
}

.v9-audit-empty span,
.v9-audit-error span{
  font-size:11px;
}

@media(max-width:900px){
  .v9-audit-summary{
    grid-template-columns:1fr;
  }

  .v9-audit-toolbar{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  .v9-audit-shell{
    padding:20px 16px 40px;
  }

  .v9-audit-hero{
    flex-direction:column;
  }
}
