/* General Reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4a90e2;
    color: #fff;
    padding: 10px 20px;
    height: 60px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo {
    background-color: #fff;
    color: #4a90e2;
    font-size: 1.5rem;
    font-weight: bold;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-transform: uppercase;
}

header .title {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

/* Layout Wrapper */
.layout {
    display: flex;
    flex: 1;
}

/* Sidebar */
.sidebar {
    background-color: #2c3e50;
    color: #ecf0f1;
    width: 15%;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #7f8c8d;
    padding-bottom: 5px;
}

.sidebar .table-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .table-list li {
    padding: 10px;
    background-color: #34495e;
    color: #ecf0f1;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: capitalize;
}

.sidebar .table-list li:hover {
    background-color: #1abc9c;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.main-content h1 {
    font-size: 1.8rem;
    color: #4a90e2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-content form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.main-content input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.main-content button {
    padding: 10px 15px;
    background-color: #1abc9c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.main-content button:hover {
    background-color: #16a085;
}

.main-content #results {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #ccc;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #4a90e2;
    color: #fff;
}

table tr:hover {
    background-color: #f2f2f2;
}

table td {
    color: #333;
}

/* Pagination Controls */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    background-color: #1abc9c;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.pagination a:hover {
    background-color: #16a085;
}

.pagination a.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.table-list {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

.table-list li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.table-list li:hover {
    background-color: #f0f0f0; /* Highlight on hover */
}

.table-logo {
    width: 24px;  /* Adjust logo size */
    height: 24px; /* Keep logos consistent */
    margin-right: 10px; /* Space between logo and text */
    object-fit: contain; /* Maintain image aspect ratio */
}

/* Responsive Design */
@media (max-width: 768px) {
    header .title {
        font-size: 1rem;
    }

    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .main-content {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header .logo {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    header .title {
        font-size: 0.9rem;
    }
}
