/* v41.3.4 - one-page PDF route and signature controls beside the editor. */

.header-actions button[data-v4134-pdf],
.preview-actions button[data-v4134-pdf] {
  position: relative;
}

.header-actions button[data-v4134-pdf][aria-busy="true"],
.preview-actions button[data-v4134-pdf][aria-busy="true"] {
  cursor: wait;
  opacity: .68;
}

.v4134-signature-tools {
  direction: rtl;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #cbdde5;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7fbfd, #edf5f8);
}

.ui-en .v4134-signature-tools {
  direction: ltr;
}

.v4134-signature-tools-copy {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.v4134-signature-tools-copy b {
  color: #244c60;
  font-size: 9px;
}

.v4134-signature-tools-copy small {
  color: #687d88;
  font-size: 7.4px;
  line-height: 1.65;
}

.v4134-signature-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.v4134-signature-buttons button,
.v4134-show-signature {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #cbd9df;
  border-radius: 9px;
  color: #48616e;
  background: #fff;
  font-size: 8px;
  font-weight: 850;
}

.v4134-signature-buttons button.active {
  color: #704e1d;
  border-color: #b89355;
  background: #fff7e8;
  box-shadow: inset 0 -2px #c59a55;
}

.v4134-show-signature {
  color: #fff;
  border-color: #1d5875;
  background: #1d5875;
  white-space: nowrap;
}

.v4134-signature-state {
  grid-column: 1 / -1;
  color: #8a5a22;
  font-size: 7.4px;
  font-weight: 800;
}

.v4134-signature-state.active {
  color: #23724b;
}

@media (max-width: 760px) {
  .v4134-signature-tools {
    grid-template-columns: 1fr;
    margin-top: 10px;
    padding: 10px;
  }

  .v4134-signature-tools-copy,
  .v4134-signature-state {
    grid-column: 1;
  }

  .v4134-signature-tools-copy b {
    font-size: 9.3px;
  }

  .v4134-signature-tools-copy small,
  .v4134-signature-state {
    font-size: 7.7px;
  }

  .v4134-signature-buttons button,
  .v4134-show-signature {
    min-height: 42px;
    font-size: 8.4px;
  }
}

@media print {
  .v4134-signature-tools {
    display: none !important;
  }
}

/* The exported CV is always clean: no site branding or watermark on the paper. */
#cv-document.v415-exporting .cv-watermark,
#cv-document.v415-exporting .cv-watermark-logo,
#cv-document.v415-exporting .cv-watermark-copy {
  display: none !important;
}

.v415-download-ready {
  position: fixed;
  z-index: 180;
  right: 18px;
  bottom: 18px;
  direction: rtl;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  max-width: min(440px, calc(100vw - 28px));
  padding: 11px 12px;
  border: 1px solid #b9d9c7;
  border-radius: 12px;
  color: #214c37;
  background: #f0faf4;
  box-shadow: 0 16px 44px rgba(18, 52, 36, .2);
  font-family: Arial, Tahoma, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.ui-en ~ .v415-download-ready,
.ui-en .v415-download-ready {
  direction: ltr;
}

.v415-download-ready a {
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  background: #1f6a45;
  text-decoration: none;
  white-space: nowrap;
}

.v415-download-ready button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #456a57;
  background: #dcefe4;
  font-size: 17px;
}

@media (max-width: 600px) {
  .v415-download-ready {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr auto;
  }

  .v415-download-ready span {
    grid-column: 1 / -1;
  }
}
