/* Color variables */
:root {
    --primary-color: #007eac;
    --primary-color-hover: #199fd1;
    --primary-color-active: #005f7c;
    --secondary-color: hsl(132, 70%, 26%);
    --secondary-color-hover: #1fa03a;
    --secondary-color-active: #0e4d19;
    --white: #fff;
}

#content table.colorTable th:nth-child(3) {
    width: auto;
    min-width: 375px;
}
#content table.colorTable td:nth-child(3) {
    word-break: break-word;
}
.btn-export-pdf {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 26px;
    padding: 12px 32px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    will-change: transform;
    outline: none;
    position: relative;
    overflow: hidden;
}
.btn-export-pdf .pdf-icon {
    font-size: 1.4em;
    transition: transform 0.2s;
}
.btn-export-pdf:hover, .btn-export-pdf:focus {
    background: var(--primary-color-hover);
}
.btn-export-pdf:active {
    background: var(--primary-color-active);
    transform: scale(0.98);
}

.btn-share, .btn-copy-link {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 48px !important;
    height: 48px;
    font-size: 1.5em;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    will-change: transform;
    outline: none;
    overflow: hidden;
}
.btn-share .icon-wrap, .btn-copy-link .icon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-share .share-icon, .btn-copy-link .copy-icon {
    font-size: 1.em;
    transition: transform 0.2s;
}
.btn-share:hover, .btn-share:focus, .btn-copy-link:hover, .btn-copy-link:focus {
    border: 1px solid var(--primary-color-hover);
    background-color: var(--primary-color-hover);
    color: var(--white);
}
.btn-share:active, .btn-copy-link:active {
    border: 1px solid var(--primary-color-active);
    background-color: var(--primary-color-active);
}

.toast-notification {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1em;
    box-shadow: 0 4px 16px rgba(0,0,0,0.30);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 9999;
    white-space: nowrap;
}
.toast-notification.show {
    opacity: 1;
    pointer-events: auto;
}
.icon-wrap {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vertical button group for PDF, share, and copy link buttons */
/* To make buttons inline horizontally, use flex-direction: row */
.share-btn-vertical-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin: 1rem 0;
    width: 97.5%;
}