/* Dark theme adjustments for dashboard page */
body {
    background: #272424;
    color: #e0e0e0;
}

.header-slider-wrapper {
    background: linear-gradient(to right, #4d4a4a, #312f2f);
    box-shadow: 0 0 15px rgba(0, 183, 235, 0.3);
    border-bottom: 1px solid rgba(0, 183, 235, 0.2);
}

header {
    background: transparent;
}

.logo {
    filter: drop-shadow(0 0 3px #00b7eb);
}

.menu-icon {
    color: #00b7eb;
    text-shadow: 0 0 5px #00b7eb;
}

.menu-icon:hover {
    color: #4d4a4a;
}

.context-menu {
    background: linear-gradient(to bottom, #4d4a4a, #312f2f);
    border: 1px solid rgba(0, 183, 235, 0.2);
    box-shadow: 0 0 10px rgba(0, 183, 235, 0.3);
    backdrop-filter: blur(5px);
}

.context-menu ul li {
    color: #e0e0e0;
}

.context-menu ul li:hover {
    background: rgba(77, 74, 74, 0.5);
    color: #00b7eb;
}

.modal {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(to bottom, #4d4a4a, #312f2f);
    border: 1px solid rgba(0, 183, 235, 0.2);
    box-shadow: 0 0 15px rgba(0, 183, 235, 0.3);
}

.modal-content h2 {
    color: #e0e0e0;
    text-shadow: 0 0 3px #00b7eb;
}

.modal-content input {
    background: rgba(77, 74, 74, 0.5);
    border: 1px solid rgba(0, 183, 235, 0.3);
    color: #e0e0e0;
}

.modal-content button {
    background: #00b7eb;
    color: #fff;
}

.modal-content button:hover {
    background: #4d4a4a;
}

/* Стили для парсинга */
.message-block {
    margin-bottom: 15px;
}

.user-message {
    color: #00b7eb;
    margin: 5px 0;
}

.model-response {
    color: #e0e0e0;
    margin: 5px 0;
}

.error-message {
    color: #ff5555;
    margin: 5px 0;
}

.response-heading {
    color: #00b7eb;
    margin: 10px 0 5px;
}

.response-list {
    margin: 10px 0;
    padding-left: 20px;
}

.response-list li {
    margin-bottom: 5px;
}

.response-text {
    margin: 5px 0;
}

pre {
    background: #312f2f;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 10px 0;
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #e0e0e0;
}

strong {
    color: #00b7eb;
}

/* Стили для изображений */
.image-block img {
    max-width: 100%;
    border-radius: 5px;
    margin: 10px 0;
}

.news-full {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    color: #333333;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.news-full h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #222222;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.news-full h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #00b7eb;
    border-radius: 3px;
}

.news-full p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #444444;
}

.news-full .news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-top: 25px;
}

.news-full .news-content p {
    margin-bottom: 1.5em;
}

.news-full img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-full img:hover {
    transform: scale(1.02);
}

.btn-gray {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333333;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 25px;
    transition: all 0.3s ease;
    border: 1px solid #dddddd;
}

.btn-gray:hover {
    background: #e0e0e0;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Стили для даты публикации */
.news-full p strong {
    color: #555555;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-full {
        padding: 20px;
        margin: 20px 15px;
    }
    
    .news-full h1 {
        font-size: 1.8rem;
    }
}