.db-rest-edicion {
    background-color: #f9f9f9; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    padding: 10px; 
    font-family: monospace;
}

.db-rest-edicion pre {
    background-color: #eef; 
    padding: 10px; 
    border-radius: 5px; 
    border: 1px solid #ddd;
}

.db-rest-edicion > .titulo {
    font-family: 'SegoeUIBold', sans-serif;
    font-weight: 400;
    color: #333; 
    font-size: 1.5em; 
}

.db-rest-edicion > .subtitulo {
    font-family: 'SegoeUIBold', sans-serif;
    font-weight: 400;
    color: #333; 
}

.db-rest-edicion p > .error {
    color: #c00;
}


.box-info .titulo-anuncio {
    margin-bottom: 0.5rem;
}

.box-info .titulo-anuncio h2 {
    display: inline !important;
    margin: 0;
}

.box-info .titulo-anuncio .btn-copiar {
    display: inline;
    margin-left: 0.5rem;
    white-space: nowrap;
}


/* Restablece el botón para que se comporte visualmente como un enlace o elemento transparente */
.btn-copiar {
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    border: none;
}

/* Efecto al pulsar/clicar el botón */
.btn-copiar:active,
.btn-copiar.copiado {
    transform: scale(0.92);
}

/* Notificación flotante (Toast) en la esquina superior derecha */
.toast-copiado {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #5cb85c;
    color: #111111;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    opacity: 0;
}

.toast-copiado.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toast-copiado .icono-check {
    font-weight: bold;
    font-size: 16px;
}

