/* Estilo institucional FPAD para el sistema de compras */

.topbar-link{
  color:#fff;
  margin-left:12px;
  text-decoration:none;
  font-size:12px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:6px;
}
.topbar-link:hover{ text-decoration:none; opacity:1; }

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.portal-card {
  display: block;
  padding: 16px;
  border-radius: 10px;
  background: #f9fafc;
  border: 1px solid #dde3ec;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease;
}
.portal-card:hover { transform: translateY(-2px); }

.portal-card h3 { margin: 0 0 6px 0; font-size: 16px; color: #002b5c; }
.portal-card p { margin: 0; font-size: 13px; color: #555; }

.portal-card-interno {
  border-left: 4px solid #c62828;
  background: #fff5f5;
}


body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #f3f5f8;
    color: #222;
}

a {
    color: #005a9e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.topbar {
    background: #002b5c; /* azul institucional */
    color: white;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-logo {
    height: 40px;
    width: auto;
}

.topbar-title {
    display: flex;
    flex-direction: column;
}

.topbar-title span:first-child {
    font-weight: 600;
    font-size: 18px;
}

.topbar-title span:last-child {
    font-size: 12px;
    opacity: 0.9;
}

.topbar-right {
    font-size: 12px;
    opacity: 0.9;
}

.page-wrapper {
    max-width: 1100px;
    margin: 30px auto 40px auto;
    padding: 0 16px;
    background: transparent;
}

.page-header {
    margin-bottom: 20px;
}

.page-header h1 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: #002b5c;
}

.page-header p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.notice-box {
    border-left: 4px solid #1e88e5;
    background: #e3f2fd;
    padding: 10px 14px;
    margin-bottom: 24px;
    font-size: 13px;
}

.nav-secondary {
    margin-bottom: 16px;
    font-size: 13px;
}

.nav-secondary a {
    margin-right: 12px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 18px 20px;
    margin-bottom: 18px;
    border-top: 3px solid #005a9e;
}

.card h2 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #003366;
}

.card-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
    margin-bottom: 8px;
}

.card p {
    font-size: 13px;
    margin: 0 0 10px 0;
    color: #444;
}

.btn {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #005a9e;
    color: white;
}

.btn-secondary {
    background: #ffffff;
    color: #005a9e;
    border: 1px solid #005a9e;
}

.btn-danger {
    background: #c62828;
    color: #fff;
}

.btn + .btn {
    margin-left: 8px;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

th, td {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #e3eaf3;
    text-align: left;
    font-weight: 600;
    color: #333;
}

tr:nth-child(even) {
    background: #fafafa;
}

form div {
    margin-bottom: 10px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="password"],
textarea,
select {
    width: 100%;
    max-width: 500px;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid #bcc3d0;
    font-size: 13px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.footer {
    margin-top: 30px;
    font-size: 11px;
    color: #777;
    text-align: right;
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .page-wrapper {
        margin-top: 20px;
    }
}
/* === Landing institucional (no afecta backoffice) === */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border-radius: 12px;
    padding: 22px 22px;
    border-top: 3px solid #005a9e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    color: #002b5c;
}

.hero p {
    margin: 0 0 14px 0;
    font-size: 14px;
    color: #555;
    max-width: 80ch;
}

.kpi-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.kpi {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 220px;
    flex: 1;
}

.kpi strong {
    display: block;
    font-size: 13px;
    color: #003366;
}

.kpi span {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.grid-2, .grid-3 {
    display: grid;
    gap: 14px;
}

.grid-2 { grid-template-colum

    /* ===== Look & Feel común Portal Público ===== */
:root{
  --brand:#002b5c;
  --primary:#005a9e;
  --bg:#f3f5f8;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#dde3ec;
  --shadow:0 6px 18px rgba(16,24,40,.08);
  --radius:14px;
}

body{ background:var(--bg); color:var(--text); }

.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(90deg, var(--brand), #003a7a);
  color:#fff;
  padding: 14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.brand{ display:flex; flex-direction:column; line-height:1.1; }
.brand-title{ font-weight:700; font-size:16px; letter-spacing:.2px; }
.brand-subtitle{ font-size:12px; opacity:.9; margin-top:2px; }

.topbar-right{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.topbar-link{
  color:#fff;
  text-decoration:none;
  font-size:12px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:10px;
  opacity:.95;
}
.topbar-link:hover{ opacity:1; background:rgba(255,255,255,.08); }

.topbar-cta{
  color:#0b1b2b;
  background:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  padding:7px 12px;
  border-radius:10px;
}
.topbar-cta:hover{ filter:brightness(.96); }

.page-wrapper{
  max-width: 1100px;
  margin: 28px auto 46px auto;
  padding: 0 16px;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  border: 1px solid var(--border);
}

.page-header h1{
  color: var(--brand);
  font-size: 26px;
  margin: 0 0 8px 0;
}
.page-header p{ color: var(--muted); font-size: 14px; }

.portal-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.portal-card{
  display:block;
  padding: 16px;
  border-radius: 14px;
  background: #f9fafc;
  border: 1px solid var(--border);
  text-decoration:none;
  color:inherit;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.portal-card:hover{
  transform: translateY(-2px);
  background:#eef3f9;
  box-shadow: 0 10px 24px rgba(16,24,40,.08);
}
.portal-card h3{ margin:0 0 6px 0; font-size: 16px; color: var(--brand); }
.portal-card p{ margin:0; font-size: 13px; color: var(--muted); }

.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration:none;
  border:1px solid transparent;
}
.btn-primary{ background: var(--primary); color:#fff; }
.btn-secondary{ background:#fff; color: var(--primary); border-color: var(--primary); }
<<<<<<< HEAD

.topbar-link{
  color:#fff;
  margin-left:12px;
  text-decoration:underline;
  font-size:12px;
  opacity:.95;
}
.topbar-link:hover{ opacity:1; }

.portal-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:16px;
  margin-top:12px;
}
.portal-card{
  display:block;
  padding:16px;
  border-radius:10px;
  background:#f9fafc;
  border:1px solid #dde3ec;
  text-decoration:none;
  color:inherit;
  transition:transform .15s ease;
}
.portal-card:hover{ transform:translateY(-2px); }
.portal-card-interno{
  border-left:4px solid #c62828;
  background:#fff5f5;
}
/* =========================================================
   PORTAL PÚBLICO – Look & Feel
   ========================================================= */

.page-wrapper{
  max-width:1100px;
  margin:30px auto 50px auto;
  padding:0 16px;
}

.page-header h1{
  margin:0 0 8px 0;
  font-size:26px;
  color:#002b5c;
}
.page-header p{
  margin:0;
  font-size:14px;
  color:#555;
}

.portal-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:16px;
}

.portal-card{
  display:block;
  padding:18px;
  border-radius:14px;
  background:#ffffff;
  border:1px solid #dde3ec;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  text-decoration:none;
  color:#222;
  transition:transform .15s ease, box-shadow .15s ease;
}

.portal-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
}

.portal-card h3{
  margin:0 0 6px 0;
  font-size:17px;
  color:#002b5c;
}

.portal-card p{
  margin:0;
  font-size:13px;
  color:#555;
}

.portal-card-interno{
  border-left:4px solid #c62828;
  background:#fff5f5;
}

/* Header links del portal */
.topbar-link{
  color:#ffffff;
  margin-left:14px;
  font-size:12px;
  text-decoration:underline;
  opacity:.95;
}
.topbar-link:hover{ opacity:1; }

/* Responsive */
@media(max-width:768px){
  .portal-grid{ grid-template-columns:1fr; }
}
=======
>>>>>>> c80f8d9 (Portal Publico: header unificado + 4 secciones)
}
.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:12px;
  top:12px;
  width:auto;
  height:auto;
  padding:10px 12px;
  z-index:9999;
}
