 body { font-family: 'Segoe UI', Arial, sans-serif; background: #f8f9fa; color: #333; margin: 0; padding: 20px; }
        .container { max-width: 1100px; margin: 0 auto; display: flex; gap: 30px; flex-wrap: wrap; }
        
        .main-content { flex: 2; min-width: 300px; }
        .header-title { font-size: 22px; margin-bottom: 20px; color: #0d6efd; border-bottom: 2px solid #0d6efd; padding-bottom: 8px; }
        
        .news-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .news-card h3 { margin-top: 0; font-size: 18px; }
        .news-card h3 a { color: #2c3e50; text-decoration: none; }
        .news-card h3 a:hover { color: #0d6efd; }
        .news-card p { color: #555; line-height: 1.5; font-size: 14px; }
        .news-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; font-size: 12px; color: #888; }
        .hide-btn { color: #dc3545; text-decoration: none; font-weight: bold; padding: 4px 8px; border: 1px solid #dc3545; border-radius: 4px; }
        .hide-btn:hover { background: #dc3545; color: #fff; }

        .sidebar { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 20px; }
        .card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .card h4 { margin-top: 0; color: #333; text-align: center; }
        
        .admin-form input { width: 100%; padding: 8px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
        .admin-form button { width: 100%; padding: 8px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; }
        .btn-login { background: #0d6efd; color: #fff; }
        .btn-logout { background: #6c757d; color: #fff; }
        .error-msg { color: #dc3545; font-size: 12px; margin-bottom: 8px; text-align: center; }
		
		/* Контейнер для кнопок */
.nav-buttons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Базовый стиль кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Segoe UI', Arial, sans-serif;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
/* УНИВЕРСАЛЬНАЯ КНОПКА "ГЛАВНАЯ" (Белая полупрозрачная / Матовое стекло) */
.btn-primary {
    background-color: rgba(255, 255, 255, 0.95);
    color: #41424C;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px); /* Эффект размытия фона */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #0b5ed7;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* УНИВЕРСАЛЬНАЯ КНОПКА "КОНТАКТЫ" / "ВТОРОСТЕПЕННАЯ" (Контурная с темной подложкой) */
.btn-outline {
    background-color: rgba(33, 37, 41, 0.75); /* Тёмная полупрозрачная плашка для читаемости */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
    background-color: rgba(33, 37, 41, 0.9);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.btn-outline:active {
    transform: translateY(0);
}

/* Поддержка иконок внутри кнопок */
.btn svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn:hover svg {
    transform: scale(1.1);
}



.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6c757d;
}

/* Row Number Badge */
.row-number {
    background-color: #e9ecef;
    color: #495057;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: monospace, sans-serif;
}

/* Time display with clock icon */
.news-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

/* Ссылка на заголовок */
.news-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: #0d6efd;
}

/* Метка домена в мета-строке */
.news-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    text-decoration: none;
    font-size: 12px;
    background: #f1f3f5;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.news-source:hover {
    background: #e9ecef;
    color: #0d6efd;
}

/* Нижний блок карточки */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f1f3f5;
}

/* Кнопка перехода к оригиналу */
.read-more-btn {
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.read-more-btn:hover {
    text-decoration: underline;
    transform: translateX(3px);
}



.search-bar-container {
    margin: 15px 0 20px 0;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    max-width: 450px;
}

.search-input-wrapper svg {
    position: absolute;
    left: 12px;
    color: #6c757d;
}

.search-input-wrapper input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input-wrapper input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}