/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*
#us_short_link, #us_link_clicks {
    width: 10%;
}
*/

.hyla-link {
    color: #5850ec;
}

.kc-flex {
    display: flex;
}

.hyla-link-icon {
    width: 2.5rem;
    color: #5850ec;
    height: 1.5rem;
    cursor: pointer;
}

.hyla-link-create-icon {
    width: 2.5rem;
    color: #000000;
    height: 1.5rem;
    cursor: pointer;
}

.hyla-qr-code .qr {
    margin-left: auto;
    margin-right: auto;
    font-size: 1px;
    width: 50%;
}


/** Frontend CSS **/

#generate-short-link, #generated-short-link {
    text-align: center;
}

#generate-short-link #hyla-target-url, #generate-short-link #hyla-short-url {
    width: 60%;
    display: inline;
    border: 1px solid grey;
    border-radius: 50px 0px 0px 50px;
    background-color: #FFFFFF;
    margin: 0px;
    font-size: 16px;
}

#generate-short-link #hyla-submit-btn, #generate-short-link #hyla-copy-btn {
    border: 1px solid grey;
    display: inline;
    padding: 15px;
    background-color: #4662FA;
    color: #FFFFFF;
    border-radius: 0px 50px 50px 0px;
    margin: -5px;
    width: 150px;
    font-size: 16px;
}



.hyla-tooltip {
    position: relative;
    display: inline-block;
}

.hyla-tooltip .hyla-tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.hyla-tooltip .hyla-tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.hyla-tooltip:hover .hyla-tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* R2-E fix (2026-08-16 QA F3): reduced-motion accommodation. This
   sheet loads on both wp-admin and the frontend redirect pages
   (bar/meta-refresh/cloaked), where the admin-only hyla-console.css
   reduction block never reaches — give this file's own transition
   its own guard. */
@media (prefers-reduced-motion: reduce) {
    .hyla-tooltip .hyla-tooltiptext {
        transition-duration: 0.01ms !important;
    }
}


