body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 200px; /* Reduced the width */
    background-color: #2c3e50;
    padding: 20px;
    color: #ecf0f1;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 160px; /* Adjusted the width */
    height: auto;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: #ecf0f1;
    text-decoration: none;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    margin-left: 220px; /* Reduced the left margin */
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.full-page-container {
    display: flex;
    height: calc(100vh - 40px); /* Adjust height based on any padding/margin */
    width: 100%;
}

.full-page-iframe {
    width: 60%;
    height: 100%;
    border: none;
}

.json-viewer {
    width: 40%;
    height: 100%;
    overflow: auto;
    padding-left: 20px;
}

h1 {
    color: #34495e;
    font-size: 36px;
    margin-bottom: 20px;
}

h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    color: #34495e;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 18px;
}

.cta-btn:hover {
    background-color: #2980b9;
}

.green-btn {
    background-color: #28a745;  /* Green color */
}

.green-btn:hover {
    background-color: #218838;  /* Darker green on hover */
}

.pdf-json-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.toolbar {
    text-align: right;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #f1f1f1;
}

#pdf-viewer {
    border: 1px solid #ccc;
}

#json-viewer pre {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    padding: 10px;
}

.file-list {
    max-height: 400px;  /* Adjust the height as needed */
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
}

.file-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.file-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.file-list li a {
    text-decoration: none;
    color: #007bff;
}

.file-list li a:hover {
    text-decoration: underline;
}

.file-list li span {
    color: #555;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;  /* Green color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.modal-btn:hover {
    background-color: #218838;  /* Darker green on hover */
}

#loading {
    display: block;
    margin: 20px auto;
    width: 50px;
    height: 50px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
}

.btn-primary {
    background-color: #007bff;
}

.btn-secondary {
    background-color: #6c757d;
}

.buttons-container {
    margin-top: 20px;
}

