/* Main widget wrapper */
.cd-widget-wrapper {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Typography elements reset to respect visual controls */
.cd-title,
.cd-description,
.cd-item-title {
    display: block;
    width: 100%;
}

/* Dropdown select base styling */
.cd-select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

/* Items container */
.cd-items-container {
    display: block;
    width: 100%;
}

/* Individual item */
.cd-item {
    display: none;
    width: 100%;
}

/* QR Code wrapper and image */
.cd-qr-wrapper {
    display: block;
    width: 100%;
}

.cd-qr-image {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* Address box standard layout */
.cd-address-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Address text formatting */
.cd-address-text {
    display: block;
    word-break: break-all;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Copy button base styles */
.cd-copy-btn {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

/* Active state added via JavaScript */
.cd-copy-btn.cd-copied {
    opacity: 0.7;
}