
#xp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;  
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: Tahoma, Arial, sans-serif;
  cursor: default; /* Indicate overlay is not clickable for important dialogs */
  /* margin: 17px; */
}

/* Stronger overlay for consent dialogs */
#xp-overlay.consent-dialog {
  background: rgba(0,0,0,0.9);
  cursor: not-allowed;
}

/* 2) Hoofd-dialog window */
#xp-dialog {
  background: #F0EAD6;
  border: 2px solid #0c62e4;
  box-shadow:
    inset -1px -1px 0 #FFF,
    inset  1px  1px 0 #7A7A7A,
    4px 4px 12px rgba(0,0,0,0.3);
  width: 320px;
  border-radius: 0;
  overflow: hidden;
}

/* 3) Title-bar */
#xp-dialog-header {
  background: #0c62e4;                  /* XP-blauw */
  color: #FFF;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  padding: 0 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

/* 3a) Titeltekst */
#xp-dialog-header .title-text {
  font-weight: normal;
}

/* 3b) Window-controls container */
#xp-dialog-header .window-controls {
  display: flex;
  gap: 2px;
}

.window-controls button {
  width: 19px;           /* vaste afmetingen */
  height: 18px;
  padding: 0;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;  /* zorg dat het hele vak gevuld wordt */
  cursor: pointer;
}

/* Let op: pad is relatief t.o.v. de CSS-file */
.btn-minimize {
  background-image: url("../../assets/icons/min.png");
}
.btn-maximize {
  background-image: url("../../assets/icons/max.png");
}
.btn-close {
  background-image: url("../../assets/icons/close.png");
}

/* Active state */
.window-controls button:active {
  transform: translate(1px, 1px);
}

.xp-icon {
  width: 27px;
  height: 27px;
  margin-right: 6px;
  background: url('../../assets/icons/info.png') no-repeat center;
  background-size: contain;
}

/* 4) Body */
#xp-dialog-body {
  padding: 7px 10px;
  font-size: 12px;
  color: #000;
  line-height: 1.4;
  background: #ebe9d8;
}

/* 5) Footer (buttons) */
#xp-dialog-footer {
  padding: 8px 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  background: #ebe9d8;
}

/* Class for two-button layout */
#xp-dialog-footer.two-buttons {
  justify-content: space-between;
}

.info-title{
  width: 100%; 
  text-align: left;
}

/* 5a) XP-stijl knoppen */
#xp-ok-btn, #xp-cancel-btn {
  font-size: 11px;
  padding: 2px 14px;
  background: linear-gradient(to bottom, #FFF 0%, #C8C6C4 100%);
  border-top:    2px solid #FFF;
  border-left:   2px solid #FFF;
  border-bottom: 2px solid #7A7A7A;
  border-right:  2px solid #7A7A7A;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
  cursor: pointer;
  user-select: none;
}
#xp-ok-btn:active, #xp-cancel-btn:active {
  background: linear-gradient(to bottom, #C8C6C4 0%, #FFF 100%);
  border-top:    2px solid #7A7A7A;
  border-left:   2px solid #7A7A7A;
  border-bottom: 2px solid #FFF;
  border-right:  2px solid #FFF;
}
