
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

nav {
    background-color: #343a40;
    color: white;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffc107;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

h2 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1rem;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #007bff;
    color: white;
    
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 0.9rem;
    margin: 0;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

div {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav a {
        font-size: 1rem;
        margin: 0 10px;
    }

    table th, table td {
        font-size: 0.9rem;
        padding: 5px;
    }
}

/* Add hover effect for table rows */
table tr:hover {
    
}

/* Highlight table rows on hover */
table tr:hover {
    background-color: #f0f8ff; /* Light blue highlight */
    cursor: pointer;
}


/* Set pointer style to default */
table td:nth-child(2), /* RTK Name */
table td:nth-child(3), /* AlphaFold 2 */
table td:nth-child(4), /* Ligand Interaction */
table td:nth-child(5), /* 3D Fold */
table td:nth-child(6), /* UniProt */
table.index td:nth-child(2) { /* Receptors column in index */
    cursor: default;
}


/* Center align the text in the Structure View column */
table td:nth-child(7) {
    text-align: center;
}
