/* ===== Страница «Локальные нормативные акты» ===== */
.local-acts-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.local-acts-page h1 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a3c34;
    margin-bottom: 20px;
    line-height: 1.2;
}

.local-acts-page .back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #9b2f2f;
    text-decoration: none;
    font-weight: 500;
}
.local-acts-page .back-link:hover { text-decoration: underline; }

/* ---- Уведомления ---- */
.la-alert {
    padding: 12px 18px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}
.la-alert--ok    { background: #e6ffe6; color: #006600; border: 1px solid #b7e4b7; }
.la-alert--error { background: #ffe6e6; color: #b00020; border: 1px solid #f3bcbc; }

/* ---- Панель администратора ---- */
.la-admin-panel {
    background: #fff;
    border: 1px dashed #9b2f2f;
    border-radius: 20px;
    padding: 24px 26px;
    margin-bottom: 32px;
}
.la-admin-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #9b2f2f;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---- Формы ---- */
.la-form { margin: 14px 0; }
.la-form--inline { margin: 0; }
.la-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}
.la-form-row label {
    font-weight: 600;
    color: #2c3e3a;
    min-width: 140px;
}
.la-form-row input[type="text"],
.la-form-row input[type="file"] {
    flex: 1 1 260px;
    padding: 10px 16px;
    border: 1px solid #ddd2c4;
    border-radius: 24px;
    font-size: 0.95rem;
    background: #fff;
    font-family: inherit;
}
.la-form-row input[type="text"]:focus,
.la-form-row input[type="file"]:focus {
    outline: none;
    border-color: #9b2f2f;
}

/* ---- Кнопки ---- */
.la-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 24px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.25s;
    font-family: inherit;
    line-height: 1.2;
}
.la-btn--primary { background: #1a2c3c; color: #fff; }
.la-btn--primary:hover { background: #9b2f2f; transform: translateY(-1px); }

.la-btn--ghost {
    background: transparent;
    border-color: #ddd2c4;
    color: #2c3e3a;
}
.la-btn--ghost:hover { border-color: #9b2f2f; color: #9b2f2f; }

.la-btn--danger {
    background: transparent;
    border-color: #e0b4b4;
    color: #b00020;
}
.la-btn--danger:hover { background: #b00020; color: #fff; border-color: #b00020; }

/* ---- Раздел ---- */
.la-section {
    background: #fff;
    border: 1px solid #ece1d4;
    border-radius: 24px;
    padding: 28px 30px;
    margin-bottom: 26px;
}
.la-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}
.la-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a3c34;
    margin: 0;
}
.la-section-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.la-inline-form { display: inline; }

/* ---- Таблица файлов ---- */
.la-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}
.la-table th,
.la-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #f0e8e0;
    font-size: 0.95rem;
    color: #2c3e3a;
    vertical-align: middle;
}
.la-table th {
    font-weight: 600;
    color: #7c6b59;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    background: #fbf8f2;
}
.la-table tr:last-child td { border-bottom: none; }

.la-file-link {
    color: #9b2f2f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.la-file-link:hover { text-decoration: underline; }

.la-col-size { white-space: nowrap; color: #7c6b59; }
.la-col-date { white-space: nowrap; color: #7c6b59; }
.la-col-actions { white-space: nowrap; }
.la-col-actions .la-btn { padding: 6px 12px; font-size: 0.8rem; }

.la-empty {
    padding: 16px 0;
    color: #7c6b59;
    font-style: italic;
    margin-top: 10px;
}

/* ---- Адаптив ---- */
@media (max-width: 768px) {
    .local-acts-page { padding: 30px 20px; }
    .la-section { padding: 20px; }
    .la-section-title { font-size: 1.3rem; }
    .la-table th,
    .la-table td { padding: 10px 8px; font-size: 0.88rem; }
    .la-col-date,
    .la-col-size { display: none; }
    .la-form-row label { min-width: 100%; }
}