/* Global Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    width: 100%;
    background-color: #185a9d;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

/* Navigation Sidebar */
nav {
    background-color: #fff;
    border-right: 1px solid #ddd;
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 20px 0;
    text-align: left;
    padding: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #185a9d;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-radius: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
}

nav ul li a:hover {
    background-color: #f1f5f9;
}

nav ul li a.active {
    font-weight: bold;
    background-color: #e3efff;
}

/* Main Content */
main {
    margin-left: 250px;
    padding: 40px;
    flex: 1;
}

h1 {
    font-size: 2.5rem;
    color: #185a9d;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.8rem;
    color: #185a9d;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    color: #185a9d;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin: 10px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Table Styles for Hydronautes */
.hydronautes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

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

.hydronautes-table th {
    background-color: #185a9d;
    color: white;
    text-align: center;
}

.hydronautes-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.hydronautes-table tr:hover {
    background-color: #f1f1f1;
}

/* Photo and QR Code Styles */
.qr-code,
.photo-id {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

footer a {
    color: #185a9d;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}