:root{
  --bg-main:#f9fafb;
  --bg-surface:#ffffff;
  --bg-soft:#f3f4f6;

  --text-main:#111827;
  --text-secondary:#4b5563;
  --text-muted:#6b7280;

  --accent:#2563eb;
  --accent-hover:#1e40af;

  --border:#e5e7eb;

  --shadow-soft:0 4px 12px rgba(0,0,0,0.05);
  --shadow-medium:0 6px 18px rgba(0,0,0,0.08);

  --font-main:"Segoe UI",Tahoma,sans-serif;

  --radius:12px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:var(--font-main);
  background:var(--bg-main);
  color:var(--text-main);
  line-height:1.6;
}

.container{
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:20px;
}

.section{
  padding:60px 20px;
}

h1,h2,h3,h4,h5,h6{
  font-weight:700;
  margin-bottom:12px;
  color:var(--text-main);
}

p{
  color:var(--text-secondary);
}

.grid{
  display:grid;
  gap:24px;
}

.grid-2{ grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
.grid-3{ grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.grid-4{ grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }

.card{
  background:var(--bg-surface);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow-soft);
  transition:all .3s ease;
  overflow:hidden;
}

.card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow-medium);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 24px;
  border-radius:var(--radius);
  font-weight:600;
  cursor:pointer;
  border:none;
  text-decoration:none;
  transition:all .3s ease;
  white-space:nowrap;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:var(--shadow-soft);
}

.btn-primary:hover{
  background:var(--accent-hover);
  transform:translateY(-1px);
}

.btn-outline{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text-main);
}

.btn-outline:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.table-wrapper{
  width:100%;
  overflow-x:auto;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--bg-surface);
}

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

th, td{
  padding:16px;
  border-bottom:1px solid var(--border);
  text-align:left;
  white-space:nowrap;
}

th{
  background:var(--bg-soft);
  font-weight:600;
}

tr:hover{
  background:var(--bg-soft);
}

input, select, textarea{
  width:100%;
  padding:14px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--bg-surface);
  font-family:var(--font-main);
  outline:none;
  transition:border .3s ease, box-shadow .3s ease;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 6px rgba(37,99,235,0.3);
}

.form-group{
  margin-bottom:20px;
}

.flex{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.flex-between{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
}

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

section h2{
  font-size:32px;
  text-align:center;
  margin-bottom:32px;
  color:var(--text-main);
  position:relative;
}

section h2::after{
  content:"";
  display:block;
  width:60px;
  height:4px;
  background:var(--accent);
  margin:12px auto 0;
  border-radius:2px;
}

footer{
  text-align:center;
  padding:25px;
  color:var(--text-muted);
}

@media (max-width:768px){
  .container{
    padding:15px;
  }
  .btn{
    width:100%;
  }
  table{
    font-size:14px;
  }
  section h2{
    font-size:26px;
  }
}
