/*PRODUCT LIST PAGE */
.page-content {
    padding: 10px;
}
.page-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:4px;
}
.page-header h2{
    margin:0;
    font-size:18px;
    font-weight:700;
    line-height:1.2;
    color:#204028;
}
.page-header small{
    color:#6b7280;
    font-size:12px;
}
/* KPI CARDS */
.stats-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    margin-bottom:6px;
}
.stat-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:2px 6px;
    text-align:center;
    min-height:50px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    transition:.18s;
}
.stat-box:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.stat-box h4{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#204028;
    line-height:1;
}
.stat-box p{
    margin-top:4px;
    font-size:12px;
    color:#6b7280;
}
/* KPI CARD COLORS */
.accounts-card{
    background:linear-gradient(135deg,#dbeafe,#ffffff);
    border-left:5px solid #2563eb;
}
.active-card{
    background:linear-gradient(135deg,#dcfce7,#ffffff);
    border-left:5px solid #16a34a;
}
.contacts-card{
    background:linear-gradient(135deg,#fef3c7,#ffffff);
    border-left:5px solid #f59e0b;
}
.opportunity-card{
    background:linear-gradient(135deg,#fee2e2,#ffffff);
    border-left:5px solid #ef4444;
}
/* SEARCH */
.search-box{
    display:flex;
    gap:10px;
    margin-bottom:5px;
}
.search-box input{
    flex:1;
    height:34px;
    padding:8px 10px;
    font-size:10px;
    border:1px solid #d1d5db;
    border-radius:6px;
}
.search-box button{
    height:34px;
    padding:0 14px;
    font-size:10px;
    border:1px solid #204028;
    background:#fff;
    color:#204028;
    border-radius:6px;
    cursor:pointer;
}
.search-box button:hover{
    background:#204028;
    color:#FFD700;
}
/* TABLE */
.table-card{
    border-radius:14px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}
.accounts-table{
    width:100%;
    border-collapse:collapse;
    font-size:10.5px;
    margin-top:2px;
}
.accounts-table th{
    padding:4px 8px;
    font-size:10.5px;
    line-height:1.2;
    background:#1e293b;
    color:#fff;
    white-space:nowrap;
}
.accounts-table td{
    padding:4px 8px;
    font-size:10.5px;
    line-height:1.2;
    vertical-align:middle;
    border-top:1px solid #edf2f7;
}
.accounts-table tbody tr{
    height:11px;
    cursor:pointer;
    transition:.18s;
}
.accounts-table tbody tr:hover{
    background:#f8fafc;
}
.accounts-table tbody tr:hover td{
    background:#f8fafc;
}
.accounts-table td,
.accounts-table th{
    cursor:pointer;
}
.accounts-table a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}
.accounts-table a:hover{
    text-decoration:underline;
}
/*ACTION BUTTONS */
.actions {
    display: flex;
    gap: 8px;
}
.btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}
/* Theme-ready buttons */
.btn-view {
    background: #e8eafc;
    color: #3f51b5;
}
.btn-edit {
    background: #e6f4ea;
    color: #1e7e34;
}
.btn-primary{
    background:#204028;
    color:#FFD700;
    padding:8px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    border:none;
}
.btn-primary:hover{
    background:#2e5736;
}
