
.w-45 {
    width: 45% !important;
}

.strong {
    font-weight: bolder;
}

.text-justify {
    text-align: justify;
}

.rounded-15 {
    border-radius: 15px;
}


@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.3s;
}

/* ============================================================
   ASSIGN STORY MODAL — assign-modal
   ============================================================ */

.assign-modal .modal-content {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    overflow: hidden;
}

.assign-modal__icon {
    width: 3rem;
    height: 3rem;
    border-radius: .875rem;
    background: linear-gradient(135deg, var(--ui-accent), #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.assign-modal__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin: .75rem 0 .2rem;
    font-family: 'Fraunces', serif;
}

.assign-modal__sub {
    font-size: .85rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.assign-modal__label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .45rem;
}

.assign-modal__select {
    border-radius: .7rem;
    border: 1.5px solid #e5e7eb;
    font-size: .9rem;
    padding: .55rem .9rem;
    color: #111827;
    transition: border-color .15s, box-shadow .15s;
    background-color: #fafafa;
    cursor: pointer;
}

.assign-modal__select:focus {
    border-color: var(--ui-accent);
    box-shadow: 0 0 0 3px rgba(15, 60, 138, .1);
    background-color: #fff;
    outline: none;
}

/* Single-story info row (no select shown) */
.assign-modal__info-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    background: var(--ui-bg);
    border-radius: .75rem;
    border: 1px solid var(--ui-border);
}

.assign-modal__info-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .6rem;
    background: rgba(255, 138, 0, .1);
    color: var(--ui-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.assign-modal__info-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #9ca3af;
    margin-bottom: .15rem;
}

.assign-modal__info-value {
    font-size: .9rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.assign-modal__info-meta {
    font-weight: 400;
    color: #9ca3af;
    font-size: .82rem;
}

.assign-modal__empty-sets {
    font-size: .875rem;
    color: #9ca3af;
    padding: .75rem 1rem;
    background: #f9fafb;
    border-radius: .7rem;
    border: 1.5px dashed #e5e7eb;
}

.assign-modal__empty-sets a {
    color: var(--ui-accent);
    text-decoration: none;
    font-weight: 500;
}

.assign-modal__empty-sets a:hover {
    text-decoration: underline;
}

.assign-modal__note {
    font-size: .78rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: .25rem;
}

/* ---- Prepinac varianty baliku (cipy / QR) u nakupnich CTA ---- */
.bv-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
}

.bv-pills {
    display: inline-flex;
    flex-wrap: wrap;
    background: rgba(17, 24, 39, .07);
    border-radius: 2rem;
    padding: 3px;
    gap: 2px;
}

.bv-pills input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bv-pills label {
    padding: .28rem .8rem;
    border-radius: 2rem;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    opacity: .72;
    white-space: nowrap;
    transition: background .15s, color .15s, opacity .15s;
}

.bv-pills input:checked + label {
    background: #fff;
    color: var(--ui-accent);
    opacity: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .14);
}

.bv-pills input:focus-visible + label {
    outline: 2px solid var(--ui-accent);
    outline-offset: 1px;
}

/* varianta na tmavem pozadi (zaverecne CTA) */
.bv-pills--light {
    background: rgba(255, 255, 255, .18);
}

.bv-pills--light label {
    color: #fff;
}

.bv-pills--light input:checked + label {
    color: var(--ui-accent);
}
