/* AUTH PAGE */
.auth-body {
    background: #f4f5f7;
    min-height: 100vh;
}
.auth {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 16px;
}
.auth__back {
    align-self: flex-start;
    font-size: 14px;
    color: #6b7280;
}
.auth__card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 60px rgba(0,0,0,0.06);
}
.auth__card h1 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.01em;
}
.auth__lead {
    margin: 0 0 24px;
    color: #6b7280;
    font-size: 14px;
}

/* FIELDS */
.field {
    display: block;
    margin-bottom: 16px;
}
.field > span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}
.field input[type="text"],
.field input[type="password"],
.field textarea,
.field input[type="file"] {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    color: inherit;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input[type="text"]:focus,
.field input[type="password"]:focus,
.field textarea:focus {
    outline: none;
    border-color: #0f0f10;
    box-shadow: 0 0 0 3px rgba(15,15,16,0.08);
}
.field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}
.field small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}
.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

/* ALERTS */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}
.alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert--info { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }

/* BUTTONS extra */
.btn--full { width: 100%; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 999px; }
.btn--danger {
    background: #fff;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.btn--danger:hover { background: #fef2f2; opacity: 1; }

/* APP LAYOUT */
.app-body {
    background: #f4f5f7;
    min-height: 100vh;
}
.app-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}
.app-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.app-nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
    align-items: center;
}
.app-nav__danger { color: #b91c1c; }

.app {
    padding: 32px 32px 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.app-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
}
.app-card h2 {
    margin: 0 0 16px;
    font-size: 20px;
    letter-spacing: -0.01em;
}
.app-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}
.app-card__head h2 { margin: 0; }
.muted { color: #6b7280; font-size: 14px; }

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

/* NEWS ADMIN LIST */
.news-admin {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-admin__item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}
.news-admin__thumb {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background: #f4f5f7;
}
.news-admin__thumb--empty {
    background: #f4f5f7 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%239ca3af" stroke-width="1.5"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="M21 15l-5-5L5 21"/></svg>') center / 24px no-repeat;
}
.news-admin__meta {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.news-admin__title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}
.news-admin__excerpt {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}
.news-admin__actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 720px) {
    .news-admin__item {
        grid-template-columns: 1fr;
    }
    .news-admin__thumb { width: 100%; height: 160px; }
    .news-admin__actions { justify-content: flex-start; }
    .app { padding: 20px; }
    .app-card { padding: 20px; }
    .app-nav { gap: 14px; font-size: 13px; }
}

/* DOCS ADMIN LIST */
.docs-admin {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.docs-admin__item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}
.docs-admin__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fef2f2;
    color: #dc2626;
}
.docs-admin__meta {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.docs-admin__title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}
.docs-admin__link {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}
.docs-admin__link:hover { text-decoration: underline; }
.docs-admin__actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 720px) {
    .docs-admin__item {
        grid-template-columns: 1fr;
    }
    .docs-admin__actions { justify-content: flex-start; }
}

/* REPORT ADMIN SCREENS */
.report-admin-screens {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.report-admin-screens__item {
    width: 140px;
}
.report-admin-screens__item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 6px;
}
