/* === Reset (scoped-friendly, no opinionated typography) === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.4;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

/* Remove default margins on common text elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Make images responsive by default */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Consistent tables */
table {
    border-collapse: collapse;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*
form {
  display: block;
}*/

/* UKC base theme (scoped) */
.ukc-theme {
    --bg: #eeeeee;
    --card-bg: #fff;
    --card-outline: 1px solid #d1d1d1;
    --text: #111213;
    --muted: #6b7280;
    --border: #dadada;
    --card: #ffffff;
    --btn-bg: #fff;
    --btn-hover: rgba(0, 0, 0, .06);
    --link: #386097;
    --visited: #386097;
    --hover: #1f2937;
    --panel: #ffffff;
    --unread: #ebf1ff;
    --side-bg: #f5f5f5;
    --contrast-border: #adadad;

    background: var(--bg);
    background-image: url("/ukc/assets/ukc-bg.png");
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    /* modern browsers */
}

/* Dark mode variables */
.ukc-theme[data-theme="dark"] {
    --bg: #0f1115;
    --card-bg: #151923;
    --card-outline: 1px solid #000000;
    --text: #bfc1c5;
    --muted: #8c8c94;
    --border: #20242e;
    --card: #151923;
    --btn-bg: #151923;
    --btn-hover: rgba(255, 255, 255, .08);
    --link: #98aacf;
    --visited: #98aacf;
    --hover: #bfc1c5;
    --panel: #151923;
    --unread: #192031;
    --side-bg: #11141b;
    --contrast-border: #292e3b;
}

/* Layout */
.ukc-nav {
    background: var(--bg);
    display: flex;
    flex-wrap: wrap;
    /* allow wrap on small screens */
    gap: 12px;
    align-items: center;
    padding: 20px 14px;
    border-bottom: 2px solid var(--contrast-border)
}

.ukc-container {
    display: flex;
    min-height: 100vh;
}

.sidenav {
    background-color: var(--side-bg);
    max-width: 20%;
    min-width: 225px;
    padding: 2rem 1rem;
    min-height: 100%;
}

/*_____________________________*/

.ukc-sidenav details {
    margin-bottom: 1.2rem;
}

.ukc-sidenav summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    margin-bottom: .5rem;
}

.ukc-sidenav li {
    margin-left: 1rem;
}

.ukc-sidenav summary:hover,
.ukc-sidenav summary:focus {
    text-decoration: underline;
}

.ukc-sidenav summary::before {
    content: '▸';
    display: inline-block;
    margin-right: .4rem;
    transition: transform .15s ease;
}

.ukc-sidenav details[open]>summary::before {
    transform: rotate(90deg);
}

.ukc-sidenav details details {
    margin-left: .75rem;
    padding-left: .5rem;
}

.ukc-sidenav ul {
    padding-left: 1.25rem;
}

.ukc-footer {
    background: var(--bg);
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 1rem;
    border-top: 2px solid var(--contrast-border)
}

/*_____________________________*/

.ukc-main {
    padding: 2rem;
    max-width: 100%;
    min-width: 75%;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--hover);
    text-decoration: underline;
}

a:visited {
    color: var(--visited);
}

.ukc-nav a {
    text-decoration: none;
    color: var(--link);
    white-space: nowrap;
    /* prevent ugly wraps in links */
}

.ukc-nav .spacer {
    flex: 1 1 auto;
    min-width: 20px;
}

.ukc-nav a:hover {
    text-decoration: underline;
}

/* On narrow screens, make the nav horizontally scrollable if needed */
@media (max-width: 560px) {
    .ukc-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.ukc-wrap {
    max-width: 1040px;
    margin: 20px auto;
    padding: 0 14px;
}

@media (min-width: 1280px) {
    .ukc-wrap {
        max-width: 1180px;
    }
}

/* Buttons/inputs */

.ukc-login {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ukc-login input {
    padding: 6px 8px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.ukc-theme-select select {
    padding: 6px 8px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
}

table th,
table td {
    border: 1px solid var(--border);
    padding: 6px 8px;
}

/* --- Themed form controls (light & dark) --- */
.ukc-theme input[type="text"],
.ukc-theme input[type="password"],
.ukc-theme input[type="email"],
.ukc-theme input[type="search"],
.ukc-theme input[type="number"],
.ukc-theme input[type="date"],
.ukc-theme input[type="datetime-local"],
.ukc-theme input[type="url"],
.ukc-theme input[type="tel"],
.ukc-theme textarea,
.ukc-theme select {
    background: var(--btn-hover);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 8px;
    outline: none;
    caret-color: var(--text);
}

/* Placeholder color */
.ukc-theme ::placeholder {
    color: var(--muted);
    opacity: 1;
    /* Firefox */
}

/* Focus ring uses the link color so it works in both themes */
.ukc-theme input[type="text"]:focus-visible,
.ukc-theme input[type="password"]:focus-visible,
.ukc-theme input[type="email"]:focus-visible,
.ukc-theme input[type="search"]:focus-visible,
.ukc-theme input[type="number"]:focus-visible,
.ukc-theme input[type="date"]:focus-visible,
.ukc-theme input[type="datetime-local"]:focus-visible,
.ukc-theme input[type="url"]:focus-visible,
.ukc-theme input[type="tel"]:focus-visible,
.ukc-theme textarea:focus-visible,
.ukc-theme select:focus-visible {
    border-color: var(--link);
    box-shadow: 0 0 0 2px var(--link, #1f2937) inset;
}

/* Safari/Chrome autofill fix so the yellow autofill doesn't clash in dark mode */
.ukc-theme input:-webkit-autofill,
.ukc-theme input:-webkit-autofill:hover,
.ukc-theme input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    box-shadow: 0 0 0 1000px var(--card) inset;
    transition: background-color 9999s ease-in-out 0s;
}

/* === Unified Buttons (buttons & button-styled links) === */
.ukc-theme .ukc-btn,
.ukc-theme a.ukc-btn,
.ukc-theme button.ukc-btn,
.ukc-theme input[type="submit"].ukc-btn,
.ukc-theme input[type="button"].ukc-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 6px 10px;
    /* small padding */
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--btn-bg);
    /* theme color */
    color: var(--text);
    /* theme color */
    text-decoration: none;
    /* no underlines, even for links */
    cursor: pointer;
    line-height: 1.2;
}

.ukc-theme .ukc-btn:hover,
.ukc-theme a.ukc-btn:hover,
.ukc-theme button.ukc-btn:hover,
.ukc-theme input[type="submit"].ukc-btn:hover,
.ukc-theme input[type="button"].ukc-btn:hover {
    background: var(--btn-hover);
    /* theme hover */
}

/* Accessible focus ring */
.ukc-theme .ukc-btn:focus-visible,
.ukc-theme a.ukc-btn:focus-visible,
.ukc-theme button.ukc-btn:focus-visible,
.ukc-theme input[type="submit"].ukc-btn:focus-visible,
.ukc-theme input[type="button"].ukc-btn:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

/* Disabled */
.ukc-theme .ukc-btn[disabled],
.ukc-theme button[disabled],
.ukc-theme input[type="submit"][disabled],
.ukc-theme input[type="button"][disabled],
.ukc-theme .ukc-btn.is-disabled {
    opacity: .55;
    pointer-events: none;
}

/* === UKC Pet Profile Layout & Gallery === */
.ukc-pet-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ukc-reg-approved {
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: -0.25rem;
}

.ukc-decline-note {
    border: 1px solid #b91c1c;
    /* red-700 border */
    background: rgba(185, 28, 28, .06);
    color: #b91c1c;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 12px 0;
}

.ukc-decline-note .ukc-decline-reason {
    margin-top: 6px;
    white-space: pre-wrap;
    word-break: break-word;
}

.ukc-pet-profile,
.ukc-pet-gallery {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
}

.ukc-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ukc-gallery-item {
    display: inline-block;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem;
    background: var(--panel);
}

.ukc-award-gallery-item {
    display: inline-block;
    position: relative;
    padding: 0.5rem;
}

.ukc-gallery-item a {
    display: inline-block;
    line-height: 0;
}

.ukc-gallery-item img {
    background: #fff;
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 4px;
    display: block;
}

.ukc-award-gallery-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}

.ukc-gallery-item figcaption {
    font-size: 0.875rem;
    display: block;
    margin-top: 0.35rem;
    clear: both;
    color: var(--muted);
}

.ukc-showcase-results {
    display: flex;
    flex-flow: row wrap;
    gap: .5rem;
}


.ukc-showcase-results .ukc-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ukc-muted {
    color: var(--muted);
    margin: .25rem 0;
}

.ukc-small {
    font-size: .9em;
}

.ukc-sep {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 1rem 0;
}

.ukc-photo-form label {
    display: block;
    margin-bottom: 0.5rem;
}

@media (min-width: 960px) {
    .ukc-pet-layout.has-gallery {
        grid-template-columns: 1.1fr 1fr;
        /* profile left, gallery right */
        align-items: start;
    }
}

/* === UKC Pet Profile image === */
.ukc-profile-image-wrap {
    margin-bottom: 0.75rem;
}

.ukc-profile-image {
    position: relative;
    display: inline-block;
    border: 0;
    background: var(--panel);
    border-radius: 8px;
    padding: 0.5rem;
}

.ukc-profile-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.ukc-profile-image--empty {
    background: var(--panel);
    color: var(--muted);
    background: var(--bg);
    text-align: center;
    min-width: 200px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.ukc-profile-btns {
    position: absolute;
    top: 6px;
    right: 6px;
    display: none;
    /* shown on hover */
    gap: 6px;
}

.ukc-profile-image:hover .ukc-profile-btns {
    display: flex;
}

.ukc-profile-btns button {
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 6px;
    padding: 4px 6px;
    cursor: pointer;
}

.ukc-profile-upload,
.ukc-profile-replace {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Profile preview image */
.ukc-profile-preview {
    display: none;
    max-width: 100%;
    height: auto;
    margin-top: 0.5rem;
}

/* === My Registered Pets Page === */

.ukc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.ukc-filter-bar div {
    display: flex;
    flex-direction: column;
}

.ukc-filter-bar input[type="text"],
.ukc-filter-bar select {
    min-width: 180px;
}

.ukc-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    /*overflow: hidden;*/
}

.ukc-table {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.ukc-table th,
.ukc-table td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid var(--border);
}

.ukc-table th a {
    color: inherit;
    text-decoration: none;
}

.ukc-table th a:hover {
    text-decoration: underline;
}

/* Reg Queue Image Modal */
.ukc-photo-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.ukc-photo-modal-inner {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
}

.ukc-theme .ukc-photo-close {
    all: unset;
    /* clears default styles + theme styles */
    position: absolute;
    top: -25px;
    right: -20px;
    color: red;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.ukc-photo-close:hover {
    color: #ff5555;
    /* brighter red on hover */
}

.ukc-photo-close:focus {
    outline: 2px solid red;
}

.ukc-photo-full {
    max-width: 95vw;
    max-height: 95vh;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #fff;
}

.conf-pet-preview--empty {
    background: var(--btn-bg);
    border: 1px solid var(--border);
}

/* --- UKC Profile (scoped to avoid conflicts) ---------------------------- */
.ukc-theme .ukc-profile {
    /* page scope hook; no visuals needed */
}

.ukc-theme .ukc-profile__section {
    margin: 1rem 0;
}

.ukc-theme .ukc-card--pad {
    padding: 1rem;
}

/* Grid for prefix cards */
.ukc-theme .ukc-prefixes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Individual prefix card (piggybacks .ukc-card you already have) */
.ukc-theme .ukc-prefix-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

/* Card body spacing */
.ukc-theme .ukc-prefix-card__body {
    padding: 1rem;
}

/* Standard banner region (4:1, e.g. 1200×300) */
.ukc-theme .ukc-prefix-banner {
    width: 100%;
    aspect-ratio: 4 / 1;
    overflow: hidden;
}

.ukc-theme .ukc-prefix-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Form spacing helpers (profile scope) */
.ukc-theme .ukc-form-field {
    margin: .5rem 0;
    display: flex;
    flex-direction: column;
}

.ukc-theme .ukc-form-actions {
    margin: .5rem 0;
}

/* Results filter bar (matches shows.php filter layout, but externalized) */
.ukc-filter-form {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.ukc-filter-form .ukc-form-field {
  min-width: 10rem;
}

.ukc-filter-form .ukc-form-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.ukc-filter-bar .ukc-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-end;
}

/* Search Show History: force keyword/type onto row 2, keep actions on row 1 */
.ukc-filter-bar--showhistory .ukc-filter-break {
    flex-basis: 100%;
    height: 0;
}

/* Nudge actions down to visually match labeled inputs */
.ukc-filter-bar--showhistory .ukc-filter-actions--lower {
    padding-top: 1.35rem;
}

.ukc-theme .ukc-file-label {
    display: block;
    margin-bottom: .25rem;
}

/* Tighter title spacing */
.ukc-theme .ukc-prefix-title {
    margin: .25rem 0;
}

.ukc-badge {
    font-size: .75rem;
    color: green;
}

/* --- UKC Judge History ----------------------------------------------- */
.ukc-theme .ukc-judge-history__section {
    margin: .75rem 0;
}

.ukc-theme .ukc-right {
    text-align: right;
}

.ukc-theme .ukc-judge-history__pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.ukc-theme .ukc-judge-history__pageinfo {
    display: inline-block;
    margin: .25rem .5rem;
}

/* Shows detail: entries flex gallery */
.ukc-entry-grid {
    display: flex;
    flex-flow: row wrap;
    justify-content:flex-start;
    align-items: stretch;
    gap: 10px;
}

/*.ukc-entry-card {
    background: var(--card-bg);
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border: 1px solid var(--card-outline);
    border-radius: 5px;
    padding: 10px;
    margin: 0;
}

.ukc-entry-photo {
    max-width: 100%;
    height: auto;
    display: block;
    background: #fff;
    border-radius: 5px;
    margin-bottom: .75rem;
}*/

.ukc-entry-card {
    background: var(--card-bg);
    width: auto;
    max-width: 100%;
    min-width: 220px;
    overflow-x:auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border: 1px solid var(--card-outline);
    border-radius: 5px;
    padding: 10px;
    margin: 0;
}

.ukc-entry-photo {
    max-width: none;
    height: auto;
    display: block;
    background: #fff;
    border-radius: 5px;
    margin-bottom: .75rem;
}

.ukc-entry-no-photo {
    width: 100%;
    height: 160px;
    /* placeholder box */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: #666;
    font-size: 0.9rem;
}

/* Conf Entry: Check all / uncheck all controls */
.ukc-checkall-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .25rem 0 .75rem;
}

.ukc-checkall-filter {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* Conformation judging: show pet images at native size without shrinking */
.ukc-page-judge .ukc-entry-card {
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-end;
}

.ukc-page-judge .ukc-entry-photo {
    max-width: none;
    height: auto;
    display: block;
}

.ukc-entry-meta {
    text-align: center;
    margin-top: 6px;
}

.ukc-entry-meta .ukc-notes {
    margin: .25rem auto 0;
    width: fit-content;
}

.ukc-entry-showname {
    font-weight: 600;
    margin-bottom: .5rem;
}

.ukc-entry-reg a {
    text-decoration: none;
}

.ukc-entry-reg a:hover,
.ukc-entry-reg a:focus {
    text-decoration: underline;
}

/* Placement Fields*/
.ukc-entry-place {
    margin-top: 6px;
}

.ukc-entry-place-select {
    width: 120px;
}

.ukc-entry-place-other {
    margin-top: 4px;
}

.ukc-entry-place-input {
    width: 70px;
}

/* Overlay ribbon on judged entries */
.ukc-entry-photo-wrap {
    position: relative;
    display: inline-block;
}

.ukc-ribbon {
    position: absolute;
    left: 6px;
    bottom: 6px;
    pointer-events: none;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
    -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
    /*Safari */
}

/* -----
PROFILE STUFF
----- */

/* Profile Ribbons*/
.ukc-ribbon-img {
    vertical-align: middle;
    margin-right: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
    -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
    /*Safari */
}

/* Placements grids (Showcase + Recent) */
.ukc-placements-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: flex-end;
    margin: .5rem 0;
}

.ukc-placement-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    width: 150px;
}

/* Ribbons inside cards: centered */
.ukc-placements-grid .ukc-ribbon-img {
    display: block;
    margin: 0 0 6px 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
    -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45));
    /*Safari */
}

/* Tiny helper */
.ukc-muted.center {
    text-align: center;
}

/* Left column stacks its internal sections cleanly */
.ukc-pet-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FONTS*/
@font-face {
    font-family: 'header';
    src: url('/ukc/assets/Super Mario Bros. 2.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'body';
    src: url('/ukc/assets/COMIC.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Apply to headers */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'header';
    font-size: 1.1rem;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: .5rem;
}

h2 {
    font-size: .9rem;
}

h3 {
    font-size: .75rem;
}

body {
    font-family: verdana
        /*'body'*/
    ;
    font-size: .75rem;
}

p {
    margin-bottom: 2rem;
}

/* Better tap targets on small screens */
@media (max-width: 560px) {

    .ukc-theme button,
    .ukc-theme input[type="submit"],
    .ukc-theme input[type="button"],
    .ukc-btn {
        min-height: 38px;
    }
}

.ukc-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* === Responsive tables: fluid on desktop, stacked on phones === */
.ukc-table {
    width: 100%;
    table-layout: auto;
}

/* Stack rows into label/value pairs on narrow screens */
@media (max-width: 680px) {
    .ukc-table thead {
        display: none;
    }

    .ukc-table tr {
        display: grid;
        grid-template-columns: 9.5rem 1fr;
        /* label | value */
        gap: 6px 10px;
        border-bottom: 1px solid var(--border);
        padding: 8px 10px;
    }

    .ukc-table td {
        display: contents;
        /* let label/value align to grid cells cleanly */
        border: 0;
        padding: 0;
    }

    .ukc-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--muted);
        /* goes into the first grid column automatically */
    }

    /* Values (the actual cell text) go into the second grid column */
    .ukc-table td>*:not(.ukc-sr-only),
    .ukc-table td:not(:has(*)) {
        grid-column: 2;
    }

    /* Make action/select controls breathe a bit on touch */
    .ukc-table select,
    .ukc-table a,
    .ukc-table button,
    .ukc-table input[type="submit"] {
        min-height: 36px;
    }
}

/* Messages table row states */
.ukc-messages-table tr.unread {
    background-color: var(--unread);
}

.ukc-messages-table tr.read {
    background-color: var(--card-bg);
}

.ukc-messages-table tr.unread td {
    font-weight: 600;
}

form {
    margin-block-end: 0;
}

@media (max-width: 600px) {
    .ukc-container {
        display: flex;
        flex-direction: column;
    }

    .sidenav {
        background-color: var(--side-bg);
        max-width: 100%;
        min-width: 100%;
        padding: 1rem;
    }
}

.info-card p {
    margin-top: .75rem;
    margin-bottom: .9rem;
}

/*========================
Sidenav → hamburger (dropdown)
========================*/

/* Hide hamburger on desktop (beats .ukc-theme button / a.ukc-btn) */
.ukc-theme button.ukc-hamburger,
.ukc-theme a.ukc-hamburger {
    display: none;
}

/* Mobile dropdown behavior */
@media (max-width:600px) {

    .ukc-theme button.ukc-hamburger,
    .ukc-theme a.ukc-hamburger {
        display: block;
        width: 100%;
        /* full width */
        flex: 1 0 100%;
        /* force new row in flex */
    } 

    /* Keep your existing column stack */
    .ukc-container {
        display: flex;
        flex-direction: column;
    }

    /* Hide sidenav by default on mobile */
    .sidenav {
        display: none;
        background-color: var(--side-bg);
        padding: 1rem;
        border-top: 1px solid var(--border);
        max-width: 100%;
        min-width: 100%;
    }

    /* Show sidenav when toggled */
    body.ukc-nav-open .sidenav {
        display: block;
    }
}

/*=============
owner notes / pet bio
---------------------*/
/* Public blurb section */
.ukc-pet-public-blurb {
    margin-bottom: 2rem;
}

.ukc-public-blurb {
    line-height: 1.5;
    white-space: pre-line;
}

/* Private notes section (owner-only) */
.ukc-pet-private-notes {
    margin-top: 1rem;
}

.ukc-private-notes {
    background: var(--bg);
    border: var(--border);
    border-radius: 6px;
    padding: 0.75rem;
    line-height: 1.5;
    white-space: pre-line;
}

/*=============
Ancestry grid
---------------------*/
/* === Ancestry grid === */
.ukc-anc-grid {
    display: grid;
    gap: 8px;
}

.ukc-anc-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ukc-anc-head {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    opacity: .75;
    margin-bottom: 4px;
}

/* Node boxes */
.ukc-anc-node {
    display: block;
    /* makes the whole box clickable */
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.2;
    border: 1px solid var(--ukc-anc-border, #c8c8c8);
    text-decoration: none;
    /* remove underline on the <a> */
}

.ukc-anc-node .ukc-anc-name {
    font-weight: 600;
    display: block;
}

.ukc-anc-node .ukc-anc-meta {
    opacity: .9;
    font-size: 11px;
}

/* Light theme colors */
.ukc-anc-node.sex-male {
    background: #d9ecff;
    color: #0b3a5b;
}

.ukc-anc-node.sex-female {
    background: #ffd6ea;
    color: #5b173c;
}

.ukc-anc-node.sex-unknown {
    background: #efefef;
    color: #333;
}

/* Dark theme colors — use whichever selector your site actually applies */
.theme-dark .ukc-anc-node,
.dark .ukc-anc-node,
[data-theme="dark"] .ukc-anc-node {
    border-color: #444;
}

.theme-dark .ukc-anc-node.sex-male,
.dark .ukc-anc-node.sex-male,
[data-theme="dark"] .ukc-anc-node.sex-male {
    background: #123349;
    color: #cfe8ff;
}

.theme-dark .ukc-anc-node.sex-female,
.dark .ukc-anc-node.sex-female,
[data-theme="dark"] .ukc-anc-node.sex-female {
    background: #3e1e33;
    color: #ffd6ea;
}

.theme-dark .ukc-anc-node.sex-unknown,
.dark .ukc-anc-node.sex-unknown,
[data-theme="dark"] .ukc-anc-node.sex-unknown {
    background: #2b2b2b;
    color: #ddd;
}

/* Placeholder for unknown parents/grandparents */
.ukc-anc-node.is-unknown {
    background: repeating-linear-gradient(45deg,
            rgba(180, 180, 180, .25),
            rgba(180, 180, 180, .25) 6px,
            rgba(180, 180, 180, .35) 6px,
            rgba(180, 180, 180, .35) 12px);
    color: #555;
}

.ukc-form-actions .ukc-btn {
    padding: 6px 10px;
    font-size: inherit;
}

/* Normalize buttons to match links */
button.ukc-btn,
input.ukc-btn {
    appearance: none;
    -webkit-appearance: none;
    background: inherit;
    color: inherit;
    font: inherit;
    line-height: normal;
    border: inherit;
    padding: inherit;
}

/* Hover/focus highlighting */
.ukc-anc-node {
    transition: box-shadow .15s ease, outline-color .15s ease, transform .15s ease;
}

.ukc-anc-node.is-focus {
    outline: 2px solid #ff9800;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, .25) inset;
    transform: translateZ(0);
    /* avoid blurry text on some browsers */
}

.ukc-anc-node.is-related {
    outline: 2px solid rgba(255, 152, 0, .6);
}

/* Optional: a little cursor hint */
.ukc-anc-node {
    cursor: pointer;
}

.inline-img {
    display:inline-block;
}

.bottom-space {
    margin-bottom:.5rem;
}

/* Pet grid: flex, wrap, align items by their bottoms */
.ukc-petgrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: .75rem;
}

/* Optional: table wrapper used in profile.php */
.ukc-table-wrap {
    overflow: auto;
}

.ukc-table-wrap--scroll {
    overflow: auto;
}

.ukc-col-controls {
    padding: 0;
}

.ukc-col-controls__grid {
    display: flex;
    flex-direction: row;
    gap: 0.35rem 0.75rem;
    padding: 0.5rem 0;
}

/* Hideable pets columns (match th/td with data-col=...) */
.ukc-hidecol-basic th[data-col="basic"],
.ukc-hidecol-basic td[data-col="basic"],
.ukc-hidecol-conf th[data-col="conf"],
.ukc-hidecol-conf td[data-col="conf"],
.ukc-hidecol-agility th[data-col="agility"],
.ukc-hidecol-agility td[data-col="agility"],
.ukc-hidecol-frisbee th[data-col="frisbee"],
.ukc-hidecol-frisbee td[data-col="frisbee"],
.ukc-hidecol-mousing th[data-col="mousing"],
.ukc-hidecol-mousing td[data-col="mousing"],
.ukc-hidecol-trick th[data-col="trick"],
.ukc-hidecol-trick td[data-col="trick"],
.ukc-hidecol-fun th[data-col="fun"],
.ukc-hidecol-fun td[data-col="fun"] {
    display: none;
}

/* Optional: tabs (you currently inline-style the <nav class="ukc-tabs">) */
.ukc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .75rem;
}

.ukc-tabs__spacer {
    margin-left: auto;
}

.ukc-tab-btn.is-active {
    background: var(--btn-hover);
    border-color: var(--link);
}

.ukc-tab-panel.is-hidden {
    display: none;
}

.ukc-flex-between {
    display: flex;
    justify-content: space-between;
}

/* Center pet images inside profile grid cards */
.ukc-petgrid .ukc-card>img,
.ukc-petgrid .ukc-card>a>img {
    margin-left: auto;
    margin-right: auto;
}

/* (Optional) make sure the card text is centered via CSS instead of inline */
.ukc-petgrid .ukc-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}

/* Judge notes disclosure */
.ukc-notes {
    display: inline-block;
    margin-left: .35rem;
    vertical-align: middle;
}

.ukc-notes-summary {
    cursor: pointer;
    list-style: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .92rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ukc-notes-summary::-webkit-details-marker {
    display: none;
}

.ukc-notes-body {
    margin-top: 0;
    padding: .5rem .75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    max-width: 50ch;
    font-size: .95rem;
    line-height: 1.4;
    text-align: left;
    position: relative;
    z-index: 1;
    /* helps if parent has overflow clipping */
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

/* Optional: compact in tight tables on very small screens */
@media (max-width: 480px) {
    .ukc-notes-summary-text {
        font-size: .9rem;
    }

    .ukc-notes-body {
        font-size: .9rem;
    }
}

/*Scoped Shows Tables*/
.ukc-table--shows {
    table-layout: fixed;
    width: 100%;
}

.ukc-table--shows th,
.ukc-table--shows td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.ukc-table--shows thead th:nth-child(1),
.ukc-table--shows tbody td:nth-child(1) {
    width: 24%;
}

.ukc-table--shows thead th:nth-child(2),
.ukc-table--shows tbody td:nth-child(2) {
    width: 9%;
}

.ukc-table--shows thead th:nth-child(3),
.ukc-table--shows tbody td:nth-child(3) {
    width: 15%;
}

.ukc-table--shows thead th:nth-child(4),
.ukc-table--shows tbody td:nth-child(4) {
    width: 10%;
}

.ukc-table--shows thead th:nth-child(5),
.ukc-table--shows tbody td:nth-child(5) {
    width: 6%;
}

.ukc-table--shows thead th:nth-child(6),
.ukc-table--shows tbody td:nth-child(6) {
    width: 8%;
}

.ukc-table--shows thead th:nth-child(7),
.ukc-table--shows tbody td:nth-child(7) {
    width: 14%;
}
.ukc-table--shows thead th:nth-child(8),
.ukc-table--shows tbody td:nth-child(8) {
    width: 14%;
}
@media (max-width: 640px) {

    .ukc-table--shows th,
    .ukc-table--shows td {
        white-space: normal;
    }

    .ukc-table--shows td[data-label="Title"] {
        word-break: break-word;
    }
}

/* Show list row states */
.ukc-table--shows tr.ukc-show--open {
    background: rgba(46, 160, 67, 0.15);
    /* subtle green tint */
}

.ukc-table--shows tr.ukc-show--closed {
    background: rgba(255, 255, 255, 0.08);
    opacity:.4;
    /* greyed-out look while preserving legibility */
}

/* Optional: make the tint/greying obvious on hover too */
.ukc-table--shows tr.ukc-show--open:hover {
    background: rgba(46, 160, 67, 0.18);
}

.ukc-table--shows tr.ukc-show--closed:hover {
    opacity: 0.5;
}

/*Scoped Placement Tables*/
.ukc-table--placement {
    table-layout: fixed;
    width: 100%;
}

.ukc-table--placement th,
.ukc-table--placement td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.ukc-table--placement thead th:nth-child(1),
.ukc-table--placement tbody td:nth-child(1) {
    width: 5%;
}

.ukc-table--placement thead th:nth-child(2),
.ukc-table--placement tbody td:nth-child(2) {
    width: 5%;
}

.ukc-table--placement thead th:nth-child(3),
.ukc-table--placement tbody td:nth-child(3) {
    width: 5%;
}

.ukc-table--placement thead th:nth-child(4),
.ukc-table--placement tbody td:nth-child(4) {
    width: 10%;
}

.ukc-table--placement thead th:nth-child(5),
.ukc-table--placement tbody td:nth-child(5) {
    width: 30%;
}

.ukc-table--placement thead th:nth-child(6),
.ukc-table--placement tbody td:nth-child(6) {
    width: 10%;
}

.ukc-table--placement thead th:nth-child(7),
.ukc-table--placement tbody td:nth-child(7) {
    width: 45%;
}

@media (max-width: 640px) {

    .ukc-table--placement th,
    .ukc-table--placement td {
        white-space: normal;
    }

    .ukc-table--placement td[data-label="Title"] {
        word-break: break-word;
    }
}

/* === Zebra striping for pets_my tables only === */
.ukc-theme .ukc-table--zebra tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.04);
    /* slightly darker on light mode */
}

.ukc-theme[data-theme="dark"] .ukc-table--zebra tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
    /* slightly lighter on dark mode */
}

/* Thumbnail for pet list view */
.ukc-thumb {
    height: 75px;
    background-color: #fff;
    object-fit: contain;
    border-radius: 4px;
    /* optional: soften corners */
}

/* ---------------------------
   Breed selection chips
   --------------------------- */

   .ukc-chip {
    display: inline-flex;
    align-items: center;
    background: var(--btn-hover);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.25rem 0.5rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    color: var(--text);
  }
  
  .ukc-chip-remove {
    all: unset;
    display: inline;
    cursor: pointer;
    color: var(--muted);
    margin-left: 0.4rem;
    font-size: 1rem;
    line-height: 1;
  }
  
  .ukc-chip-remove:hover,
  .ukc-chip-remove:focus {
    background: rgba(185, 28, 28, 0.3);
  }  

#breed_selected {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}

.ukc-theme .ukc-form .ukc-chip .ukc-chip-remove {
    border: 0;
    border-radius: 999px;
}

/* Force themed background on native selects (light & dark) */
.ukc-theme select {
  background-color: var(--btn-hover); /* or use var(--btn-hover) if you prefer */
  color: var(--text);
  border: 1px solid var(--border);

  /* turn off OS/UA skin that can force a white bg */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* make options readable in dark popups (Firefox/Chrome) */
.ukc-theme select option {
  background-color: var(--panel);
  color: var(--text);
}

/* focus ring consistent with the rest of your inputs */
.ukc-theme select:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
  box-shadow: none;
}

/* Breed page layout helpers */

@media (min-width: 900px) {
    .ukc-breed {
        max-width: 75%;
    }
}

.ukc-breed .ukc-breed-grid {
    display: grid;
    gap: 1rem;
}

.ukc-breed .ukc-breed-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ukc-breed .ukc-breed-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    /* let them wrap on narrow screens */
    align-items: flex-start;
    margin-bottom: 1rem;
}

.ukc-breed .ukc-breed-row>.ukc-card {
    flex: 1 1 auto;
    /* grow and shrink equally, no fixed width */
}

.breed-list {
    margin-bottom:0;
}

.breed-desc {
    margin-top: 1rem;
    margin-bottom:1rem;
}

.ukc-center-wrap {
    width: 100%;
    margin: 1rem 0;   
}

.ukc-center-wrap .ukc-card {
    text-align: center;
}

.ukc-breed summary {
    display: flex;
    align-items: center;
    /* vertically centers caret and heading */
    gap: 0.5rem;
    /* optional: space between caret and text */
    cursor: pointer;
}

.ukc-breed summary h2 {
    display: inline;
    /* ensure h2 doesn’t start a new line */
}

/* Breed page expandable groups */
.ukc-breed details>summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    list-style: none;
    /* some browsers use list-style for the marker */
}

/* hide native marker (Chrome/Safari) */
.ukc-breed details>summary::-webkit-details-marker {
    display: none;
}

/* custom caret */
.ukc-breed details>summary::before {
    content: '▸';
    display: inline-block;
    font-size: 1.25em;
    transform: translateY(1px);
    /* tiny optical tweak */
    transition: transform .15s ease;
}

/* rotate caret when open */
.ukc-breed details[open]>summary::before {
    transform: rotate(90deg) translateY(0);
}

/* keep the H2 on the same line without extra spacing */
.ukc-breed details>summary h2 {
    margin: 0;
    display: inline;
}

/* Desktop: two columns; Mobile: single column */
@media (min-width: 900px) {
    .ukc-breed .ukc-breed-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Breed files gallery: neat row that wraps */
.ukc-breed .ukc-breedfiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: start;
}

.ukc-breed .ukc-breedfile img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ukc-breed>.ukc-card {
    margin-top: 1rem;
}

.ukc-card--faults {
    background-color: color-mix(in srgb, var(--card-bg) 90%, #ffd900 10%);
}

.ukc-card--disq {
    background-color: color-mix(in srgb, var(--card-bg) 90%, #ff0000 10%);
}

.ukc-card--inlineimg img {  
    display: inline-block;
}

.ukc-breedfiles h3 {
    margin-top: 1rem;
}

/* --- Conformation Ch Showcase --- */

.ukc-breedfiles-ch-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-evenly;
    align-items: flex-end;
}

.ukc-breedfiles-ch-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    max-width: 100%;
}

.ukc-breedfiles-ch-showcase-item figcaption {
    margin-top: auto;
    text-align: center;
}

.ukc-breedfiles-ch-showcase-item figcaption p {
    margin: 0;
}

.ukc-breedfiles-ch-showcase-item img {
    display: block;
}

/*Breed Standards Table Helpers */

.coats-img {
    text-align: center;
}

.ukc-table-docs {
    table-layout: fixed;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.ukc-table-docs td{
    min-width: 25%;
}

/* --- Conformation breed results collapsible sections --- */
.ukc-breed-results {
    margin: 0.75rem 0;
}

.ukc-breed-results__summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;

    padding: 0.75rem 1rem;
    border-radius: 10px;

    background: var(--card-bg);
    cursor: pointer;
    list-style: none;
}

.ukc-breed-results__summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.15s ease;
    font-size: 0.9em;
    opacity: 0.7;
}

.ukc-breed-results[open]>.ukc-breed-results__summary::before {
    transform: rotate(90deg);
}

.ukc-breed-results[open]>.ukc-breed-results__summary {
    border-radius: 10px 10px 0px 0px;
}

.ukc-breed-results__summary span {
    font-weight: 700;
}

.ukc-breed-results__back {
    font-size: 0.9rem;
    text-decoration: none;
}

.ukc-breed-results__body {
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 0 0 10px 10px;
}

/* --- Show list collapsible sections (shows.php / conf_shows.php) --- */
.ukc-show-section {
    margin: 0 0 1rem;
}

.ukc-show-section__summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    list-style: none;
}

.ukc-show-section__summary::-webkit-details-marker {
    display: none;
}

.ukc-show-section__summary::before {
    content: '▸';
    display: inline-block;
    font-size: 1.25em;
    transform: translateY(1px);
    transition: transform .15s ease;
    opacity: .75;
}

.ukc-show-section[open]>.ukc-show-section__summary::before {
    transform: rotate(90deg) translateY(0);
}

.ukc-show-section__summary h2 {
    margin: 0;
    display: inline;
}

.ukc-show-section__body {
    margin-top: .5rem;
}

.ukc-entry-sex {
    font-size: 0.9rem;
}

.ukc-entry-note {
    margin-top: .35rem;
}

.ukc-entry-note input[type="text"] {
    width: 100%;
    max-width: 100%;
}

/* --- Pets My: registration dropdown tabs --- */

.ukc-tabdrop {
    position: relative;
    display: inline-block;
}

.ukc-tabdrop>summary {
    list-style: none;
}

.ukc-tabdrop>summary::-webkit-details-marker {
    display: none;
}

/* dropdown menu */
.ukc-tabdrop__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 50;

    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;

    background: var(--bg);
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

/* prevent dropdown from stretching tab row */
.ukc-tabdrop[open] {
    z-index: 10;
}

/* buttons inside dropdown */
.ukc-tabdrop__menu .ukc-tab {
    margin: 0;
}

.ukc-table td.ukc-td-center,
.ukc-table th.ukc-td-center {
    text-align: center;
    vertical-align: middle;
}

.ukc-studdam-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.no-border {
    border: 0;
}



/* Search page: Bentley header row + full-width results */
.ukc-search-bentley {
    display: block;
}

.ukc-search-bentley-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    justify-content: flex-start;
}

.ukc-search-bentley-info {
    flex: 0 1 720px;
    min-width: 280px;
}

.ukc-search-bentley-deco {
    flex: 0 0 220px;
    max-width: 280px;
}

.ukc-search-bentley-deco img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.ukc-search-bentley-results {
    margin-top: 1rem;
    width: 100%;
}




.ukc-table {
    width: 100%;
    border-collapse: separate;
    /* override global collapse */
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    /* clips inner borders in most browsers */
    background: var(--panel);
}

/* remove the global cell borders inside ukc tables */
.ukc-table th,
.ukc-table td {
    text-align: left;
    padding: 8px;
    border: 0;
    vertical-align: top;
}

/* draw a single 1px grid */
.ukc-table tr>* {
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

/* remove the extra lines on the outer edge */
.ukc-table tr:first-child>* {
    border-top: 0;
}

.ukc-table tr>*:first-child {
    border-left: 0;
}


.inline {
    display:inline-block;
}
.header-deco {
    display:inline-block;
    margin: 0 1rem;
}


/* --- BETA ENVIRONMENT BANNER --- */
.ukc-beta-banner {
    background: #b30000;
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.75rem;
    border-bottom: 2px solid #7a0000;
}

.ukc-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* If an element has an id and is a jump target, leave space under the sticky topbar */
.ukc-theme :is(h1, h2, h3, h4, h5, h6, [id]) {
    scroll-margin-top: 120px;
    /* adjust if needed */
}


.ukc-success-note {
    border: 1px solid green;
    /* red-700 border */
    background: rgba(28, 185, 88, 0.06);
    color: green;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 12px 0;
}



/* Stack rows into label/value pairs on narrow screens */
@media (max-width: 680px) {
    .ukc-table-docs {
            table-layout: fixed;
            width: 100%;
        }
    
        .ukc-table-docs td {
            width: 100%;
        }
}
