/* .smartcrumb-breadcrumbs {
    font-size: 14px;
}
.smartcrumb-breadcrumbs a {
    text-decoration: none;
    color: #0073aa;
}
.smartcrumb-breadcrumbs a:hover {
    text-decoration: underline;
}
#smartcrumb-shortcode {
    margin-right: 10px;
    padding: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}
#smartcrumb-license-key {
    margin-right: 10px;
    padding: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}
#smartcrumb-copy-button,
#smartcrumb-license-button {
    vertical-align: middle;
}

select[multiple] {
    width: 100%;
    height: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
 */

/* ENABLE HOME CSS */


:root {
    --tiger-primary: #f58634;
    --tiger-gradient-start: #ff9a3c;
    --tiger-gradient-end: #f58634;
    --tiger-dark: #1e1e1e;
    --tiger-text: #ffffff;
    --tiger-text-muted: #bbbbbb;
}

.smartcrumb-pro-section {
    margin-left: -220px;
}
.smartcrumb-pro-section h2 {
    margin-left: 0;
    padding-left: 0;
}

.select2-results__option--highlighted {
    background: linear-gradient(135deg, var(--tiger-gradient-start), var(--tiger-primary), var(--tiger-gradient-end)) !important;
    color: #fff !important;
}

.smartcrumb-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.smartcrumb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.smartcrumb-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: 0.4s;
  border-radius: 28px;
}

.smartcrumb-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/*   Modern purple ON state */
.smartcrumb-switch input:checked + .smartcrumb-slider {
    background: linear-gradient(135deg, var(--tiger-gradient-start), var(--tiger-primary), var(--tiger-gradient-end));
}
.smartcrumb-switch input:checked + .smartcrumb-slider:before {
    transform: translateX(24px);
}

/* Sparkles */
.smartcrumb-sparkles {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.smartcrumb-sparkles::before,
.smartcrumb-sparkles::after {
  content: "✦";
  position: absolute;
  opacity: 0;
  font-size: 11px;
  color: gold; /* ✨ golden stars */
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.9);
  animation: none;
}


.smartcrumb-switch input:checked ~ .smartcrumb-sparkles::before {
  left: -22px;
  top: -18px;
  animation: sparkle 0.8s ease forwards;
}

.smartcrumb-switch input:checked ~ .smartcrumb-sparkles::after {
  left: 18px;
  top: -12px;
  animation: sparkle 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes sparkle {
  0% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  40% { opacity: 1; transform: scale(1.2) rotate(20deg); }
  80% { opacity: 1; transform: scale(1) rotate(-20deg); }
  100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
}

/* Label spacing */
.smartcrumb-label {
  margin-left: 10px;
  vertical-align: middle;
  font-size: 14px;
}

.smartcrumb-label {
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tiger-text-muted);
  line-height: 1.4;
  display: inline-block;
  position: relative;
  top: 2px; /* small adjustment for perfect vertical alignment */
}


/* ------------------------------------------------------------ */


/* Separator Options Wrapper */
.smartcrumb-separator-options {
    display: flex;
    align-items: center;
    gap: 12px; /* spacing between options */
    margin-top: 5px;
    flex-wrap: wrap;
}

/* Default option buttons */
.smartcrumb-separator-options label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

/* Hide default radio */
.smartcrumb-separator-options input[type="radio"] {
    display: none;
}

/* Custom styled radio as pill button */
.smartcrumb-separator-options input[type="radio"] + span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: #eee;
    color: #333;
    transition: all 0.3s ease;
    font-size: 13px;
}

/* Checked state */
.smartcrumb-separator-options input[type="radio"]:checked + span {
    background: linear-gradient(135deg, var(--tiger-gradient-start), var(--tiger-primary));
    color: #fff;
    box-shadow: 0 3px 8px rgba(245, 134, 52, 0.4);
}

/* Custom input box */
.smartcrumb-separator-options input[type="text"] {
    padding: 3px 6px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 60px;
    margin-left: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus effect for custom input */
.smartcrumb-separator-options input[type="text"]:focus {
    border-color: var(--tiger-primary);
    box-shadow: 0 0 6px rgba(245, 134, 52, 0.5);
}


/* ----------------------------------------------------------- */
/* Shortcode wrapper */
.smartcrumb-shortcode-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    max-width: 300px;
}

/* Shortcode input */
#smartcrumb-shortcode {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#smartcrumb-shortcode:focus {
    border-color: var(--tiger-primary);
    box-shadow: 0 0 6px rgba(245, 134, 52, 0.5);
    outline: none;
}

/* Copy button */
#smartcrumb-copy-button {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--tiger-gradient-start), var(--tiger-primary), var(--tiger-gradient-end));
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#smartcrumb-copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 134, 52, 0.35);
}

#smartcrumb-copy-button.copied {
    background: linear-gradient(135deg, var(--tiger-gradient-end), var(--tiger-primary), var(--tiger-gradient-start));
}

/* Description text */
.smartcrumb-description {
    font-size: 13px;
    color: var(--tiger-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Shortcode button sparkles */
.shortcode-sparkles {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

/* Using pseudo-elements for sparkles */
#smartcrumb-copy-button .shortcode-sparkles::before,
#smartcrumb-copy-button .shortcode-sparkles::after,
#smartcrumb-copy-button .shortcode-sparkles::nth-child(3) {
    content: "✦";
    position: absolute;
    opacity: 0;
    font-size: 10px;
    color: gold;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
    animation: none;
}

/* Animation when button clicked */
#smartcrumb-copy-button.copied .shortcode-sparkles::before {
    left: -12px;
    top: -10px;
    animation: sparkle 0.8s ease forwards;
}
#smartcrumb-copy-button.copied .shortcode-sparkles::after {
    left: 10px;
    top: -8px;
    animation: sparkle 0.8s ease forwards;
    animation-delay: 0.2s;
}
#smartcrumb-copy-button.copied .shortcode-sparkles:nth-child(3) {
    left: 0px;
    top: -14px;
    animation: sparkle 0.8s ease forwards;
    animation-delay: 0.1s;
}

/* Reuse sparkle keyframes from switch */
@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    40% { opacity: 1; transform: scale(1.2) rotate(20deg); }
    80% { opacity: 1; transform: scale(1) rotate(-20deg); }
    100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
}


/* Licnese Key activation/deactivation page */

/* License wrapper */
.smartcrumb-license-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    max-width: 350px;
}

/* License input */
#smartcrumb-license-key {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fafafa;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#smartcrumb-license-key:focus {
    border-color: var(--tiger-primary);
    box-shadow: 0 0 6px rgba(245, 134, 52, 0.5);
    outline: none;
}

/* Buttons */
.smartcrumb-button-primary,
.smartcrumb-button-secondary {
    position: relative;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border: none !important;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.smartcrumb-button-primary {
    background: linear-gradient(135deg, var(--tiger-gradient-start), var(--tiger-primary), var(--tiger-gradient-end)) !important;
    color: #fff !important;
}

.smartcrumb-button-secondary {
    background: #ccc;
    color: #333;
}

/* Button hover effects */
.smartcrumb-button-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(245, 134, 52, 0.35) !important;
}

.smartcrumb-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Status description */
.smartcrumb-description {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Button sparkles */
.smartcrumb-button-sparkles {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.smartcrumb-button-sparkles::before,
.smartcrumb-button-sparkles::after {
    content: "✦";
    position: absolute;
    opacity: 0;
    font-size: 10px;
    color: gold;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
    animation: none;
}

.smartcrumb-button-primary.copied .smartcrumb-button-sparkles::before {
    left: -12px; top: -10px; animation: sparkle 0.8s ease forwards;
}

.smartcrumb-button-primary.copied .smartcrumb-button-sparkles::after {
    left: 10px; top: -8px; animation: sparkle 0.8s ease forwards; animation-delay: 0.2s;
}


.error-message {
    margin: 10px 0 0 0;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.error-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message.success {
    display: block;
    background-color: #d4edda;
    color: #28a745  !important;
    border: 1px solid #c3e6cb;
}

/* Or if you want the messages to always be visible but styled: */
.error-message.error,
.error-message.success {
    display: block;
    margin: 10px 0 0 0;
    padding: 10px;
    border-radius: 4px;
}

.error-message:empty {
    display: none;
}



/* Reuse sparkle animation */
@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    40% { opacity: 1; transform: scale(1.2) rotate(20deg); }
    80% { opacity: 1; transform: scale(1) rotate(-20deg); }
    100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
}


.smartcrumb-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.smartcrumb-loader .spinner {
    border: 4px solid #333;
    border-top: 4px solid var(--tiger-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: smartcrumb-spin 1s linear infinite;
}

/* Tooltip styles */
.smartcrumb-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    cursor: help;
    vertical-align: middle;
}

.smartcrumb-info-icon {
    color: #666;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.smartcrumb-info-icon:hover {
    color: #f58634; /* Your orange color */
    opacity: 1;
}

/* Tooltip bubble */
.smartcrumb-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background-color: #333;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    font-weight: normal;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Tooltip arrow */
.smartcrumb-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    margin-bottom: -5px;
}

/* Show tooltip on hover */
.smartcrumb-tooltip:hover::before,
.smartcrumb-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

.smartcrumb-tooltip:hover::after {
    bottom: 100%;
}

/* If you want to show the tooltip on the side for better visibility */
.smartcrumb-tooltip.side-tooltip::before {
    bottom: 50%;
    left: 100%;
    transform: translateY(50%);
    margin-left: 10px;
    white-space: normal;
    width: 200px;
    text-align: left;
}

.smartcrumb-tooltip.side-tooltip::after {
    bottom: 50%;
    left: 100%;
    transform: translateY(50%);
    border-color: transparent transparent transparent #333;
    margin-left: 0;
    margin-bottom: 0;
}

.smartcrumb-tooltip.side-tooltip:hover::before {
    bottom: 50%;
    left: calc(100% + 15px);
}

.smartcrumb-tooltip.side-tooltip:hover::after {
    bottom: 50%;
    left: 100%;
}

@keyframes smartcrumb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}