/* css/style_tab1.css */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: blue;
    color: white;
    margin: 20px;
    padding-bottom: 60px;
}
.page-title {
    text-align: center;
    background: linear-gradient(#ffffff, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.intro-text {
    max-width: 600px;
    margin: 0 auto 20px auto;
    text-align: center;
    background-color: white;
    color: blue;
    padding: 1rem;
    border-radius: 8px;
}
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}
.nav-btn {
    padding: 8px 16px;
    background-color: white;
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: 2px solid white;
    transition: all 0.2s ease;
}
.nav-btn:hover {
    background-color: transparent;
    color: white;
}
.widget-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    position: relative;
}
table.msg-table {
    width: 100%;
    border-collapse: collapse;
    color: #000;
}
.table-header-top { background-color: #0066cc; color: white; padding: 10px; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.header-title { font-weight: bold; font-size: 1.1rem; }
.header-controls { display: flex; align-items: center; gap: 8px; }
.header-controls select { padding: 2px 5px; font-size: 0.85rem; border-radius: 4px; border: none; color: black; }
.icon-btn { background: none; border: none; color: white; font-weight: bold; font-size: 1.1rem; cursor: pointer; padding: 0 4px; }
.icon-link { color: white; text-decoration: none; font-weight: bold; font-size: 1.1rem; }
.table-header-bottom { background-color: #004080; padding: 8px; }
.search-container { display: flex; align-items: center; background-color: white; border-radius: 4px; padding: 2px 6px; }
.search-container.disabled { background-color: #e0e0e0; cursor: not-allowed; }
.search-icon { margin-right: 5px; font-size: 0.9rem; color: #333; }
.search-input { border: none; width: 100%; font-size: 0.85rem; outline: none; background: transparent; color: black; }
.msg-table th, .msg-table td { border: 1px solid #0066cc; padding: 8px; vertical-align: top; font-size: 0.9rem; }
.col-meta { width: 18%; text-align: center; }
.col-body { width: 64%; text-align: left; }
.col-num  { width: 18%; text-align: center; font-size: 0.8rem; color: #0066cc; font-weight: bold; }
.data-row.visible-row:nth-child(even) { background-color: #fffde7; }
.data-row.visible-row:hover { background-color: #e6f0ff; }
dialog#settingsDialog {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    width: 85%;
    max-width: 340px;
    padding: 20px;
    background-color: #004080;
    color: white;
}
dialog#settingsDialog::backdrop { background-color: rgba(0, 0, 0, 0.6); }
.close-dialog { position: absolute; top: 10px; right: 15px; font-size: 1.5rem; cursor: pointer; color: white; }
.login-form { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.login-form input { padding: 8px; border-radius: 4px; border: none; color: black; }
.login-form button { padding: 8px; background-color: #fff; color: #004080; border: none; font-weight: bold; cursor: pointer; border-radius: 4px; }
#newsBadge {
    background-color: #ff3333; color: white; font-size: 0.7rem; padding: 2px 6px;
    border-radius: 10px; margin-left: 5px; vertical-align: middle; display: none; box-shadow: 0 0 4px #ff0000;
}
.infobox-row td { padding: 0; }
.infobox { padding: 10px; text-align: center; font-weight: bold; font-size: 0.85rem; display: block; }
.ib-1 { background-color: #f0f0f0; color: blue; }
.scroll-top-btn {
    position: fixed; bottom: 20px; right: 20px;
    background-color: #0066cc; color: white; border: 2px solid white;
    width: 40px; height: 40px; border-radius: 50%;
    display: none; justify-content: center; align-items: center; z-index: 99;
    font-size: 1.2rem; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
