:root{
  --blue:#1850a5;
  --bg:#1850a5;
  --card:#ffffff;
  --muted:#5b6778;
  --border:#e6e8ee;
  --shadow: 0 10px 30px rgba(0,0,0,.18);
  --radius: 22px;
  --radius-sm: 14px;
}

/* Reset / base */
*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color:#0f172a;
}
a{color:inherit}

/* Layout */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:24px;
}

/* Navigation (admin) */
.nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 8px 0 18px;
}
.nav a{
  background: rgba(255,255,255,.14);
  color:#fff;
  padding:10px 12px;
  border-radius: 999px;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.20);
}

/* Notices */
.notice{
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom:14px;
}

/* Admin shell */
.admin-shell{
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

/* Tables */
table{
  width:100%;
  border-collapse: collapse;
  background:#fff;
  border-radius: var(--radius-sm);
  overflow:hidden;
  border: 1px solid var(--border);
}
th,td{
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  vertical-align:top
}
tr:last-child td{border-bottom:none}

/* Forms */
input,select,textarea{
  width:100%;
  max-width: 640px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline:none;
  background:#fff;
}
label{
  display:block;
  margin:14px 0 6px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:#fff;
  text-decoration:none;
  cursor:pointer;
}
.btn.primary{
  background: var(--blue);
  color:#fff;
  border-color: transparent;
}

/* Divider */
hr{
  border:none;
  border-top:2px solid var(--blue);
  margin:14px 0;
}

/* ===== FRONT-END PROFILE ===== */

.profile-wrap{
  min-height: unset;   /* expliciet */
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 16px 32px; /* iets minder onderruimte */
}


/* Org logo ABOVE card */
.org-logo-top{
  display:flex;
  justify-content:center;
  margin-bottom:14px;
}
.org-logo-img{
  max-height:120px;
  max-width:420px;
  display:block;
}

/* Card */
.profile-card{
  width: min(520px, 100%);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
  text-align:center;
}

/* Avatar */
.avatar{
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* Info */
.info{
  margin-top: 12px;
  display:grid;
  gap: 10px;
  text-align:center;
}

/* LinkedIn inline button fallback */
.linkedin-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:#fff;
  text-decoration:none;
}
.linkedin-icon{
  width: 20px;
  height: 20px;
}

/* LinkedIn banner image button (compact, ~75% smaller) */
.linkedin-banner{
  display:flex;
  justify-content:center;
  text-decoration:none;
}
.linkedin-banner img{
  width:100%;
  max-width:260px;
  height:auto;
  border-radius:12px;
  display:block;
}

/* Save to contacts */
.save-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  background: var(--blue);
  color:#fff;
  text-decoration:none;
}

/* Footer */
.footer{
  position: relative;
  margin-top: 8px;        /* direct onder socials */
  padding: 8px 0 16px;    /* klein beetje ademruimte */
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.85);
  background: var(--bg);
}

