@font-face {
  font-family: 'Trajan';
  src: url('/user/documents/TrajanPro-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Brush';
  src: url('/user/documents/BrushScriptOpti-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Times';
  src: url('/user/documents/times.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Kunstler';
  src: url('/user/documents/KUNSTLER.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
.engraving-config-link {
    display: block;
    margin-top: -10px;
    font-weight: bold;
    color: #007bff;
    cursor: pointer;
}

.engraving-popup-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.engraving-popup-overlay.active {
    display: flex;
}

.engraving-popup {
    background: white;
    padding: 30px;
    max-width: 900px;
    width: 100%;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.engraving-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.engraving-section {
    flex: 1;
    min-width: 250px;
}

.engraving-section input,
.engraving-section select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 16px;
    border-radius: 8px;
    border: solid 1px #dadada;
}

.save-btn {
    background-color: black;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 25px;
}

.save-btn:hover {
    background-color: #553d00;
}
.preview {
		margin-top: 8px;
    padding: 10px;
    min-height: 50px;
    border: solid 1px #dadada;
    font-size: 35px;
    line-height: 35px;
    background: #fff;
    border-radius: 6px;
    font-weight: lighter;
}
div#dkLabNoteMainWrapper {
    display: none;
}
@media (max-width: 768px) {
    .engraving-popup-overlay {
        align-items: flex-start;
        overflow-y: auto;
        padding: 20px;
    }

    .engraving-popup {
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px;
    }

    .engraving-content {
        flex-direction: column;
        gap: 20px;
    }

    .preview {
        font-size: 28px;
        line-height: 30px;
    }
}