/* LD Tools – Shared basket (basket page) */
.ld-sb { margin: 22px 0 6px; padding: 18px 20px; background: #fff; border: 1px solid #e3e5e8; border-radius: 10px; font-family: Inter, Arial, Helvetica, sans-serif; }
.ld-sb__head { display: flex; align-items: center; gap: 14px; }
.ld-sb__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fbecee; color: #be1622; }
.ld-sb__icon svg { width: 22px; height: 22px; }
.ld-sb__intro { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ld-sb__title { font-size: 16px; font-weight: 700; color: #242424; line-height: 1.3; }
.ld-sb__text { font-size: 13px; color: #6b7280; line-height: 1.45; }
.ld-sb .ld-sb__create, .ld-sb .ld-sb__copy { flex: none; min-height: 42px; padding: 0 20px; border-radius: 6px; white-space: nowrap; }
.ld-sb__create[disabled] { opacity: .6; cursor: wait; }
.ld-sb__result { margin-top: 16px; padding-top: 16px; border-top: 1px solid #eef0f2; }
.ld-sb__result[hidden], .ld-sb__error[hidden], .ld-sb [hidden] { display: none !important; }
.ld-sb__row { display: flex; gap: 10px; }
.ld-sb .ld-sb__url { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #d5d8dc; border-radius: 6px; background: #f7f8f9; font-size: 14px; color: #242424; }
.ld-sb__copy.is-done { background: #2e7d32 !important; border-color: #2e7d32 !important; }
.ld-sb__send { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ld-sb__send-label { font-size: 13px; color: #6b7280; margin-right: 2px; }
.ld-sb .ld-sb__chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid #e3e5e8; border-radius: 16px; background: #fff; color: #242424; font-size: 13px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.ld-sb .ld-sb__chip:hover, .ld-sb .ld-sb__chip:focus-visible { border-color: #be1622; color: #be1622; background: #fdf3f4; }
.ld-sb__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eef0f2; }
.ld-sb__note { flex: 1 1 260px; margin: 0; font-size: 12px; line-height: 1.5; color: #6b7280; }
.ld-sb__note .ld-sb__valid { display: inline-block; margin-right: 2px; font-size: 13px; font-weight: 700; color: #be1622; }
.ld-sb .ld-sb__clear { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid #d5d8dc; border-radius: 6px; background: #fff; color: #4b5563; font-size: 13px; font-weight: 500; line-height: 1; text-transform: none; letter-spacing: 0; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.ld-sb .ld-sb__clear svg { width: 16px; height: 16px; flex: none; }
.ld-sb .ld-sb__clear:hover, .ld-sb .ld-sb__clear:focus-visible { border-color: #be1622; color: #be1622; background: #fdf3f4; }
.ld-sb .ld-sb__clear.is-confirm { border-color: #be1622; background: #be1622; color: #fff; }
.ld-sb .ld-sb__clear[disabled] { opacity: .6; cursor: wait; }
.ld-sb__error { margin: 12px 0 0; color: #be1622; font-size: 13px; }
@media (max-width: 640px) {
	.ld-sb { padding: 16px; }
	.ld-sb__head { flex-wrap: wrap; }
	.ld-sb__icon { width: 38px; height: 38px; }
	.ld-sb .ld-sb__create { width: 100%; }
	.ld-sb__row { flex-direction: column; }
	.ld-sb .ld-sb__url { flex: none; width: 100%; }
	.ld-sb .ld-sb__copy { width: 100%; }
	.ld-sb .ld-sb__clear { width: 100%; justify-content: center; }
}
