/* Global styles */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    /* background-color: #f9f9f9; */
    color: #333;
    line-height: 1.6;
    overflow-y: auto;
}

/* Headings */
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #013162;
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #013162;
    font-family: 'Montserrat', sans-serif;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Links */
a {
    text-decoration: none;
    color: #013162;
    transition: color 0.3s ease;
}

a:hover {
    color: #013162;
}

/* Active link style */
.active-link {
    font-weight: bold;
    color: #013162;
    text-decoration: underline;
}

/* Container for page layout */
.container {
    display: flex;
    height: 100%;
    gap: 20px;
}

/* Sidebar content */
.content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    overflow-y: auto;
    border-right: 1px solid #e0e0e0;
}

ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-link {
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
}

li:last-child {
    border-bottom: none;
}

li a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

li a:hover {
    font-weight: 600;
    color: #013162;
}

/* Iframe content container */
.iframe-container {
    flex: 3;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: auto;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .content {
        height: auto;
        box-shadow: none;
    }

    .iframe-container {
        height: auto;
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
    }
}

/* Basic table styling */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
}

/* Table header */
thead th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    background-color: #e0e0e0;
    border: 1px solid #ddd;
}

/* Table body */
tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

tbody td {
    padding: 12px 20px 12px 20px;
    border: 1px solid #ddd;
}

/* Alternating row colors */
tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Responsive table design */
@media screen and (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tbody tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        background-color: #fff;
    }

    tbody td {
        padding: 10px;
        text-align: right;
        position: relative;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    tbody td:last-child {
        border-bottom: none;
    }

    tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
        color: #555;
    }
}
