* { 
    box-sizing: border-box; 
}

html, body { 
    height: 100%; 
}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  line-height:1.4;
  background:#f6f7fb;
  color:#111;
}

img{ 
    max-width:100%; display:block; 
}

.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.main{ 
    padding: 24px 0 48px; 
}

h1{ 
    margin: 0 0 10px; font-size: 28px; 
}
h2{ 
    margin: 0 0 8px; font-size: 18px; 
}
p{ 
    margin: 0 0 10px; 
}

.muted{ 
    color:#666; 
}


.site-header{
  background:#fff;
  border-bottom:1px solid #e6e6ef;
  position: sticky;
  top:0;
  z-index: 10;
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 0;
}

.brand{
  font-weight:700;
  text-decoration:none;
  color:#111;
  font-size:20px;
  letter-spacing: .2px;
}

.nav{
  display:flex;
  gap:10px;
  align-items:center;
}

.nav a{
  text-decoration:none;
  color:#111;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nav a:hover{
  background:#f0f1f6;
  border-color:#ececf5;
}


.site-footer{
  background:#fff;
  border-top:1px solid #e6e6ef;
}

.footer-row{
  padding:16px 0;
  font-size:14px;
  color:#444;
}


.hero{ padding: 8px 0 18px; }

.hero-card{
  background:#fff;
  border:1px solid #e6e6ef;
  border-radius:16px;
  padding:18px;
}

.btn{
  display:inline-block;
  margin-top: 10px;
  background:#111;
  color:#fff;
  text-decoration:none;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid #111;
}

.btn:hover{
  background:#000;
}

.info{
  margin-top: 16px;
  background:#fff;
  border:1px solid #e6e6ef;
  border-radius:16px;
  padding:18px;
}

.bullets{ 
    margin: 10px 0 0; padding-left: 18px; 
}
.bullets li{ 
    margin: 6px 0; 
}


.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top: 16px;
}

.card{
  background:#fff;
  border:1px solid #e6e6ef;
  border-radius:16px;
  overflow:hidden;
}

.card img{
  width:100%;
  height:160px;
  object-fit:cover;
  background:#eef0f7;
}

.card-body{
  padding: 12px 12px 14px;
}

.tag{
  display:inline-block;
  font-size:12px;
  padding: 4px 8px;
  border-radius: 999px;
  background:#f0f1f6;
  margin: 0 0 8px;
}

.sub{
  color:#555;
  margin-top: 8px;
  font-size: 13px;
}


.form-card{
  background:#fff;
  border:1px solid #e6e6ef;
  border-radius:16px;
  padding:18px;
  margin-top: 12px;
  max-width: 700px;
}

.form-row{ 
    margin-bottom: 12px; 
}

label{
  display:block;
  font-weight:700;
  font-size:14px;
  margin-bottom: 6px;
}

input[type="text"], select{
  width:100%;
  padding: 10px 12px;
  border-radius:12px;
  border:1px solid #d9d9ea;
  outline:none;
  background:#fff;
}

input[type="text"]:focus, select:focus{
  border-color:#b9b9d6;
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.actions .btn{
  margin-top:0;
  cursor:pointer;
}


.table-wrap{
  background:#fff;
  border:1px solid #e6e6ef;
  border-radius:16px;
  padding: 12px;
  margin-top: 14px;
  overflow-x:auto;
}

table{
  width:100%;
  border-collapse:collapse;
  min-width: 560px;
}

th, td{
  text-align:left;
  padding:10px 10px;
  border-bottom:1px solid #eee;
  font-size:14px;
}

th{
  background:#f7f8fc;
  font-weight:700;
}

tr:hover td{ 
    background:#fafbff; 
}

.search-cta{
  margin-top: 16px;
}

.btn-search{
  display:inline-block;
  margin-top: 10px;
  background:#111;
  color:#fff;
  text-decoration:none;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid #111;
}

.btn-search:hover{
  background:#000;
  transform: translateY(-2px);
}

.icon{
  font-size:16px;
}


@media (max-width: 576px){
  .header-row{
    flex-direction: column;
    align-items: stretch;
  }

  .nav{
    width:100%;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
  }

  .nav a{
    text-align:center;
    padding:12px 10px;
    border-radius:14px;
    background:#f0f1f6;
    border:1px solid #e6e6ef;
  }

  .nav a:hover{
    background:#e9ebf6;
  }

  h1{ font-size:24px; }

  .grid{
    grid-template-columns: 1fr;
  }

  .card img{
    height: 180px;
  }

  .actions{
    flex-direction: column;
    align-items: stretch;
  }

  .btn{
    width:100%;
    text-align:center;
  }
}