/* === BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #1D1D1D;
  background: #FFFFFF;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }

a {
  color: #64ACE0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === LAYOUT === */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  background: #1D1D1D;
  color: #FFFFFF;
  padding: 2rem 2rem 1.5rem;
}

.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-header .subtitle {
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Branding */
.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 60px;
  width: auto;
}

.brand-small {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo-small {
  height: 36px;
  width: auto;
  background: #FFFFFF;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.content-narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.content-wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  text-decoration: none;
  color: #1D1D1D;
  background: #e8e8e8;
}

.btn:hover {
  background: #d0d0d0;
  text-decoration: none;
}

.btn-primary {
  background: #64ACE0;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #4d95c9;
}

.btn-danger {
  background: #d9534f;
  color: #FFFFFF;
}

.btn-danger:hover {
  background: #c9302c;
}

.btn-small {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

.btn-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.btn-file {
  cursor: pointer;
}

.inline-form {
  display: inline;
}

/* === FORMS === */
label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
  color: rgb(101,101,101);
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus {
  border-color: #64ACE0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-inline-group {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-inline-group .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 150px;
}

/* === ALERTS === */
.alert {
  padding: 0.8rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert-error {
  background: #fce4e4;
  color: #c0392b;
  border-left: 3px solid #c0392b;
}

/* === LOGIN === */
.login-form {
  max-width: 360px;
  margin: 2rem auto 0;
}

.login-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* === ADMIN SESSIONS === */
.new-session {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.sessions-list h2 {
  margin-bottom: 1rem;
}

.session-card {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.session-card:hover {
  border-color: #64ACE0;
}

.session-card.archived {
  opacity: 0.65;
}

.session-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.session-date {
  color: rgb(101,101,101);
  font-size: 0.9rem;
}

.badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

.badge-archived {
  background: #343838;
  color: #FFFFFF;
}

.badge-expired {
  background: #d9534f;
  color: #FFFFFF;
}

.session-stats {
  display: flex;
  gap: 1.5rem;
  color: rgb(101,101,101);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.session-links {
  margin-bottom: 0.8rem;
}

.link-group {
  margin-bottom: 0.5rem;
}

.link-group label {
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.link-copy {
  display: flex;
  gap: 0.5rem;
}

.link-copy input {
  flex: 1;
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: rgb(101,101,101);
}

.session-members {
  margin-bottom: 0.8rem;
}

.session-members h4 {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: rgb(101,101,101);
}

.session-members ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgb(101,101,101);
}

.session-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
}

.text-muted {
  color: rgb(101,101,101);
  font-size: 0.9rem;
}

/* === UPLOAD PAGE === */
#name-section .form-group {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

#name-section input {
  flex: 1;
}

#name-section .btn {
  white-space: nowrap;
}

.dropzone {
  border: 2px dashed #64ACE0;
  border-radius: 2px;
  padding: 3rem 2rem;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 1.5rem;
}

.dropzone.drag-over {
  background: rgba(100, 172, 224, 0.08);
  border-color: #4d95c9;
}

.dropzone-content p {
  margin: 0.5rem 0;
}

.dropzone-content svg {
  margin-bottom: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #e8e8e8;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: #64ACE0;
  width: 0%;
  transition: width 0.3s;
}

/* === PHOTOS GRID (UPLOAD) === */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.photo-card {
  position: relative;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  cursor: grab;
  transition: border-color 0.2s, transform 0.15s;
}

.photo-card:active {
  cursor: grabbing;
}

.photo-card.dragging {
  opacity: 0.4;
  transform: scale(0.95);
}

.photo-card.drag-over-card {
  border-color: #64ACE0;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.photo-card .photo-label {
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  color: rgb(101,101,101);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-card .photo-order {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #64ACE0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.photo-card .photo-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-card .photo-delete:hover {
  background: #d9534f;
}

/* === UPLOAD DONE === */
.upload-done {
  text-align: center;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid #d4edda;
  border-radius: 4px;
  background: #f0faf3;
}

.upload-done-icon {
  font-size: 2.5rem;
  color: #2ecc71;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.upload-done-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #1D1D1D;
  margin-bottom: 0.2rem;
}

.upload-done-count {
  font-size: 0.95rem;
  color: rgb(101, 101, 101);
  margin-bottom: 0.5rem;
}

.upload-done .text-muted {
  margin-bottom: 1rem;
}

/* === PRESENTATION PAGE === */
.presentatie-body {
  background: #000;
  overflow: hidden;
  height: 100vh;
  user-select: none;
}

.presentatie-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.presentatie-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  z-index: 10;
  color: rgba(255,255,255,0.5);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.presentatie-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 4rem 2rem;
}

.presentatie-mat {
  background: #FFFFFF;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 10rem);
  max-height: calc(100vh - 6rem);
}

.presentatie-photo {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  display: block;
  cursor: pointer;
}

.presentatie-photo.zoomed {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.presentatie-mat.zoomed {
  overflow: auto;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
}

.presentatie-caption {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.5rem;
  font-family: 'Open Sans', sans-serif;
  pointer-events: none;
}

.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64ACE0;
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem;
  z-index: 15;
  opacity: 0.5;
  transition: opacity 0.2s;
  font-family: sans-serif;
  line-height: 1;
}

.nav-arrow:hover {
  opacity: 1;
}

.nav-left {
  left: 0.5rem;
}

.nav-right {
  right: 0.5rem;
}

.presentatie-btn {
  position: fixed;
  bottom: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  z-index: 15;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.presentatie-btn:hover {
  opacity: 1;
}

.info-btn {
  right: 3.5rem;
  font-style: italic;
}

.switcher-btn {
  right: 8.5rem;
}

.crop-btn {
  right: 6rem;
}

.switcher-panel {
  position: fixed;
  bottom: 4rem;
  right: 8.5rem;
  background: #1D1D1D;
  border-radius: 4px;
  width: 240px;
  z-index: 25;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.switcher-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.switcher-header h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64ACE0;
}

.switcher-list {
  display: flex;
  flex-direction: column;
  padding: 0.4rem;
  gap: 0.2rem;
}

.switcher-item {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 0.6rem;
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.switcher-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.switcher-item-active {
  background: rgba(100, 172, 224, 0.2);
  color: #64ACE0;
  font-weight: 600;
}

.switcher-item-active:hover {
  background: rgba(100, 172, 224, 0.3);
}

.fs-btn {
  right: 1rem;
}

.back-btn {
  left: 1rem;
  text-decoration: none;
  font-size: 1.1rem;
}

.exif-popover {
  position: fixed;
  bottom: 4rem;
  right: 1rem;
  background: #1D1D1D;
  color: #FFFFFF;
  border-radius: 2px;
  width: 320px;
  z-index: 25;
  font-family: 'Open Sans', sans-serif;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.exif-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.exif-popover-header h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #64ACE0;
}

.exif-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

.exif-close:hover {
  color: #FFFFFF;
}

.exif-popover-body {
  padding: 0.8rem 1rem;
}

.exif-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.85rem;
}

.exif-label {
  color: rgba(255,255,255,0.5);
}

.exif-value {
  color: #FFFFFF;
  font-weight: 600;
}

.exif-empty {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  font-style: italic;
}

/* Crop overlay */
.presentatie-mat {
  position: relative;
}

.crop-overlay {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
  cursor: move;
  z-index: 18;
}

.crop-overlay::before,
.crop-overlay::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
}

/* Rule of thirds - vertical lines */
.crop-overlay::before {
  top: 0;
  bottom: 0;
  left: 33.33%;
  width: 1px;
  box-shadow: calc(33.33% * 1) 0 0 rgba(255, 255, 255, 0.3);
}

/* Rule of thirds - horizontal lines */
.crop-overlay::after {
  left: 0;
  right: 0;
  top: 33.33%;
  height: 1px;
  box-shadow: 0 calc(33.33% * 1) 0 rgba(255, 255, 255, 0.3);
}

.crop-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  z-index: 19;
}

.crop-handle-nw { top: -7px; left: -7px; cursor: nw-resize; }
.crop-handle-ne { top: -7px; right: -7px; cursor: ne-resize; }
.crop-handle-sw { bottom: -7px; left: -7px; cursor: sw-resize; }
.crop-handle-se { bottom: -7px; right: -7px; cursor: se-resize; }

.crop-toolbar {
  position: fixed;
  bottom: 3.5rem;
  right: 6rem;
  display: flex;
  gap: 0.25rem;
  background: #1D1D1D;
  padding: 0.4rem;
  border-radius: 4px;
  z-index: 25;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
  max-width: 320px;
}

.crop-ratio-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
}

.crop-ratio-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.crop-ratio-btn.active {
  background: #64ACE0;
  border-color: #64ACE0;
}

.crop-rotate-btn,
.crop-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 1rem;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
}

.crop-rotate-btn:hover,
.crop-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.presentatie-empty {
  color: rgba(255,255,255,0.4);
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

/* === INTRO SECTIONS === */
.landing-intro,
.dashboard-intro {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: #f8f9fa;
  border-left: 3px solid #64ACE0;
  border-radius: 2px;
}

.landing-intro p,
.dashboard-intro p {
  color: rgb(101, 101, 101);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* === LANDING PAGE === */
.landing-header {
  background: #1D1D1D;
  color: #FFFFFF;
  padding: 1.5rem 2rem;
}

.brand-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-left: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-subtitle {
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.6;
  margin-left: 0.3rem;
}

.landing-header .brand-logo {
  height: 50px;
  background: #FFFFFF;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.landing-header .btn-header {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.landing-header .btn-header:hover {
  background: rgba(255,255,255,0.2);
  color: #FFFFFF;
}

.login-intro {
  text-align: center;
  color: rgb(101, 101, 101);
  margin-bottom: 1.2rem;
}

.login-role-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.login-role-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.5rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-role-btn:hover {
  border-color: #64ACE0;
  box-shadow: 0 2px 8px rgba(100, 172, 224, 0.15);
}

.login-role-icon {
  font-size: 2rem;
  line-height: 1;
}

.login-role-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1D1D1D;
}

.login-role-desc {
  font-size: 0.8rem;
  color: rgb(101, 101, 101);
  text-align: center;
}

.login-back-btn {
  display: block;
  margin: 1rem auto 0;
}

.login-password-section .login-form {
  margin-top: 0;
}

.landing-section {
  margin-bottom: 2rem;
}

.landing-section h2 {
  margin-bottom: 1rem;
}

.landing-meetings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-meeting {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.landing-meeting-header {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem 1.2rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.landing-meeting-header:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.landing-meeting-date {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1D1D1D;
  text-transform: capitalize;
}

.landing-meeting-desc {
  color: rgb(101, 101, 101);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.landing-meeting-items {
  display: flex;
  flex-direction: column;
}

.landing-item {
  padding: 0.7rem 1.2rem;
  border-left: 3px solid #ccc;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.landing-item:last-child {
  border-bottom: none;
}

.landing-item-activity { border-left-color: #bbb; }
.landing-item-review { border-left-color: #64ACE0; }
.landing-item-intro { border-left-color: #2ecc71; }

.landing-item-header {
  margin-bottom: 0.25rem;
}

.landing-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.landing-item-title {
  font-weight: 600;
  color: #1D1D1D;
}

.landing-item-desc {
  color: rgb(101, 101, 101);
  font-size: 0.85rem;
}

.landing-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  white-space: nowrap;
}

.landing-badge-activity { background: #e8e8e8; color: #555; }
.landing-badge-review { background: rgba(100, 172, 224, 0.15); color: #3a7db5; }
.landing-badge-intro { background: rgba(46, 204, 113, 0.15); color: #1e8449; }

.landing-theme-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.landing-theme-name {
  font-weight: 600;
  color: #1D1D1D;
}

.landing-theme-inactive {
  color: rgb(101, 101, 101);
  font-weight: 400;
}

.landing-upload-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64ACE0;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(100, 172, 224, 0.3);
  border-radius: 2px;
  transition: background 0.2s;
}

.landing-upload-link:hover {
  background: rgba(100, 172, 224, 0.1);
  text-decoration: none;
}

.landing-presentatie-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(101, 101, 101);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.landing-presentatie-link:hover {
  background: #1D1D1D;
  color: #FFFFFF;
  border-color: #1D1D1D;
  text-decoration: none;
}

.landing-responsible {
  font-size: 0.85rem;
  color: rgb(101, 101, 101);
  font-style: italic;
}

.calendar-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: #64ACE0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.2s, transform 0.2s;
  z-index: 50;
}

.calendar-fab:hover {
  background: #4d95c9;
  transform: scale(1.08);
  text-decoration: none;
}

.landing-empty {
  text-align: center;
  color: rgb(101, 101, 101);
  font-size: 1rem;
  padding: 2rem 0;
}

/* === ADMIN HUB === */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 2rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hub-card:hover {
  border-color: #64ACE0;
  box-shadow: 0 2px 12px rgba(100, 172, 224, 0.15);
  text-decoration: none;
}

.hub-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.hub-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.hub-card-stat {
  color: rgb(101, 101, 101);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.hub-card-action {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64ACE0;
  text-transform: uppercase;
}

.hub-public-link {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Dashboard alert */
.dashboard-alert {
  display: flex;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-left: 4px solid #f39c12;
  border-radius: 4px;
  margin-top: 1.5rem;
}

.dashboard-alert-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.dashboard-alert-content strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.dashboard-alert-list {
  list-style: none;
  margin: 0 0 0.6rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.dashboard-alert-list li {
  font-size: 0.85rem;
  color: rgb(101, 101, 101);
  background: rgba(243, 156, 18, 0.1);
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
}

/* === CALENDAR === */
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calendar-nav h2 {
  text-transform: capitalize;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #e0e0e0;
  border-radius: 2px;
}

.calendar-weekday {
  background: #1D1D1D;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 0.5rem;
}

.calendar-day {
  min-height: 90px;
  border: 1px solid #f0f0f0;
  padding: 0.3rem 0.4rem;
  vertical-align: top;
  font-size: 0.85rem;
}

.calendar-day.other-month {
  background: #fafafa;
}

.calendar-day .day-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgb(101, 101, 101);
  display: block;
  margin-bottom: 0.2rem;
}

.calendar-day .day-date-full {
  display: none;
}

.calendar-day.is-today .day-number {
  background: #64ACE0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-day.has-meeting {
  background: #FFFFFF;
}

/* Calendar meeting content */
.cal-meeting {
  margin-top: 0.2rem;
}

.cal-meeting-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: #1D1D1D;
  display: block;
  margin-bottom: 0.2rem;
  text-decoration: none;
}

.cal-meeting-title:hover {
  color: #64ACE0;
  text-decoration: none;
}

.cal-item {
  padding: 0.15rem 0 0.15rem 0.4rem;
  margin-bottom: 0.1rem;
  border-left: 2px solid #ccc;
  line-height: 1.4;
}

.cal-item-activity { border-left-color: #bbb; }
.cal-item-review { border-left-color: #64ACE0; }
.cal-item-intro { border-left-color: #2ecc71; }

.cal-item-title {
  font-size: 0.72rem;
  color: #1D1D1D;
}

.cal-item-themes {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cal-theme-row {
  font-size: 0.72rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.cal-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.05rem 0.3rem;
  border-radius: 2px;
  white-space: nowrap;
  margin-bottom: 0.1rem;
  display: inline-block;
}

.cal-badge-activity { background: #e8e8e8; color: #555; }
.cal-badge-review { background: rgba(100, 172, 224, 0.15); color: #3a7db5; }
.cal-badge-intro { background: rgba(46, 204, 113, 0.15); color: #1e8449; }

.cal-theme-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64ACE0;
  text-decoration: none;
}

.cal-theme-link:hover {
  text-decoration: underline;
}

.cal-theme {
  font-size: 0.72rem;
  color: rgb(101, 101, 101);
}

.cal-theme {
  font-size: 0.78rem;
  color: rgb(101, 101, 101);
}

.cal-presentatie-link {
  font-size: 0.7rem;
  color: rgb(101, 101, 101);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.cal-presentatie-link:hover {
  opacity: 1;
  color: #1D1D1D;
  text-decoration: none;
}

.cal-responsible {
  font-size: 0.72rem;
  color: rgb(101, 101, 101);
  font-style: italic;
}

/* === AGENDA === */
.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.agenda-top-actions {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.meeting-description {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: rgb(80, 80, 80);
}

/* Meeting cards */
.meeting-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.meeting-card-link:hover {
  text-decoration: none;
}

.meeting-card {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  transition: border-color 0.2s;
}

.meeting-card:hover {
  border-color: #64ACE0;
}

.meeting-card-date {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: #1D1D1D;
}

.meeting-card-desc {
  color: rgb(101, 101, 101);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.meeting-card-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

/* Admin agenda overview */
.agenda-overview-meeting {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.agenda-overview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  gap: 0.5rem;
}

.agenda-overview-date {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1D1D1D;
  text-transform: capitalize;
  margin-right: 0.8rem;
}

.agenda-overview-desc {
  color: rgb(101, 101, 101);
  font-size: 0.9rem;
}

.agenda-overview-items {
  display: flex;
  flex-direction: column;
}

.agenda-overview-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-bottom: 1px solid #f0f0f0;
  border-left: 3px solid #ccc;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.agenda-overview-item:last-child {
  border-bottom: none;
}

.agenda-overview-activity { border-left-color: #bbb; }
.agenda-overview-review { border-left-color: #64ACE0; }
.agenda-overview-intro { border-left-color: #2ecc71; }

.agenda-overview-themes {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.agenda-overview-theme {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.download-dropdown {
  position: relative;
  display: inline-block;
}

.download-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 30;
  min-width: 180px;
  margin-top: 0.2rem;
}

.download-dropdown.open .download-dropdown-menu {
  display: block;
}

.download-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  color: #1D1D1D;
  text-decoration: none;
  transition: background 0.15s;
}

.download-dropdown-menu a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.past-meetings-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

/* Agenda items */
.agenda-items-list {
  margin-bottom: 2rem;
}

.agenda-items-list h2 {
  margin-bottom: 1rem;
}

.agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #ccc;
  border-radius: 2px;
  margin-bottom: 0.5rem;
  background: #FFFFFF;
  transition: border-color 0.2s;
}

.agenda-item-activity {
  border-left-color: #999;
}

.agenda-item-photo_review {
  border-left-color: #64ACE0;
}

.agenda-item-theme_introduction {
  border-left-color: #2ecc71;
}

.agenda-item.dragging {
  opacity: 0.4;
}

.agenda-item.drag-over-item {
  border-color: #64ACE0;
  border-left-color: #64ACE0;
}

.drag-handle {
  cursor: grab;
  color: #ccc;
  font-size: 1.2rem;
  line-height: 1;
  user-select: none;
}

.drag-handle:active {
  cursor: grabbing;
}

.agenda-item-type-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-type-activity {
  background: #e8e8e8;
  color: #555;
}

.badge-type-photo_review {
  background: rgba(100, 172, 224, 0.15);
  color: #3a7db5;
}

.badge-type-theme_introduction {
  background: rgba(46, 204, 113, 0.15);
  color: #1e8449;
}

.agenda-item-content {
  flex: 1;
  min-width: 0;
}

.agenda-item-content p {
  margin: 0.2rem 0 0;
  color: rgb(101, 101, 101);
  font-size: 0.9rem;
}

.agenda-item-actions {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

/* Theme tags */
.theme-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  background: rgba(100, 172, 224, 0.12);
  color: #3a7db5;
  border-radius: 12px;
}

.theme-tag-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.theme-link-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.theme-link-actions {
  display: flex;
  gap: 0.3rem;
  margin-left: auto;
}

.responsible-member {
  font-size: 0.85rem;
  color: rgb(101, 101, 101);
  font-style: italic;
}

.session-info {
  font-size: 0.8rem;
}

/* Cross-references (theme lifecycle) */
.cross-refs {
  width: 100%;
  margin-top: 0.2rem;
}

.cross-ref {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  text-decoration: none;
  margin-right: 0.3rem;
  margin-bottom: 0.2rem;
}

.cross-ref:hover {
  text-decoration: underline;
}

.cross-ref-intro {
  background: rgba(46, 204, 113, 0.1);
  color: #1e8449;
}

.cross-ref-review {
  background: rgba(100, 172, 224, 0.1);
  color: #3a7db5;
}

.cross-ref-inline {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  margin-left: 0.3rem;
}

/* Theme management */
.new-theme-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.import-divider {
  text-align: center;
  margin: 1.2rem 0;
  position: relative;
}

.import-divider span {
  background: #FFFFFF;
  padding: 0 0.8rem;
  color: rgb(101, 101, 101);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.import-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #e0e0e0;
}

.import-section h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.import-section p {
  margin-bottom: 0.8rem;
}

.import-section code {
  background: #f5f5f5;
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  font-size: 0.82rem;
}

.import-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.import-filename {
  font-size: 0.85rem;
  color: rgb(101, 101, 101);
}

.themes-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.year-tabs {
  display: flex;
  gap: 0.3rem;
}

.year-tab {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  text-decoration: none;
  color: rgb(101, 101, 101);
  transition: background 0.2s, border-color 0.2s;
}

.year-tab:hover {
  border-color: #64ACE0;
  text-decoration: none;
}

.year-tab-active {
  background: #1D1D1D;
  color: #FFFFFF;
  border-color: #1D1D1D;
}

.year-tab-active:hover {
  border-color: #1D1D1D;
}

.theme-card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  background: #FFFFFF;
}

.theme-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.theme-card-header h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.theme-card-desc {
  margin-top: 0.15rem;
  font-size: 0.85rem;
}

.theme-card-actions {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.theme-status {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  white-space: nowrap;
}

.theme-status-complete {
  background: rgba(46, 204, 113, 0.15);
  color: #1e8449;
}

.theme-status-partial {
  background: rgba(243, 156, 18, 0.15);
  color: #b7791f;
}

.theme-status-none {
  background: #f0f0f0;
  color: rgb(101, 101, 101);
}

.theme-year-detail {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.theme-year-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
}

.theme-year-ok {
  background: rgba(46, 204, 113, 0.06);
}

.theme-year-missing {
  background: rgba(0, 0, 0, 0.02);
  color: rgb(101, 101, 101);
}

.theme-year-check {
  color: #2ecc71;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.theme-year-cross {
  color: #ccc;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.theme-year-link {
  margin-left: auto;
  font-size: 0.8rem;
}

.theme-other-years {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.lifecycle-item {
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.lifecycle-intro {
  background: rgba(46, 204, 113, 0.1);
  color: #1e8449;
}

.lifecycle-review {
  background: rgba(100, 172, 224, 0.1);
  color: #3a7db5;
}

/* Add item section */
.form-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1rem;
}

.form-actions-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.auto-save-hint {
  font-size: 0.82rem;
  color: rgb(101, 101, 101);
  font-style: italic;
}

.save-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1D1D1D;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}

.save-toast.show {
  display: block !important;
  opacity: 1;
}

.add-item-section {
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.add-item-section h3 {
  margin-bottom: 0.8rem;
}

.form-select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  background: #FFFFFF;
}

.form-select:focus {
  border-color: #64ACE0;
}

/* Photo review session info (admin) */
.photo-review-session-admin {
  margin-bottom: 0.6rem;
}

.photo-review-session-admin strong {
  margin-right: 0.5rem;
}

.photo-review-session-admin .session-upload-row {
  margin-top: 0.4rem;
}

.photo-review-session-admin .session-upload-row label {
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.session-photo-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: rgb(101, 101, 101);
}

.photo-review-session {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.badge-active {
  background: #2ecc71;
  color: #FFFFFF;
}

/* Session info bar (photo management) */
.session-info-bar {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: rgb(101, 101, 101);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.member-photos-section {
  margin-bottom: 2rem;
}

.member-photos-section h3 {
  margin-bottom: 0.6rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 4px;
  padding: 1.5rem 2rem;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  margin-bottom: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.2rem;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .page-header {
    padding: 1.5rem 1rem 1rem;
  }

  .content-narrow, .content-wide {
    padding: 1.5rem 1rem;
  }

  .form-inline-group {
    flex-direction: column;
  }

  .session-stats {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .link-copy {
    flex-direction: column;
  }

  .link-copy input {
    font-size: 0.75rem;
  }

  .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .presentatie-stage {
    padding: 2rem 1rem 1.5rem;
  }

  .presentatie-mat {
    max-width: calc(100vw - 2rem);
    padding: 0.5rem;
  }

  .nav-arrow {
    font-size: 2rem;
    padding: 0.5rem;
  }

  #name-section .form-group {
    flex-direction: column;
  }

  .agenda-item {
    flex-wrap: wrap;
  }

  .agenda-item-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .theme-link-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .theme-link-actions {
    margin-left: 0;
  }

  .agenda-top-actions {
    flex-direction: column;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  /* Calendar: show only meeting days as cards */
  .calendar-grid {
    display: flex;
    flex-direction: column;
    border: none;
  }

  .calendar-weekday {
    display: none;
  }

  .calendar-day {
    display: none;
  }

  .calendar-day.has-meeting {
    display: block;
    min-height: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
  }

  .calendar-day.has-meeting .cal-item {
    padding: 0.3rem 0 0.3rem 0.5rem;
    font-size: 0.85rem;
  }

  .calendar-day.has-meeting .cal-badge {
    font-size: 0.6rem;
  }

  .calendar-day.has-meeting .cal-theme-row,
  .calendar-day.has-meeting .cal-item-title,
  .calendar-day.has-meeting .cal-theme-link,
  .calendar-day.has-meeting .cal-theme {
    font-size: 0.85rem;
  }

  .calendar-day.has-meeting .day-number {
    display: none;
  }

  .calendar-day.has-meeting .day-date-full {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1D1D1D;
    margin-bottom: 0.3rem;
    text-transform: capitalize;
  }

  .calendar-nav {
    gap: 0.3rem;
  }

  .calendar-nav h2 {
    font-size: 1.1rem;
  }

  /* Hub responsive */
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    padding: 1.2rem 1rem;
  }

  .hub-public-link {
    flex-direction: column;
    align-items: center;
  }

  /* Landing responsive */
  .landing-header {
    padding: 1rem;
  }

  .landing-header .brand-logo {
    height: 36px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    display: block;
    margin-left: 0;
  }

  .brand-logo-small {
    height: 28px;
  }

  .landing-meeting {
    padding: 1rem;
  }
}
