/* Styles for AbcWeb Product Delivery Management widget */
.abcweb-pdm-widget {
    border: 1px solid var(--alfa-grey, whitesmoke);
    padding: 2rem;
    margin: 15px 0;
}

.abcweb-pdm-widget .pdm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.abcweb-pdm-widget .pdm-shipping-time strong {
    font-weight: 600;
}

.abcweb-pdm-widget .pdm-icon-truck {
    margin-right: 8px;
}

.abcweb-pdm-widget .pdm-separator {
    border: none;
    border-top: 1px solid var(--alfa-grey, whitesmoke);
    margin: 12px 0;
    opacity: 1;
}

.abcweb-pdm-widget .pdm-estimated-date {
    font-weight: 600;
}

.abcweb-pdm-widget .pdm-date-box {
    font-weight: 700;
    background-color: var(--alfa-grey, whitesmoke);
    padding: 6px 12px;
    border-radius: 6px;
}

.abcweb-pdm-widget .pdm-details:empty {
    display: none;
}

.abcweb-pdm-widget .pdm-details {
    margin-top: 0.5rem;
}

.abcweb-pdm-widget .pdm-details-link {
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    color: inherit;
}

.abcweb-pdm-widget .pdm-details-link:hover {
    text-decoration: underline;
}

.abcweb-pdm-widget .pdm-details-content {
    margin-top: 10px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.abcweb-pdm-widget .pdm-asterisk {
    color: red;
    font-weight: bold;
    margin-left: 1px;
}

.abcweb-pdm-widget .pdm-toggle-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #333;
    margin-left: 4px;
    vertical-align: middle;
    margin-bottom: 2px;
}

/* Hide details by default 
   Keep this here just as a fallback until JS toggles them.
*/
.abcweb-pdm-widget .pdm-details-content {
    display: none;
}