/* Portal-/Admin-Styles (Partner-Portal + Minimal-Admin). Additiv zu style.css, lädt nur auf diesen Seiten. */

.portal-nav { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.portal-nav .brand img { display: block; height: 1.9rem; width: auto; }
.portal-titel { font-weight: 600; color: var(--muted); }
.portal-logout { margin-left: auto; color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.portal-logout:hover { color: var(--brand); }

.admin-nav {
    display: flex; gap: 0.25rem; padding: 0 1.5rem; border-bottom: 1px solid var(--border);
    overflow-x: auto;
}
.admin-nav a {
    padding: 0.75rem 1rem; color: var(--muted); text-decoration: none; font-size: 0.9rem;
    font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap;
}
.admin-nav a:hover { color: var(--text); }
.admin-nav a.admin-nav-aktiv { color: var(--brand); border-bottom-color: var(--brand); }

.portal-filter { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.portal-filter label { display: flex; flex-direction: column; font-size: 0.85rem; gap: 0.25rem; }
.portal-filter select { padding: 0.4rem 0.6rem; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }

.portal-main { max-width: 60rem; margin: 0 auto; padding: 2rem 1.5rem; }
.portal-main h1 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.portal-main h2 { font-size: 1.2rem; border-left: 4px solid var(--brand); padding-left: 0.6rem; margin: 2rem 0 1rem; }

.portal-login-box { max-width: 24rem; margin: 3rem auto; }
.portal-form { display: flex; flex-direction: column; gap: 0.75rem; background: #fafafa; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); }
.portal-form label { display: flex; flex-direction: column; font-size: 0.9rem; gap: 0.25rem; }
.portal-form input, .portal-form select, .portal-form textarea {
    padding: 0.6rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; font-family: inherit;
}
.portal-form .honeypot { position: absolute; left: -9999px; }
.portal-form button {
    background: var(--brand); color: #fff; border: none; padding: 0.8rem; border-radius: 4px;
    font-size: 1rem; cursor: pointer;
}
.portal-form button:hover { background: var(--brand-dark); }
.portal-form .btn-sekundaer { background: #fff; color: var(--text); border: 1px solid var(--border); }
.portal-form .btn-sekundaer:hover { background: #f2f2f2; color: var(--text); }

.portal-fehler { background: #fdecea; color: #8a1c14; padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.9rem; }
.portal-erfolg { background: #eaf7ea; color: #1e5c1e; padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.9rem; }
.portal-hinweis { background: var(--brand-tint); color: var(--brand-dark); padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.9rem; }

table.portal-tabelle { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: 0.9rem; }
table.portal-tabelle th, table.portal-tabelle td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
table.portal-tabelle th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }

.status-pille { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.status-pille.status-neu, .status-pille.status-ausstehend, .status-pille.status-angefragt { background: #fff3cd; color: #8a6100; }
.status-pille.status-verkauft, .status-pille.status-aktiv, .status-pille.status-genehmigt { background: #eaf7ea; color: #1e5c1e; }
.status-pille.status-abgelehnt, .status-pille.status-gesperrt, .status-pille.status-unzustellbar { background: #fdecea; color: #8a1c14; }
.status-pille.status-keine { background: #eee; color: var(--muted); }

.portal-aktionen { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.portal-aktionen form { display: inline; }
.btn-klein {
    background: var(--brand); color: #fff; border: none; padding: 0.35rem 0.8rem; border-radius: 4px;
    font-size: 0.8rem; cursor: pointer;
}
.btn-klein:hover { background: var(--brand-dark); }
.btn-klein.btn-ablehnen { background: #fff; color: #8a1c14; border: 1px solid #f0c6c2; }
.btn-klein.btn-ablehnen:hover { background: #fdecea; }

.portal-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.portal-karte { background: #fafafa; border: 1px solid var(--border); border-radius: 8px; padding: 1rem; }
.portal-karte strong { display: block; font-size: 1.4rem; color: var(--brand); }
