.dlinq-prompt-display .prompt-box {
    white-space: pre-wrap;
}

/* Simplified button styles for plugin buttons: .btn-dlinq and .btn-ai
   Ensure consistent padding and width behavior between them. */
.btn-dlinq,
.btn-ai {
    display: inline-block;
    text-decoration: none;
    padding: .55rem .9rem;
    border-radius: .35rem;
    box-sizing: border-box;
    width: 160px;  /* Fixed width for consistency */
    text-align: center;
    font-weight: 600;
    line-height: 1;
    transition: all .15s ease;
    cursor: pointer;
    margin: 0.5rem auto;
    border: 2px solid var(--wp--preset--color--primary, #1e73be);
    display: block;
}

/* Primary button */
.btn-dlinq {
    background-color: var(--wp--preset--color--primary, #1e73be);
    color: var(--wp--preset--color--base, #ffffff);
}

/* AI / secondary button (white background with primary-colored border) */
.btn-ai {
    background-color: var(--wp--preset--color--base, #ffffff);
    color: var(--wp--preset--color--primary, #1e73be);
}

/* Hover states */
.btn-dlinq:hover,
.btn-ai:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button element resets */
button.btn-dlinq,
button.btn-ai {
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    font-size: inherit;
}

/* Small screens */
@media (max-width: 480px) {
    .btn-dlinq,
    .btn-ai {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Copy alert styling */
.copy-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2ecc71;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    z-index: 1000;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -60%); }
    20% { opacity: 1; transform: translate(-50%, -50%); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -40%); }
}

/* Prompt specific styles */
.dlinq-prompt-display { 
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--wp--preset--color--base, #ffffff);
}

.dlinq-prompt-display:nth-of-type(even) {
    background-color: var(--wp--preset--color--subtle-background, #f7f8f9);
}

.prompt-box {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    border: 1px solid var(--wp--preset--color--border, #e0e0e4);
    border-radius: 8px;
    background-color: var(--wp--preset--color--base, #ffffff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.prompt-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

