*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}

body{
background:#f4f7fb;
color:#111;
}

.container{
max-width:1500px;
margin:auto;
}

.header{
background:#fff;
padding:20px;
border-radius:14px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
margin-bottom:20px;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:15px;
}

.title{
font-size:28px;
font-weight:bold;
}

.btn{
background:#4285f4;
border:none;
padding:12px 18px;
border-radius:10px;
cursor:pointer;
font-weight:600;
color:#000;
transition:.2s;
}

.btn:hover{
transform:translateY(-2px);
opacity:.95;
}

.btn-outline{
background:#fff;
border:2px solid #4285f4;
}

.card{
background:#fff;
padding:20px;
border-radius:14px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
margin-bottom:20px;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
}

label{
display:block;
margin-bottom:8px;
font-weight:600;
}

input,select{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:10px;
margin-bottom:10px;
}

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

.stat{
background:#f5f8ff;
padding:20px;
border-radius:12px;
text-align:center;
}

.stat h2{
font-size:28px;
margin-bottom:5px;
}

.rule{
display:grid;
grid-template-columns:1fr 1fr 1fr auto;
gap:10px;
margin-bottom:15px;
}

.table-wrap{
overflow:auto;
}

table{
width:100%;
border-collapse:collapse;
margin-top:15px;
}

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

th{
background:#4285f4;
color:#000;
}

.tag{
display:inline-block;
padding:4px 8px;
background:#4285f4;
border-radius:20px;
font-size:12px;
margin:2px;
}

.top-actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.search-box{
margin-top:10px;
}

.progress{
height:12px;
background:#eee;
border-radius:20px;
overflow:hidden;
margin-top:10px;
}

.progress div{
height:100%;
background:#4285f4;
width:0%;
transition:.3s;
}

@media(max-width:768px){

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

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

}