*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#F1F5F9;
    display:flex;
}

/* Sidebar */

.sidebar{
    width:240px;
    min-height:100vh;
    background:#0B1F3A;
    color:#fff;
    padding:25px 15px;
}

.sidebar h2{
    margin-bottom:30px;
    font-size:32px;
}

.sidebar a{
    display:block;
    color:#E5E7EB;
    text-decoration:none;
    padding:12px 15px;
    border-radius:10px;
    margin-bottom:8px;
}

.sidebar a:hover{
    background:#14B8A6;
}

/* Main */

.main{
    flex:1;
    padding:25px;
}

.header{
    background:#fff;
    border-radius:18px;
    padding:22px;
    margin-bottom:20px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.header h2{
    font-size:34px;
}

.header small{
    color:#64748B;
}

/* Stats */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-bottom:20px;
}

.stat{
    background:#fff;
    border-radius:15px;
    padding:25px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.stat h3{
    font-size:36px;
    color:#0F766E;
}

.stat p{
    color:#64748B;
}

/* Card */

.card{
    background:#fff;
    border-radius:18px;
    padding:22px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

/* Form */

input,
textarea{
    width:100%;
    border:1px solid #D1D5DB;
    border-radius:10px;
    padding:12px;
    margin:10px 0 15px;
    font-size:15px;
}

textarea{
    min-height:120px;
    resize:vertical;
}

.btn{
    background:#16A34A;
    color:#fff;
    border:none;
    border-radius:10px;
    padding:12px 22px;
    cursor:pointer;
    font-size:16px;
}

.btn:hover{
    background:#15803D;
}

/* Table */

/* ===== PROFESSIONAL TABLE ===== */

.table{
    width:100%;
    border-collapse:collapse;
    border:1px solid #E5E7EB;
    border-radius:12px;
    overflow:hidden;
    margin-top:15px;
    table-layout:fixed;
    background:#fff;
}

.table th{
    background:#0F766E;
    color:#fff;
    padding:14px 12px;
    text-align:center;
    font-weight:600;
    border:1px solid #0B6B63;
}

.table td{
    padding:14px 12px;
    border:1px solid #E5E7EB;
    text-align:center;
    vertical-align:middle;
    word-break:break-word;
}

.table tr:nth-child(even){
    background:#F8FAFC;
}

.table tr:hover{
    background:#ECFDF5;
}
/* Mobile */

@media(max-width:900px){

body{
    flex-direction:column;
}

.sidebar{
    width:100%;
    min-height:auto;
}

.stats{
    grid-template-columns:repeat(2,1fr);
}

}


.sidebar a.active{
background:#14B8A6;
color:white;
font-weight:bold;
}

.btn-delete{
    background:#EF4444;
    color:#fff;
    padding:8px 14px;
    border-radius:8px;
    text-decoration:none;
    display:inline-block;
    font-size:14px;
}

.btn-delete:hover{
    background:#DC2626;
}


.toolbar{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.actions{
display:flex;
gap:10px;
}

.btn.blue{
background:#2563EB;
}

.btn.orange{
background:#EA580C;
}

.pagination{
display:flex;
justify-content:center;
gap:8px;
margin-top:20px;
}

.pagination a{
padding:8px 14px;
background:#E5E7EB;
border-radius:8px;
text-decoration:none;
color:#111827;
}

.active-page{
background:#0F766E!important;
color:white!important;
}

.btn-delete{
background:#EF4444;
color:white;
padding:8px 12px;
border-radius:8px;
text-decoration:none;
}

.btn-delete:hover{
background:#DC2626;
}

.contact-row{
padding:10px;
border-bottom:1px solid #eee;
}

.contact-row:hover{
background:#F0FDFA;
}

.btn.blue{
background:#2563EB;
}

.btn.orange{
background:#EA580C;
}


select{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:8px;
font-size:15px;
}

.contact-row{
border-bottom:1px solid #eee;
}

.contact-row:hover{
background:#F0FDFA;
}

.blue{background:#2563EB;}
.orange{background:#EA580C;}