@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("/assets/css/fontawesome-all.min.css");

.icon {
    text-decoration: none;
    position: relative;
    text-decoration: none;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon:before {
    line-height: inherit;
}

.icon > .label {
    display: none;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

table {
    background-color: antiquewhite;
    border-spacing: 2px;
    border-collapse: separate;
    table-layout: fixed;   /* ← REQUIRED */
}
.pedigree-container {
    width: max-content;    /* ← IMPORTANT for Safari */
}
td.dog-cell {
    background-color: #FFFAFA;
}
td.dog-sire {
    border-top-color: black;
    border-top-style:solid;
    border-left-color: cornflowerblue;
    border-left-width: 10px;
    border-left-style: solid;  /* Add this */
}
td.dog-dam {
    border-top-color: black;
    border-top-style:dashed;
    border-left-color: pink;
    border-left-width: 10px;
    border-left-style: solid;  /* Add this */
}
td {
    font-size: small;
}
.name {
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}
.call {
    color: #fff0f0;
    font-size: large;
    font-weight: bolder;
    text-shadow: 1px 1px white;
    text-align: right;
    margin-top: -1em;
}
.dog-id {
    font-size: x-small;
    white-space: nowrap;
    text-align: center;
    font-style:italic;
}
.dog-icons {
    display: flex;
    align-items: center; /* vertical */
    justify-content: center; /* horizontal */
    gap: 4px;  
}
.dog-icons i.fa-award {
   color: gold;
}
.dog-icons i.fa-ice-cream {
   color: #f82fab;
   text-shadow: 2.5px 0.5px #3ccbd6;

}
.dog-icons i.fa-car-alt {
   color: purple;

}
.dog-icons img.country-flag {
    max-height: 8px;
}

.tooltip {
    position: relative;
    display: inline-flex;
}

.tooltip-image {
    visibility: hidden;
    position: absolute;
    top: 100%;
    right: 100%;
    background: black;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    max-height: 25svw;
    white-space: nowrap;
}

.tooltip:hover .tooltip-image {
    visibility: visible;
}

.prefix-postfix {
    font-size: x-small;
    display: flex;
    justify-content: space-between; /* pushes left and right apart */
    gap: 20px;
    white-space: nowrap;
}
.bottom-row {
    font-size: 0.9rem;
    color: #555;
}
