@charset "utf-8";
/* CSS Document */

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

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center; /* Center non-table inline content - from first CSS */
}

/* Navigation styles */
.topnav {
    overflow: hidden;
    background-color: #333; /* From first CSS */
    display: flex;
    justify-content: center; /* Center navigation links - from first CSS */
}

.topnav a {
    color: #f2f2f2;
    text-align: center;
    padding: 14px 8px; /* Reduced horizontal padding from 16px to 8px */
    text-decoration: none;
    font-size: 14px;
    margin: 0 2px; /* Added a small margin to maintain minimal spacing */
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Alternative navigation styles from second CSS */
.nav-container {
    width: 100%;
    background-color: #000000;
    display: flex;
    flex-wrap: nowrap;
}

.nav-row {
    display: flex;
    flex: 1;
}

.nav-row:first-child {
    border-right: 1px solid #ffffff;
}

.nav-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.nav-item:last-child {
    border-right: none;
}

.nav-link {
    display: block;
    padding: 15px 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
}

.nav-link:hover {
    background-color: #ddd;
    color: black;
}

.nav-link.active {
    background-color: #04AA6D;
    color: white;
}

/* Container and table styles */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.table-responsive {
    display: inline-block;
    margin: auto;
}

.table {
    text-align: left;
    margin: 0;
}

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

.table th {
    background-color: #e6e6fa;
    color: #333;
}

.responsive {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: 20px auto;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .nav-row:first-child {
        border-right: none;
        border-bottom: 1px solid #ffffff;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 12px 5px;
    }
}

@media screen and (max-width: 400px) {
    .nav-link {
        font-size: 12px;
        padding: 10px 2px;
    }
}

/* Footer icon styles */
.icon-footer {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin-top: 30px;
}

.icon-footer a {
    color: #000;
    margin: 0 20px;
    font-size: 24px;
    text-decoration: none;
}

.icon-footer a:hover {
    color: #04AA6D;
}

/* Responsive styles for footer */
@media screen and (max-width: 768px) {
    .icon-footer {
        padding: 15px 0;
    }
    
    .icon-footer a {
        margin: 0 15px;
        font-size: 22px;
    }
}

@media screen and (max-width: 400px) {
    .icon-footer a {
        margin: 0 12px;
        font-size: 20px;
    }
}