.cv-text {
  font-family: 'Courier New', Consolas, monospace;
  font-weight: bold;
}


.cv-text::after {
  content: ">";
}


@supports (content: "\2197") {
  .cv-text::after {
    content: "\2197";
  }
}


@supports (content: "\2197\FE0F") {
  .cv-text::after {
    content: "\2197\FE0F";
  }
}


.btn.btn-secondary-deep {
  font-size: 1rem;
  line-height: 1.5;
  color: #fff !important;
  font-weight: 400;
  
  background-color: #5a6268 !important;
  border-color: #5a6268 !important;
  padding: 0.1em 0.4em;
  vertical-align: baseline;
}

.btn.btn-secondary-deep:hover {
  background-color: #4e555b !important;
  border-color: #484e53 !important;
  color: #fff !important;
}

.btn.btn-secondary-deep:active,
.btn.btn-secondary-deep.active {
  background-color: #3d4348 !important;
  border-color: #383e42 !important;
  color: #fff !important;
}

.btn.btn-secondary-deep:focus,
.btn.btn-secondary-deep.focus {
  box-shadow: 0 0 0 0.2rem rgba(90, 98, 104, 0.5) !important;
}

.btn.btn-secondary-deep:disabled,
.btn.btn-secondary-deep.disabled {
  background-color: #5a6268 !important;
  border-color: #5a6268 !important;
  color: #fff !important;
  opacity: 0.65;
}


.footer-row {
    display: flex;
    margin: 12px 0;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}


/* map statistics block  */
.geo_wrapper {
    position: relative;
    display: inline-block;
}

.geostat-button {
    cursor: pointer;
    padding: 6px 14px;
    background: #4CAF50;
    color: #fff;
    border: 0;
    border-radius: 4px;
}

.geostat-container {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    z-index: 9999;
}

.geo_wrapper:hover .geostat-container {
    display: block;
}


/* citation block  */
.citeblock-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #0b1020;
  color: #e5e7eb;
  padding: 14px;
  margin: 18px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  overflow: hidden
}
.citeblock-lang {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #cbd5e1;
  user-select: none
}
.citeblock-copy {
  position: absolute;
  margin: 10px;
  top: 5px;
  right: 20px;
  border: 1px solid #f5f5f5;
  background: #022b6d;
  color: #cbd5e1;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: transform .05s, background .15s;
  min-width: 8ch;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.citeblock-copy:hover { background:#172244 }
.citeblock-copy:active { transform: scale(.98) }
.citeblock-copy[aria-disabled="true"] { opacity:.6; cursor:not-allowed }
.citeblock-toast {
  position: absolute;
  top: 10px;
  right: 86px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s, transform .18s
}
.citeblock-toast.show {
  opacity: 1;
  transform: translateY(0)
}
.citeblock-card pre {
  margin: 0;
  padding-top: 28px;
  max-height: 20ch;
  overflow: auto;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre
}
.citeblock-card pre code {
  color: #cbd5e1;
}


/* PDF container */
.responsive-pdf-container {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 80vh;
    position: relative;
    width: 100%;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.responsive-pdf-iframe {
    border: none;
    width: 100%;
    height: 100%;
    display: block;
}

.pdf-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #6c757d;
    padding: 2rem;
}

.cv-buttons {
    display: flex;
    gap: 0.5rem;
}


@media (max-width: 768px) {
    .responsive-pdf-container {
        height: 65vh;
        border-radius: 0.375rem;
    }
    
    .cv-buttons {
        width: 100%;
    }
    
    .cv-buttons .btn {
        flex: 1;
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .responsive-pdf-container {
        height: 60vh;
        border-radius: 0.25rem;
    }
    
    .container-xl {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .cv-buttons .btn {
        font-size: 0.8rem;
        padding: 0.375rem 0.5rem;
    }
}
