body {
    background: #f5f7fb;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

/* MAIN */
.main-content {
    padding: 20px;
}

/* TOP BAR */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* SEARCH */
.search-box {
    position: relative;
    display: flex;
    gap: 8px;
}

.search-box input {
    width: 320px;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-box button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 5px;
    cursor: pointer;
}

.search-box button:hover {
    background: #2980b9;
}

/* SUGGESTIONS */
#suggestions {
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background: #f1f1f1;
}

/* ADD BUTTON */
.add-btn {
    background: #2ecc71;
    color: #fff;
    padding: 10px 14px;
    border-radius: 5px;
    text-decoration: none;
}

.add-btn:hover {
    background: #27ae60;
}

/* TABLE */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.table thead {
    background: #3c4657;
    color: #fff;
}

.table th, .table td {
    padding: 12px;
    text-align: center;
}

.table tbody tr {
    border-bottom: 1px solid #eee;
}

.table tbody tr:hover {
    background: #f9f9f9;
}

/* IMAGE */
.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

/* STATUS */
.status.active {
    color: #2ecc71;
    font-weight: bold;
}

.status.inactive {
    color: #e74c3c;
    font-weight: bold;
}

/* BUTTONS */
.btn-active, .btn-inactive {
    display: inline-block;
    font-size: 16px;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-active {
    background: #2ecc71;
    color: white;
}

.btn-active:hover {
    background: #27ae60;
}

.btn-inactive {
    background: #e74c3c;
    color: white;
}

.btn-inactive:hover {
    background: #c0392b;
}

/* SI NO STATUS INDICATOR */
td.si-no {
    text-align: left;
    padding-left: 12px;
    position: relative;
    font-weight: 500;
}

td.si-no .status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}


tbody tr.status-active {
    border-left: 6px solid #27ae60;
    background-color: #e5f9f0;
}

tbody tr.status-inactive {
    border-left: 6px solid #c0392b;
    background-color: #fde5e5;
}


tbody tr.status-pending {
    border-left: 6px solid #f39c12;
    background-color: #fff8f0;      
}

.action-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}

.btn-edit{
    background:#f39c12;
    color:#fff;
    padding:6px 10px;
    border-radius:5px;
    text-decoration:none;
    font-size:16px;
    transition:.3s;
}

.btn-edit:hover{
    background:#d68910;
}