/* ps_demos — demo button styles
   All selectors are namespaced with .prestanaut-demo-* to avoid conflicts */

:root {
    --prestanaut-demo-bg:    #0d6efd;
    --prestanaut-demo-text:  #ffffff;
    --prestanaut-demo-hover: #0b5ed7;
}

.prestanaut-demo-wrapper {
    display: block;
    margin-top: 12px;
    width: 100%;
}

.prestanaut-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;

    background-color: var(--prestanaut-demo-bg);
    color: var(--prestanaut-demo-text);

    /* Security: prevent wrapping of long URLs in button label */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prestanaut-demo-btn:hover,
.prestanaut-demo-btn:focus {
    background-color: var(--prestanaut-demo-hover);
    color: var(--prestanaut-demo-text);
    text-decoration: none;
    outline: 2px solid var(--prestanaut-demo-hover);
    outline-offset: 2px;
}

.prestanaut-demo-placeholder {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    border: 1px dashed #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}
