:root{

--primary:#1E3A8A;
--secondary:#2563EB;
--success:#16A34A;
--danger:#DC2626;
--warning:#F59E0B;
--dark:#111827;
--light:#F8FAFC;
--border:#E5E7EB;

}

*{

margin:0;
padding:0;
box-sizing:border-box;

}

body{

font-family:'Segoe UI',sans-serif;
background:#f4f6f9;
color:#222;

}

.section-title{

font-size:26px;
font-weight:700;
margin-bottom:20px;

}

.content-card{

background:#fff;
padding:20px;
border-radius:12px;
margin-bottom:20px;
box-shadow:0 2px 10px rgba(0,0,0,.05);

}

.form-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;

}

label{

display:block;
margin-bottom:8px;
font-weight:600;

}

input,
select,
textarea{

width:100%;
padding:12px;
border:1px solid var(--border);
border-radius:8px;
outline:none;

}

input:focus,
select:focus,
textarea:focus{

border-color:var(--secondary);

}

.table{

width:100%;
border-collapse:collapse;

}

.table th{

background:var(--primary);
color:#fff;
padding:12px;
text-align:left;

}

.table td{

padding:12px;
border-bottom:1px solid #eee;

}

.table tr:hover{

background:#f9fafb;

}

.table-responsive{

overflow:auto;

}

.actions{

display:flex;
gap:10px;
flex-wrap:wrap;

}

.btn{

padding:10px 18px;
border:none;
border-radius:8px;
cursor:pointer;
font-weight:600;
transition:.3s;

}

.btn:hover{

transform:translateY(-1px);

}

.btn-primary{

background:var(--primary);
color:#fff;

}

.btn-success{

background:var(--success);
color:#fff;

}

.btn-danger{

background:var(--danger);
color:#fff;

}

.btn-warning{

background:var(--warning);
color:#fff;

}

.badge{

padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:bold;

}

.badge-success{

background:#DCFCE7;
color:#166534;

}

.badge-warning{

background:#FEF3C7;
color:#92400E;

}

.badge-danger{

background:#FEE2E2;
color:#991B1B;

}

.flex{

display:flex;

}

.justify-between{

justify-content:space-between;

}

.align-center{

align-items:center;

}

.mb-2{

margin-bottom:15px;

}

.mb-3{

margin-bottom:20px;

}

.mb-4{

margin-bottom:30px;

}

#loader{

display:none;
position:fixed;
top:0;
left:0;
right:0;
bottom:0;
background:rgba(255,255,255,.7);
justify-content:center;
align-items:center;
z-index:9999;

}

.spinner{

width:55px;
height:55px;
border:6px solid #ddd;
border-top:6px solid var(--primary);
border-radius:50%;
animation:spin 1s linear infinite;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}

}

@media(max-width:768px){

.form-grid{

grid-template-columns:1fr;

}

.table{

min-width:900px;

}

.actions{

flex-direction:column;

}

.btn{

width:100%;

}

}