/* ogh*/

/* General Reset */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Container styling */


/* Box primary */
.box-primary {
    border: none;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
}

/* Filter row */
form .row {
    gap: 10px;
}

form .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 8px 12px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Button styling */
.btn {
    border-radius: 8px;
    padding: 8px 16px;
    transition: background-color 0.3s, box-shadow 0.2s;
    font-weight: 500;
}

.btn-warning {
    background-color: #ffc107;
    border: none;
    color: #212529;
}

.btn-primary {
    background-color: #007bff;
    border: none;
}

.btn:hover {
    opacity: 0.9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Table styling */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 800;
}

.result-table th,
.result-table td {
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    text-align: center;
}

.result-table th {
    background-color: rgb(65, 103, 121);
    font-weight: 800;
    color: #ffffff;
}
/* Fix first column */
.result-table th:first-child,
.result-table td:first-child {
    position: sticky;
    left: 0;
    background-color: rgb(65, 103, 121);
    color: #ffffff;
    z-index: 2;
}

   /* Ensure header is above body cells */
   .result-table th:first-child {
       z-index: 3;
   }

.result-table tr:nth-child(even) {
    background-color: #aabdb0;
}

.result-table tr:hover {
    background-color: #8e9aa7;
   
}

/* Pagination styling */
.pagination {
    gap: 5px;
}

.page-item .page-link {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    color: #007bff;
    padding: 6px 12px;
    transition: all 0.2s ease-in-out;
}

.page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-item .page-link:hover {
    background-color: #e2e6ea;
    color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-md-2,
    .col-md-4,
    .col-md-8,
    .col-md-12 {
        width: 100%;
        max-width: 100%;
    }

    .result-table th,
    .result-table td {
        font-size: 12px;
        padding: 8px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

     

}


