body {
    background-color: #0b1c33;
    color: #000000;
    font-family: "Courier New", Courier, monospace, Arial;
    margin: 15px;
    padding: 0;
}

.main-window {
    background-color: #d4d4d4; 
    border: 2px solid #ffffff;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.6);
    max-width: 1100px;
    margin: 0 auto;
}

header {
    background: #ffffff;
    color: #000000;
    padding: 20px;
    border-bottom: 3px double #808080;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    background: linear-gradient(90deg, #ffffff 0%, #007042 100%);
    padding: 8px 25px;
    border: 1px solid #808080;
    box-shadow: inset -1px -1px 2px #000;
}

.logo-text {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px #000;
}

.ticker {
    background-color: #000000;
    color: #00ff00; 
    font-weight: bold;
    padding: 4px;
    border-bottom: 2px solid #808080;
    font-size: 13px;
}

.workspace {
    display: flex;
    background-color: #ffffff;
}

nav {
    width: 220px;
    background-color: #e8e8e8;
    border-right: 2px solid #808080;
    padding: 15px;
    flex-shrink: 0;
}

nav h3 {
    font-size: 12px;
    color: #444444;
    border-bottom: 1px solid #808080;
    padding-bottom: 3px;
    margin-bottom: 12px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

nav ul li { 
    margin-bottom: 10px; 
}

nav ul li a {
    display: block;
    background: linear-gradient(90deg, #ffffff 15%, #007042 100%);
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    padding: 6px 10px;
    text-align: right;
    border: 1px solid #808080;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    transition: all 0.15s ease;
}

nav ul li a:hover {
    background: linear-gradient(90deg, #ffffff 0%, #00b366 100%);
    color: #ffffff;
    text-shadow: 1px 1px 1px #000;
    padding-right: 15px;
}

nav ul li a.passport-btn,
.passport-btn {
    background: linear-gradient(90deg, #ffffff 15%, #d4a373 100%) !important;
    border: 1px solid #b58253 !important;
    color: #000000 !important;
}

nav ul li a.passport-btn:hover,
.passport-btn:hover {
    background: linear-gradient(90deg, #ffffff 0%, #ffcc00 100%) !important;
    color: #000000 !important;
    text-shadow: 1px 1px 1px #ffffff !important;
}

main {
    flex: 1;
    padding: 25px;
    background-color: #ffffff;
    min-width: 0;
}

.news-title {
    margin-top: 0;
    background: linear-gradient(90deg, #ffffff 10%, #007042 100%);
    color: #ffffff;
    text-shadow: 1px 1px 2px #000;
    padding: 5px 15px;
    font-size: 18px;
    border: 1px solid #808080;
    text-align: right;
}

.news-post {
    border: 1px solid #808080;
    background-color: #fafafa;
    padding: 15px;
    margin-bottom: 20px;
}

.news-meta {
    font-size: 11px;
    color: #666666;
    border-bottom: 1px dashed #808080;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

.news-image-frame {
    border: 3px inset #ffffff;
    background-color: #c0c0c0;
    padding: 4px;
    margin: 15px auto;
    display: block;
    max-width: 450px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.tv-screen-frame {
    border: 4px outset #ffffff;
    background-color: #222222;
    padding: 8px;
    margin-top: 15px;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.5);
}

.tv-kineskop {
    border: 3px inset #000000;
    background-color: #051122;
    overflow: hidden;
}

.news-image-frame img,
.tv-kineskop img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #000000;
}

.sidebar-right {
    width: 220px;
    background-color: #e8e8e8;
    border-left: 2px solid #808080;
    padding: 15px;
    flex-shrink: 0;
}

.widget {
    background: #ffffff;
    border: 1px solid #808080;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.widget-title {
    background: linear-gradient(90deg, #ffffff 0%, #0b1c33 100%);
    color: white;
    text-shadow: 1px 1px 1px #000;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 12px;
    text-align: right;
    border-bottom: 1px solid #808080;
}

.currency-table {
    width: 100%; 
    font-size: 12px; 
    border-collapse: collapse;
    margin-top: 5px;
}

.currency-table td {
    padding: 3px 0;
}

footer {
    background-color: #0b1c33;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    border-top: 2px solid #808080;
}

.tv-grid-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 12px;
}

.tv-grid-table th {
    background: linear-gradient(90deg, #ffffff 0%, #0b1c33 100%);
    color: white;
    text-shadow: 1px 1px 1px #000;
    padding: 6px;
    border: 1px solid #808080;
    text-align: right;
}

.tv-grid-table td {
    padding: 8px;
    border: 1px solid #808080;
    background-color: #ffffff;
    vertical-align: top;
}

.tv-time-cell {
    font-weight: bold;
    color: #007042; 
    width: 60px;
}

.tv-show-title {
    font-weight: bold;
    color: #0b1c33;
    margin-bottom: 4px;
}

.tv-show-desc {
    color: #444444;
    font-size: 11px;
    line-height: 1.4;
}

.regional-studios-box {
    margin-top: 25px;
    border: 1px solid #808080;
    background-color: #f4f4f4;
    padding: 15px;
}

.parliament-chart {
    display: flex;
    width: 100%;
    height: 35px;
    border: 1px solid #808080;
    margin: 20px 0;
    background-color: #d4d4d4;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2);
}

.parliament-chart div {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.parliament-chart div:hover { 
    opacity: 0.8; 
}

.p-lppnr  { width: 28.46%; background-color: #0099cc; }
.p-dsp    { width: 19.23%; background-color: #cc3333; }
.p-kdpnr  { width: 11.54%; background-color: #0000bb; }
.p-plkn   { width: 8.46%;  background-color: #ff9999; }
.p-pns    { width: 7.38%;  background-color: #4a4a4a; }
.p-rkp    { width: 5.38%;  background-color: #ff0000; }
.p-zpnr   { width: 4.62%;  background-color: #339933; }
.p-ctp    { width: 4.15%;  background-color: #00ffff; }
.p-baas   { width: 3.85%;  background-color: #99cc99; }
.p-nbp    { width: 3.38%;  background-color: #800020; }
.p-efp    { width: 1.85%;  background-color: #1a331a; }
.p-lmppnr { width: 1.54%;  background-color: #ffff33; }
.p-sapnr  { width: 1.54%;  background-color: #b0b0b0; }
.p-oth    { width: 0.92%;  background-color: #111111; }
.p-pas    { width: 0.77%;  background-color: #ffcc00; }
.p-app    { width: 0.77%;  background-color: #4b3621; }

.party-legend-huge {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
    margin-bottom: 25px;
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #808080;
}

.legend-item-huge {
    display: flex;
    align-items: center;
    font-size: 11px;
}

.color-box {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border: 1px solid #000;
    flex-shrink: 0;
}

.rada-table-huge {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 15px;
}

.rada-table-huge th {
    background: linear-gradient(90deg, #ffffff 0%, #0b1c33 100%);
    color: white;
    padding: 6px;
    border: 1px solid #808080;
    text-align: right;
}

.rada-table-huge td {
    padding: 6px;
    border: 1px solid #808080;
    background-color: #ffffff;
}

.interactive-map-box {
    border: 1px solid #808080;
    background-color: #0b1c33; 
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.map-btn {
    background: linear-gradient(90deg, #ffffff 15%, #007042 100%);
    border: 1px solid #ffffff;
    color: #000000;
    padding: 8px;
    font-family: "Courier New", monospace;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    transition: all 0.1s ease;
}

.map-btn:hover {
    background: linear-gradient(90deg, #ffffff 0%, #00b366 100%);
    transform: translateY(-1px);
}

.info-panel {
    border: 1px solid #808080;
    background-color: #fcfcfc;
    padding: 15px;
    min-height: 140px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.info-header {
    background: linear-gradient(90deg, #ffffff 0%, #0b1c33 100%); 
    color: white;
    text-shadow: 1px 1px 1px #000;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: right;
    margin-bottom: 10px;
    border: 1px solid #808080;
}

.info-text {
    font-size: 12px;
    line-height: 1.6;
}

.encoding-panel {
    background-color: #ffffff;
    color: #000000;
    padding: 6px;
    font-size: 11px;
    text-align: center;
    border: 1px solid #808080;
    margin-bottom: 15px;
}

.encoding-btn {
    background: #ffffff;
    color: #000000;
    border: 1px solid #808080;
    padding: 2px 5px;
    margin: 0 2px;
    cursor: pointer;
    font-size: 10px;
}

.form-container {
    border: 1px solid #808080;
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 15px;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
    position: relative; 
    z-index: 9999 !important; 
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
}

.form-group input[type="text"], 
.form-group input[type="email"], 
.form-group select {
    width: 100%;
    padding: 6px;
    font-family: "Courier New", monospace;
    font-size: 13px;
    border: 1px solid #808080;
    background-color: #ffffff;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus, 
.form-group input[type="email"]:focus, 
.form-group select:focus {
    background-color: #ffffcc; 
    outline: none;
}

.submit-btn {
    background: linear-gradient(90deg, #ffffff 15%, #007042 100%);
    color: #000000;
    font-family: "Courier New", monospace;font-weight: bold;padding: 8px 20px;border: 1px solid #808080;cursor: pointer;box-shadow: 1px 1px 2px rgba(0,0,0,0.3);}.submit-btn:hover {background: linear-gradient(90deg, #ffffff 0%, #00b366 100%);color: #ffffff;}
    .ad-banner-box {
    border: 1px dashed #808080;
    background-color: #fcfcfc;
    padding: 8px;
    margin-bottom: 12px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.ad-banner-title {
    font-size: 10px;
    color: #666666;
    letter-spacing: 1px;
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 2px;
    margin-bottom: 5px;
    text-align: center;
}

.ad-banner-text {
    font-size: 11px;
    line-height: 1.3;
    color: #111111;
}

.ad-link {
    color: #007042;
    font-weight: bold;
    text-decoration: underline;
}
.ad-image-banner {
    border: 2px outset #ffffff;
    background-color: #c0c0c0;
    padding: 3px;
    margin-bottom: 15px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    display: block;
}
.ad-image-banner img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #000000;
}
body {
    background-image: url('загруженное (52).jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: #000000;
    font-family: "Courier New", Courier, monospace, Arial;
    margin: 15px;
    padding: 0;
}