/* =========================================================
   SmartCrumb — frontend + admin styles (free version)
   ========================================================= */

/* ---------------------------------------------------------
   Frontend breadcrumb nav
   --------------------------------------------------------- */
.smartcrumb-breadcrumbs {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
}

.smartcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.smartcrumb-nav a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.smartcrumb-nav a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.smartcrumb-nav .smartcrumb-sep {
    user-select: none;
    opacity: 0.6;
    margin: 0 2px;
}

/* ---------------------------------------------------------
   Toggle switch (admin settings)
   --------------------------------------------------------- */
.smartcrumb-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    vertical-align: middle;
}

.smartcrumb-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.smartcrumb-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.25s;
}

.smartcrumb-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}

.smartcrumb-switch input:checked + .smartcrumb-slider {
    background: #f58634;
}

.smartcrumb-switch input:checked + .smartcrumb-slider::before {
    transform: translateX( 22px );
}

/* ---------------------------------------------------------
   Shortcode copy widget (admin)
   --------------------------------------------------------- */
.smartcrumb-shortcode-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.smartcrumb-shortcode-wrapper input[type="text"] {
    font-family: monospace;
    font-size: 14px;
    background: #f9f9f9;
}

/* ---------------------------------------------------------
   Go Pro comparison table (admin)
   --------------------------------------------------------- */
.smartcrumb-go-pro-wrap table th,
.smartcrumb-go-pro-wrap table td {
    text-align: center;
    padding: 10px 14px;
}

.smartcrumb-go-pro-wrap table th:first-child,
.smartcrumb-go-pro-wrap table td:first-child {
    text-align: left;
}

/* ---------------------------------------------------------
   Locked Pro UI
   --------------------------------------------------------- */
.smartcrumb-pro-badge {
    display: inline-block;
    background: #ff5e5e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.smartcrumb-pro-locked-field {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}

.smartcrumb-pro-locked-field .description {
    width: 100%;
    margin-top: 4px;
}

.smartcrumb-pro-locked-section {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
}

.smartcrumb-pro-locked-section input[disabled],
.smartcrumb-pro-locked-section select[disabled],
.smartcrumb-pro-locked-section button[disabled] {
    pointer-events: none;
}
