/* plato.css - Clean and high-tech stylesheet for your website */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    background-color: #F0F4F8;
    color: #1C1C1C;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    margin-left: 0.75in; /* 0.75 inch on the left */
    margin-right: 0.75in; /* 0.75 inch on the right */
    margin-top: 0; /* No top margin */
    margin-bottom: 0.75in; /* Optional bottom margin if needed */
    padding: 20px;
}

/* Ensure that <code> tags use Courier New */
code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em; /* Optional: adjust the font size if needed */
    padding: 2px 4px;
    border-radius: 3px;
    background-color: #f3f4f6; /* Optional: keep or adjust background color */
}

#statusBox, #gdeltStatusBox {
    width: 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    padding: 10px;
    color: #1C1C1C;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#statusBox img, #gdeltStatusBox img {
    width: 100px;
    height: 100px;
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 10px;
    object-fit: contain;
}

#statusBox .sync-title, #gdeltStatusBox .sync-title,
#statusBox .status-message, #gdeltStatusBox .status-message {
    font-size: 1.2em;
    font-weight: 700;
    margin: 0;
    align-self: center;
    text-transform: uppercase;
}

.success, .failure, .error {
    background: none !important;
}

.success {
    background-color: #DFF2BF !important;
    border: 2px solid #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.failure {
    background-color: #FFBABA !important;
    border: 2px solid #F44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.5);
}

.error {
    background-color: #FFE6CC !important;
    border: 2px solid #FF9800;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

#syncinfo, #gdeltSyncInfo {
    font-size: 0.85em;
    color: #555;
}


/* Command Bar Styling */
.command-bar {
    background-color: #1C1C1C;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.command-bar a, .command-bar span {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.command-bar a:hover {
    background-color: #4CAF50;
}

.command-bar span {
    cursor: default;
    background-color: #555555;
}

/* General Table Styling */
table.general-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table.general-table th, table.general-table td {
    border: 1px solid #888;
    padding: 10px;
}

table.general-table th {
    background-color: #E0E0E0;
    color: #1C1C1C;
    font-weight: bold;
}

/* Center text in the Name column */
table.general-table td:first-child {
    text-align: center;
    font-weight: bold; /* Optional: Keep text bold */
    color: #333; /* Paler than black */
}

/* Left justify text in the Download column */
table.general-table td:last-child {
    text-align: left;
}

/* Link color inside the general table */
table.general-table a {
    color: #3AAFA9; /* Moonstone color */
    text-decoration: none;
}

table.general-table a:hover {
    color: #2B7A78; /* Slightly darker on hover */
    text-decoration: underline;
}

/* Checksum Styling */
.checksum {
    font-size: 0.7em;
    color: #888888;
}

/* Table Of Contents Styling */
.toc {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
}

.toc ul {
    list-style-type: none;
    padding-left: 20px;
}

code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
}

pre {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
}