/* ==========================================================================
   PRODUCT IDENTITY CARD SPLIT DOWNLOAD CONTROL (Board Standard 3-Lang Selector)
   Zero Inline CSS Compliance - Explicit Reserve Geometry
   ========================================================================== */

.product-id-card {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.product-id-card > .product-id-versions-wrap,
.product-id-card > .product-id-versions-wrap:last-child {
    width: 100%;
    display: block;
    margin: 0;
}

.product-id-card .product-id-versions-wrap select {
    width: 100%;
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--primary, #0F2554);
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
}

.product-id-card > .product-id-split-wrap,
.product-id-card > .product-id-split-wrap:last-child {
    position: relative;
    width: 100%;
    display: block;
    margin: 0;
    margin-left: 0;
}

.product-id-card .product-id-split,
.product-id-card .product-id-split:last-child {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 44px;
    margin: 0;
    margin-left: 0;
    border: 1px solid #0F2554;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-id-split:hover {
    box-shadow: 0 2px 8px rgba(15, 37, 84, 0.12);
}

.product-id-split.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.product-id-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 82px;
    padding: 0 12px;
    background-color: #0F2554;
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.18s ease;
}

.product-id-lang-btn:hover,
.product-id-lang-btn:focus-visible {
    background-color: #163473;
    outline: none;
}

.product-id-lang-doc-ic {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.product-id-lang-caret {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.product-id-split-wrap.is-open .product-id-lang-caret {
    transform: rotate(180deg);
}

.product-id-dl-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #ffffff;
    color: #0F2554;
    border: none;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.product-id-dl-btn:hover,
.product-id-dl-btn:focus-visible {
    background-color: #f3f6fb;
    outline: none;
}

.product-id-dl-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(15, 37, 84, 0.22);
    border-top-color: #0F2554;
    border-radius: 50%;
    animation: pidSpin 0.7s linear infinite;
    flex-shrink: 0;
}

.product-id-dl-spinner[hidden] {
    display: none;
}

@keyframes pidSpin {
    to {
        transform: rotate(360deg);
    }
}

.product-id-lang-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 82px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 37, 84, 0.14);
    padding: 4px;
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-id-lang-menu[hidden] {
    display: none;
}

.product-id-lang-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.product-id-lang-opt:hover,
.product-id-lang-opt:focus-visible {
    background-color: #f1f5f9;
    color: #0F2554;
    outline: none;
}

.product-id-lang-opt.is-selected {
    background-color: #e8effa;
    color: #0F2554;
    font-weight: 700;
}

.product-id-error {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #dc2626;
    line-height: 1.4;
}

.product-id-error[hidden] {
    display: none;
}
