/* Gift Exchanges homepage (v21.giftExchangeHP.blade.php) — page-scoped styles.
   See specs/gift_exchange/giftExchangeHP_build_plan.md for the design this implements. */

/* Icon color-wrapper variants, siblings to the existing global .blue-icon-wrapper
   (background-color + white 22px svg on a 32px circle). Kept page-scoped here
   rather than added to the global stylesheet, since these colors are only used
   on this page for now. */
.green-icon-wrapper,
.purple-icon-wrapper,
.yellow-icon-wrapper,
.pink-icon-wrapper {
    border-radius: 50%;
    display: inline-block;
    padding: 5px;
    vertical-align: middle;
    height: 32px !important;
    width: 32px !important;
}
.green-icon-wrapper svg,
.purple-icon-wrapper svg,
.yellow-icon-wrapper svg,
.pink-icon-wrapper svg {
    fill: #fff;
    height: 22px;
    width: 22px;
}
.green-icon-wrapper { background-color: #3fb56f; }
.purple-icon-wrapper { background-color: #8b6fd9; }
.yellow-icon-wrapper { background-color: #f5a623; }
.pink-icon-wrapper { background-color: var(--wishlist-pink, #e8407a); }

/* Your Exchanges — per-exchange card row */
.gift-exchange-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    padding: 16px;
}
.gift-exchange-card .gift-exchange-card-thumb {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 90px;
    object-fit: cover;
    width: 90px;
}
.gift-exchange-card .gift-exchange-card-info {
    flex: 1 1 260px;
    min-width: 0;
}
.gift-exchange-card-stats {
    align-items: center;
    color: #4b5563;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 16px;
    margin-top: 6px;
}
.gift-exchange-card-stats > span {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}
.gift-exchange-card-stats > span svg {
    height: 16px;
    width: 16px;
}
.gift-exchange-card-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

/* Draw-status box — green (drawn) / amber (pending) variants */
.gift-exchange-status-box {
    border-radius: 12px;
    flex: 1 1 220px;
    padding: 12px 16px;
}
.gift-exchange-status-box .status-line {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: 8px;
}
.gift-exchange-status-box .status-sub {
    color: #4b5563;
    font-size: 0.85rem;
    margin-top: 2px;
}
.gift-exchange-status-box--drawn {
    background-color: #e7f6ec;
}
.gift-exchange-status-box--drawn .status-line {
    color: #1e7a3d;
}
.gift-exchange-status-box--pending {
    background-color: #E4F1FF;
    border: 1px solid #cae8fd;
}
.gift-exchange-status-box--pending .status-line {
    color: #0c64a2;
}

@media (max-width: 576px) {
    .gift-exchange-card {
        flex-direction: column;
        text-align: center;
    }
    .gift-exchange-card .gift-exchange-card-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
}

/* My Gift Exchanges (v21.myGiftExchanges.blade.php) — filter tabs + flat row list */
.gift-exchange-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gift-exchange-tab {
    background: #fff;
    border: 1px solid #d1d9e6;
    border-radius: 50px;
    color: #4b5563;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
}
.gift-exchange-tab.active {
    background-color: #eaf2fb;
    border-color: #bcd7f5;
    color: #0b63c7;
}

.gift-exchange-list {
    border-top: 1px solid #e5e7eb;
}
.gift-exchange-row {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 4px;
}
.gift-exchange-row .gift-exchange-row-icon {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 64px;
    object-fit: contain;
    width: 64px;
}
.gift-exchange-row .gift-exchange-row-image {
    background-color: #f2f2f2;
    border-radius: 12px;
    flex: 0 0 auto;
    height: 64px;
    object-fit: cover;
    width: 64px;
}
.gift-exchange-row .gift-exchange-row-info {
    flex: 1 1 260px;
    min-width: 0;
}
.gift-exchange-row .gift-exchange-row-name {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 1.1rem;
    gap: 10px;
}
@media (min-width: 577px) {
    .gift-exchange-row {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr) auto;
    }
    .gift-exchange-row .gift-exchange-card-actions {
        align-items: flex-start;
    }
    /* narrow container (577-991px): icon spans two rows, actions top-right, status box drops under the name */
    .gift-exchange-row .gift-exchange-row-icon,
    .gift-exchange-row .gift-exchange-row-image {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
    }
    .gift-exchange-row .gift-exchange-row-info {
        grid-column: 2;
        grid-row: 1;
    }
    .gift-exchange-row .gift-exchange-card-actions {
        grid-column: 3;
        grid-row: 1;
    }
    .gift-exchange-row .gift-exchange-status-box {
        grid-column: 2 / -1;
        grid-row: 2;
    }
}
/* wide container (992px+): single row — icon | name/stats | status box | actions */
@media (min-width: 992px) {
    .gift-exchange-row {
        grid-template-columns: 64px minmax(0, 1fr) 300px 160px;
    }
    .gift-exchange-row .gift-exchange-row-icon,
    .gift-exchange-row .gift-exchange-row-image,
    .gift-exchange-row .gift-exchange-row-info,
    .gift-exchange-row .gift-exchange-status-box,
    .gift-exchange-row .gift-exchange-card-actions {
        grid-column: auto;
        grid-row: auto;
        align-self: center;
    }
}
.gift-exchange-role-badge {
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 12px;
}
.gift-exchange-role-badge--organizer {
    background-color: #eaf2fb;
    color: #0b63c7;
}
.gift-exchange-role-badge--invited {
    background-color: #eef0f2;
    color: #4b5563;
}

@media (max-width: 576px) {
    .gift-exchange-row {
        flex-direction: column;
        text-align: center;
    }
    .gift-exchange-row .gift-exchange-row-name {
        justify-content: center;
    }
    /* column direction: the row-layout flex-basis values would become forced heights, so size to content */
    .gift-exchange-row .gift-exchange-row-info,
    .gift-exchange-row .gift-exchange-status-box {
        flex: 0 0 auto;
    }
    .gift-exchange-row .gift-exchange-status-box {
        width: 100%;
    }
    .gift-exchange-row .gift-exchange-card-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
}

/* Hero — headline/CTA column + gift photo column with "Join over N members" seal */
/* My Gift Exchanges header: on small screens the "Create a New Exchange" button drops under the title instead of being squeezed */
/* the button keeps its natural width (nowrap text would otherwise be clipped); the title block wraps instead */
.gift-exchange-mine-header .btn {
    flex: 0 0 auto;
}
.gift-exchange-mine-header-text {
    flex: 1 1 260px;
    min-width: 0;
}
@media (max-width: 767px) {
    .gift-exchange-mine-header {
        flex-wrap: wrap;
        gap: 12px;
    }
}
/* santa hat at its natural size (43x43), aligned to the first line of the title when it wraps */
.gift-exchange-hero-title {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}
/* light blue circle behind the hat, same blue as the dashboard tile icons (.gift-exchange-dashboard-tile-icon--blue).
   the negative top margin centers the 64px circle on the first line of the title */
.gift-exchange-hero-title-icon {
    align-items: center;
    background-color: #eaf2fb;
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    height: 64px;
    justify-content: center;
    margin-top: -8px;
    width: 64px;
}
.gift-exchange-hero-title-icon img {
    height: 43px;
    width: 43px;
}
.gift-exchange-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.text-center .gift-exchange-hero-actions {
    justify-content: center;
}
/* Match the homepage hero's compact pill buttons (see v25/home.blade.php's
   inline critical CSS: --button-height:48px, .button-white-outline height:30px)
   — scoped to this row only, not a change to the site-wide Bootstrap .btn. */
.gift-exchange-hero-actions .btn {
    align-items: center;
    border-radius: 50px;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    line-height: 1;
    min-width: unset;
    padding: 0 30px;
}
.gift-exchange-hero-actions .btn-blue-outline {
    font-size: 0.75rem;
    height: 30px;
    padding: 0 10px;
}
.gift-exchange-hero-actions .btn-blue-outline-icon {
    background: #fff;
    border: 1px solid #0b63c7;
    color: #0b63c7;
    gap: 8px;
}
.gift-exchange-hero-actions .btn-blue-outline-icon svg {
    fill: #0b63c7;
    height: 18px;
    width: 18px;
}
.gift-exchange-hero-image-wrap {
    display: flex;
    justify-content: flex-end;
}
.gift-exchange-hero-image-wrap img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* natural image size, not stretched to column width */
}
/* below the md breakpoint the columns stack, so the image drops under the buttons */
@media (max-width: 767.98px) {
    .gift-exchange-hero-image-wrap {
        margin-top: 24px;
    }
}

/* "Start Your Gift Exchange in 3 Simple Steps" */
.gift-exchange-steps .gift-exchange-step {
    padding: 0 24px;
}
.gift-exchange-step-number {
    align-items: center;
    background: #0b63c7;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    margin-bottom: 14px;
    width: 32px;
}
.gift-exchange-step-icon {
    align-items: center;
    display: flex;
    height: 44px;
    justify-content: center;
    margin-bottom: 12px;
}
.gift-exchange-step-icon svg {
    height: 40px;
    width: auto;
}
.gift-exchange-step-title {
    font-weight: 700;
    margin-bottom: 6px;
}
.gift-exchange-step-desc {
    color: #4b5563;
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 280px;
}
@media (min-width: 768px) {
    .gift-exchange-steps .gift-exchange-step:not(:first-child) {
        border-left: 1px solid #e5e7eb;
    }
}
@media (max-width: 767.98px) {
    /* Bootstrap's .col-md-4 stacks full-width below 768px - number/icon/title move into
       one row here, and stacked steps get real spacing between them (they measured at
       0px apart before this rule). */
    .gift-exchange-step-header {
        align-items: center;
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-bottom: 6px;
    }
    .gift-exchange-step-header .gift-exchange-step-number {
        margin-bottom: 0;
    }
    .gift-exchange-step-header .gift-exchange-step-icon {
        height: 28px;
        margin-bottom: 0;
    }
    .gift-exchange-step-header .gift-exchange-step-icon svg {
        height: 26px;
    }
    .gift-exchange-step-header .gift-exchange-step-title {
        margin-bottom: 0;
    }
    .gift-exchange-steps .gift-exchange-step:not(:first-child) {
        margin-top: 32px;
    }
}

/* "Everything You Need for a Perfect Exchange" feature box */
.gift-exchange-feature-box {
    background: #f7f8fa;
    border-radius: 16px;
    padding: 32px 24px;
}
.gift-exchange-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 24px;
}
.gift-exchange-feature {
    flex: 1 1 180px;
    max-width: 200px;
    text-align: center;
}
.gift-exchange-feature-icon {
    align-items: center;
    display: flex;
    height: 44px;
    justify-content: center;
    margin-bottom: 10px;
}
.gift-exchange-feature-icon svg {
    height: 40px;
    width: auto;
}
.gift-exchange-feature-title {
    font-weight: 700;
    margin-bottom: 4px;
}
.gift-exchange-feature-desc {
    color: #4b5563;
    font-size: 0.9rem;
}
.gift-exchange-see-all {
    display: inline-block;
    font-weight: 600;
    margin-top: 20px;
}

/* Exchange Dashboard (v21.giftExchangeDashboard.blade.php) */
.gift-exchange-dashboard-topbar {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding: 24px;
}
.gift-exchange-dashboard-topbar-image {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 100px;
    object-fit: cover;
    width: 100px;
}
.gift-exchange-dashboard-topbar-icon {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 100px;
    object-fit: contain;
    width: 100px;
}
.gift-exchange-dashboard-topbar-info {
    flex: 1 1 auto;
    min-width: 0;
}
.gift-exchange-dashboard-topbar-manage {
    flex: 0 0 auto;
}
.gift-exchange-dashboard-topbar-name {
    font-size: 1.6rem;
    margin: 0 0 6px;
}
.gift-exchange-dashboard-topbar-organizer {
    align-items: center;
    display: flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 8px;
}
.gift-exchange-organizer-avatar {
    flex: 0 0 auto;
    height: 35px;
    width: 35px;
}
.gift-exchange-organizer-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
@media (max-width: 576px) {
    .gift-exchange-dashboard-topbar {
        flex-direction: column;
        text-align: center;
    }
}

/* Signup/login "join the exchange" header (includeGiftExchangeJoinHeader.blade.php) */
.gift-exchange-join-header {
    background: #f0f6fd;
    border-radius: 16px;
    margin-bottom: 30px;
    padding: 24px;
}
.gift-exchange-join-header-top {
    align-items: center;
    display: flex;
    gap: 16px;
}
.gift-exchange-join-header-image {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 80px;
    object-fit: cover;
    width: 80px;
}
.gift-exchange-join-header-icon {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 80px;
    object-fit: contain;
    width: 80px;
}
.gift-exchange-join-header-title {
    font-size: 1.3rem;
    margin: 0;
}
.gift-exchange-join-header-accent {
    color: #0b63c7;
}
.gift-exchange-join-header-subtitle {
    color: #4b5563;
    font-size: 1.1rem;
    margin-top: 4px;
}
.gift-exchange-join-header-stats {
    /*border-top: 1px solid rgba(11,99,199,0.15);*/
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
}
.gift-exchange-join-header-stat {
    align-items: center;
    display: flex;
    flex: 1 1 160px;
    gap: 10px;
}
.gift-exchange-join-header-stat + .gift-exchange-join-header-stat {
    /*border-left: 1px solid rgba(11,99,199,0.15);*/
    padding-left: 16px;
}
.gift-exchange-join-header-stat .gift-exchange-dashboard-icon-badge {
    background: none;
}
.gift-exchange-join-header-stat .gift-exchange-dashboard-icon-badge i,
.gift-exchange-join-header-stat .gift-exchange-dashboard-icon-badge svg {
    font-size: 40px;
    height: 40px;
    width: 40px;
}
.gift-exchange-join-header-stat-label {
    color: #6b7280;
    font-size: 0.75rem;
}
.gift-exchange-join-header-stat-value {
    font-size: 0.9rem;
    font-weight: 700;
}
@media (max-width: 576px) {
    .gift-exchange-join-header {
        padding: 14px;
    }
    .gift-exchange-join-header-top {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .gift-exchange-join-header-image,
    .gift-exchange-join-header-icon {
        height: 56px;
        width: 56px;
    }
    .gift-exchange-join-header-stats {
        flex-direction: column;
        gap: 0;
        margin-top: 8px;
        padding-top: 8px;
    }
    .gift-exchange-join-header-stat {
        flex: 0 1 auto;
        gap: 8px;
    }
    .gift-exchange-join-header-stat .gift-exchange-dashboard-icon-badge {
        height: 32px;
        width: 32px;
    }
    .gift-exchange-join-header-stat .gift-exchange-dashboard-icon-badge i,
    .gift-exchange-join-header-stat .gift-exchange-dashboard-icon-badge svg {
        font-size: 16px;
        height: 16px;
        width: 16px;
    }
    .gift-exchange-join-header-stat + .gift-exchange-join-header-stat {
        border-left: none;
        /*border-top: 1px solid rgba(11,99,199,0.15);*/
        margin-top: 6px;
        padding-left: 0;
        padding-top: 6px;
    }
}

/* Closed-invite banner (includeGiftExchangeClosedBanner.blade.php, top of giftExchangeHP.blade.php) */
.gift-exchange-closed-banner {
    align-items: center;
    background: #fdf2f2;
    border: 1px solid #f6d4d4;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 16px 24px;
}
.gift-exchange-closed-banner-main {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 20px;
}
.gift-exchange-closed-banner-image {
    border-radius: 10px;
    flex: 0 0 auto;
    height: 48px;
    object-fit: cover;
    width: 48px;
}
.gift-exchange-closed-banner-icon {
    border-radius: 10px;
    flex: 0 0 auto;
    height: 48px;
    object-fit: contain;
    width: 48px;
}
.gift-exchange-closed-banner-name {
    flex: 0 0 auto;
    font-size: 1.1rem;
    font-weight: 700;
}
.gift-exchange-closed-banner-stat {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}
.gift-exchange-closed-banner-stat .gift-exchange-dashboard-icon-badge {
    background: none;
    height: 32px;
    width: 32px;
}
.gift-exchange-closed-banner-stat .gift-exchange-dashboard-icon-badge i,
.gift-exchange-closed-banner-stat .gift-exchange-dashboard-icon-badge svg {
    font-size: 18px;
    height: 18px;
    width: 18px;
}
.gift-exchange-closed-banner-stat .gift-exchange-organizer-avatar {
    height: 32px;
    width: 32px;
}
.gift-exchange-closed-banner-stat-label {
    color: #6b7280;
    font-size: 0.75rem;
}
.gift-exchange-closed-banner-stat-value {
    font-size: 0.85rem;
    font-weight: 700;
}
.gift-exchange-closed-banner-divider {
    align-self: stretch;
    background: #f6d4d4;
    flex: 0 0 auto;
    width: 1px;
}
.gift-exchange-closed-banner-notice {
    align-items: center;
    display: flex;
    flex: 1 1 260px;
    gap: 12px;
}
.gift-exchange-closed-banner-lock {
    align-items: center;
    background: #e33;
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.gift-exchange-closed-banner-lock svg {
    height: 20px;
    width: 20px;
}
.gift-exchange-closed-banner-lock svg g {
    stroke: #fff;
}
.gift-exchange-closed-banner-notice-heading {
    color: #c0392b;
    font-size: 0.95rem;
    font-weight: 700;
}
.gift-exchange-closed-banner-notice-text {
    color: #7a4a4a;
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .gift-exchange-closed-banner {
        flex-direction: column;
        padding: 16px;
    }
    .gift-exchange-closed-banner-divider {
        height: 1px;
        width: 100%;
    }
    /* .gift-exchange-closed-banner-notice's flex-basis:260px is a width basis in the
       desktop row layout above - once the banner stacks into a column here, that same
       260px basis applies to height instead, forcing ~180px of empty space above the
       heading. Reset it to size from content once stacked. */
    .gift-exchange-closed-banner-notice {
        flex: 1 1 auto;
    }
}

.gift-exchange-dashboard {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.gift-exchange-dashboard-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    flex: 1 1 280px;
    max-width: 340px;
    padding: 24px;
}
.gift-exchange-dashboard-main-toprow {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: space-between;
    margin-bottom: 20px;
}
.gift-exchange-dashboard-main-toprow > .dropdown {
    flex: 0 0 auto;
}
.gift-exchange-dashboard-share-link-wrap {
    flex: 1 1 240px;
    min-width: 0;
}
.gift-exchange-dashboard-share-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: left;
}
.gift-exchange-dashboard-share-sub {
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 6px;
    text-align: left;
}
.gift-exchange-invite-togglerow {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.gift-exchange-invite-toggle-form {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
}
.gift-exchange-invite-togglelabel {
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 22px;
}
.gift-exchange-invite-switch {
    cursor: pointer;
    display: inline-block;
    flex: 0 0 auto;
    height: 22px;
    position: relative;
    width: 40px;
}
.gift-exchange-invite-switch input {
    height: 0;
    opacity: 0;
    width: 0;
}
.gift-exchange-invite-slider {
    background-color: #d1d9e6;
    border-radius: 22px;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color 0.15s ease;
}
.gift-exchange-invite-slider::before {
    background-color: #fff;
    border-radius: 50%;
    bottom: 3px;
    content: "";
    height: 16px;
    left: 3px;
    position: absolute;
    transition: transform 0.15s ease;
    width: 16px;
}
.gift-exchange-invite-switch input:checked + .gift-exchange-invite-slider {
    background-color: #22a559;
}
.gift-exchange-invite-switch input:checked + .gift-exchange-invite-slider::before {
    transform: translateX(18px);
}
.gift-exchange-dashboard-share-link {
    background: #f8f9fb;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    box-sizing: border-box;
    color: #4b5563;
    cursor: pointer;
    font-size: 0.85rem;
    margin-bottom: 8px;
    max-width: 400px;
    overflow: hidden;
    padding: 8px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gift-exchange-dashboard-share-link:hover {
    border-color: #0b63c7;
    color: #0b63c7;
}
.gift-exchange-share-link--disabled {
    background: #f3f4f6;
    color: #9ca3af;
}
.gift-exchange-invite-status {
    background: #e9f9f0;
    border-radius: 8px;
    box-sizing: border-box;
    color: #1a7f4c;
    font-size: 0.8rem;
    max-width: 400px;
    padding: 6px 10px;
}
.gift-exchange-invite-status--closed {
    background: #f3f4f6;
    color: #6b7280;
}
.gift-exchange-dashboard-manage-btn {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
}
.gift-exchange-dashboard-guestlist-label {
    font-weight: 700;
    text-align: left;
}
.gift-exchange-dashboard-guestlist-count {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-align: left;
}
.gift-exchange-dashboard-guest-row {
    align-items: center;
    display: flex;
    gap: 10px;
    padding: 8px 0;
    text-align: left;
}
.gift-exchange-dashboard-guest-row--removed {
    opacity: 0.6;
}
.gift-exchange-dashboard-guest-name {
    flex: 1 1 auto;
}
.gift-exchange-dashboard-guest-action-form {
    flex: 0 0 auto;
    margin: 0;
}
.gift-exchange-dashboard-guest-action {
    background: none;
    border: none;
    color: #0b63c7;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0;
}
.gift-exchange-dashboard-guest-action.is-disabled {
    color: #9ca3af;
    cursor: not-allowed;
}
.gift-exchange-dashboard-removed-label {
    margin-top: 20px;
}
.gift-exchange-dashboard-guest-avatar {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.gift-exchange-dashboard-main {
    flex: 3 1 500px;
    min-width: 0;
}
@media (max-width: 991px) {
    .gift-exchange-dashboard-sidebar {
        max-width: none;
        order: 2;
    }
    .gift-exchange-dashboard-main {
        order: 1;
    }
}
.gift-exchange-dashboard-header p {
    color: #4b5563;
    margin-top: 4px;
}
.gift-exchange-dashboard-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}
.gift-exchange-dashboard-tiles.no-top-margin {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 0px;
}
.gift-exchange-dashboard-tile {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    flex: 1 1 200px;
    gap: 12px;
    padding: 14px 16px;
}
.gift-exchange-dashboard-tile-icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    width: 44px;
}
.gift-exchange-dashboard-tile-icon svg {
    height: 20px;
    width: 20px;
}
.gift-exchange-dashboard-tile-icon--blue {
    background-color: #eaf2fb;
    color: #0b63c7;
}
.gift-exchange-dashboard-tile-icon--green {
    background-color: #e9f7ef;
    color: #0b63c7;
}
.gift-exchange-dashboard-tile-icon--yellow {
    background-color: #fdeaf0;
}
.gift-exchange-dashboard-tile-label {
    color: #6b7280;
    font-size: 0.8rem;
}
.gift-exchange-dashboard-tile-value {
    font-weight: 700;
}
.gift-exchange-dashboard-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-top: 16px;
    padding: 16px 20px;
}
.gift-exchange-dashboard-icon-badge {
    align-items: center;
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    height: 48px;
    justify-content: center;
    width: 48px;
}
.gift-exchange-dashboard-icon-badge--blue {
    background-color: #eaf2fb;
    color: #0b63c7;
}
.gift-exchange-dashboard-icon-badge--pink {
    background-color: #fdeaf0;
}
.gift-exchange-dashboard-note-card {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}
.gift-exchange-dashboard-note-body {
    flex: 1 1 auto;
}
.gift-exchange-dashboard-note-heading {
    font-weight: 700;
}
.gift-exchange-dashboard-note-text {
    color: #4b5563;
    margin-top: 4px;
}
.gift-exchange-dashboard-draw-card {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.gift-exchange-dashboard-draw-main {
    display: flex;
    flex: 2 1 300px;
    gap: 14px;
}
.gift-exchange-dashboard-draw-heading {
    font-size: 1.1rem;
    font-weight: 700;
}
.gift-exchange-dashboard-draw-sub {
    margin: 4px 0 12px;
}
.gift-exchange-dashboard-draw-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.gift-exchange-dashboard-draw-secret {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 10px;
}
.gift-exchange-dashboard-draw-callout {
    background: #f8f9fb;
    border-radius: 12px;
    display: flex;
    flex: 1 1 220px;
    gap: 10px;
    padding: 14px 16px;
}
/* the lock svg has its own width/height of 16px, tiny in the 48px badge - size it with CSS like the other gift exchange icons
   (e.g. .gift-exchange-steps-icon svg) */
.gift-exchange-dashboard-draw-callout .gift-exchange-dashboard-icon-badge svg,
.gift-exchange-dashboard-note-card .gift-exchange-dashboard-icon-badge svg {
    height: 26px;
    width: 26px;
}
.gift-exchange-dashboard-draw-callout-heading {
    font-weight: 700;
}
.gift-exchange-dashboard-draw-callout-text {
    color: #4b5563;
    font-size: 0.85rem;
    margin-top: 2px;
}
.gift-exchange-dashboard-wishlist-card {
    align-items: center;
    display: flex;
    gap: 14px;
}
.gift-exchange-dashboard-wishlist-body {
    flex: 1 1 auto;
}
.gift-exchange-dashboard-wishlist-heading {
    font-weight: 700;
}
.gift-exchange-dashboard-wishlist-text {
    color: #4b5563;
    font-size: 0.9rem;
    margin-top: 2px;
}
@media (max-width: 700px) {
    .gift-exchange-dashboard-sidebar {
        max-width: none;
    }
    .gift-exchange-dashboard-wishlist-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Drawn-state participant dashboard (v21.includeGiftExchangeDrawnParticipant.blade.php) */
/* "matched" not "drawn": .gift-exchange-drawn-banner already belongs to the Draw Names page */
.gift-exchange-matched-banner {
    align-items: center;
    background: #eaf3fc;
    border-radius: 12px;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: space-between;
    padding: 20px 24px;
}
.gift-exchange-matched-banner-text {
    flex: 1 1 auto;
    min-width: 0;
}
.gift-exchange-matched-banner h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 6px;
}
.gift-exchange-matched-banner p {
    color: #4b5563;
    margin: 0;
}
.gift-exchange-matched-banner-img {
    flex: 0 0 auto;
    max-height: 120px;
    max-width: 220px;
}
.gift-exchange-drawn-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}
.gift-exchange-drawn-step {
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    flex: 1 1 320px;
    padding: 18px 20px;
}
.gift-exchange-drawn-step--blue {
    background: #f3f8fd;
}
.gift-exchange-drawn-step--pink {
    background: #fdf3f6;
    border-color: #f6d9e2;
}
.gift-exchange-drawn-step-head {
    align-items: center;
    display: flex;
    gap: 12px;
}
.gift-exchange-drawn-step-num {
    align-items: center;
    background: #0b63c7;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    width: 34px;
}
.gift-exchange-drawn-step-num--pink {
    background: #e0306a;
}
.gift-exchange-drawn-step-title {
    color: #0b63c7;
    font-size: 1.05rem;
    font-weight: 700;
}
.gift-exchange-drawn-step-title--pink {
    color: #b3124d;
}
.gift-exchange-drawn-recipient,
.gift-exchange-drawn-wishlist {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
/* Help Your Gifter heart: red outline (heart-icon.svg draws in currentColor), larger than its 16px default */
.gift-exchange-drawn-wishlist .gift-exchange-dashboard-icon-badge {
    color: #d92d4b;
}
.gift-exchange-drawn-wishlist .gift-exchange-dashboard-icon-badge svg {
    height: 28px;
    width: 28px;
}
.gift-exchange-drawn-avatar {
    flex: 0 0 auto;
    height: 64px;
    width: 64px;
}
.gift-exchange-drawn-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.gift-exchange-drawn-recipient-name {
    font-size: 1.2rem;
    font-weight: 700;
}
.gift-exchange-drawn-reserved {
    color: #4b5563;
    font-size: 0.9rem;
}
.gift-exchange-drawn-step-img {
    flex: 0 0 auto;
    margin-left: auto;
    max-height: 80px;
    max-width: 100px;
}
.gift-exchange-drawn-step-text {
    color: #4b5563;
    font-size: 0.9rem;
    margin: 10px 0 14px;
}
/* .btn-blue-outline:hover sets display:inline-flex, which turns the button into an inline box on hover and adds
   line-box space under it (the card grew ~3px and shifted the page down). only display here - the other
   properties must not differ between normal and hover or the button changes size */
.gift-exchange-drawn-btn:hover {
    display: flex;
}
/* Add Wishes: .btn-blue-outline (and its :hover) set a transparent background, so the pink card shows through */
.gift-exchange-drawn-step .btn-blue-outline.gift-exchange-drawn-btn,
.gift-exchange-drawn-step .btn-blue-outline.gift-exchange-drawn-btn:hover {
    background-color: #fff;
}
.gift-exchange-drawn-btn {
    border-radius: 999px;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px 18px;
    width: 100%;
}
.gift-exchange-drawn-progress-label {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 8px;
    justify-content: space-between;
    margin-top: 6px;
}
.gift-exchange-drawn-progress-label span {
    color: #6b7280;
}
.gift-exchange-drawn-progress {
    background: #e5e7eb;
    border-radius: 999px;
    height: 10px;
    margin: 6px 0 14px;
    overflow: hidden;
}
.gift-exchange-drawn-progress-bar {
    background: #e0306a;
    border-radius: 999px;
    height: 100%;
}
.gift-exchange-drawn-strip {
    align-items: center;
    background: #eef9f1;
    border: 1px solid #d3eedb;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
    padding: 14px 20px;
}
.gift-exchange-drawn-strip-check {
    align-items: center;
    background: #2faa5a;
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.gift-exchange-drawn-strip-check svg {
    fill: #fff;
    height: 20px;
    width: 20px;
}
.gift-exchange-drawn-strip-body {
    flex: 1 1 260px;
}
.gift-exchange-drawn-strip-title {
    font-weight: 700;
}
.gift-exchange-drawn-strip-sub {
    color: #4b5563;
    font-size: 0.9rem;
}
.gift-exchange-drawn-strip-steps {
    align-items: flex-start;
    display: flex;
    gap: 8px;
}
.gift-exchange-drawn-strip-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    gap: 4px;
    text-align: center;
}
.gift-exchange-drawn-strip-step span {
    align-items: center;
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.gift-exchange-drawn-strip-step--current {
    font-weight: 700;
}
.gift-exchange-drawn-strip-step--current span {
    background: #0b63c7;
    border-color: #0b63c7;
    color: #fff;
}
.gift-exchange-drawn-strip-step--done span {
    background: #2faa5a;
    border-color: #2faa5a;
    color: #fff;
}
.gift-exchange-drawn-strip-line {
    background: #cbd5e1;
    height: 2px;
    margin-top: 18px;
    width: 60px;
}
.gift-exchange-drawn-info {
    margin-top: 16px;
}
.gift-exchange-drawn-info-note {
    flex: 2 1 260px;
}
.gift-exchange-drawn-info-secret {
    background: #f3f6fa;
    flex: 2 1 260px;
}
/* waiting state (names not drawn / latecomer) */
.gift-exchange-waiting-avatar {
    align-items: center;
    background: #dbe9f8;
    border-radius: 50%;
    color: #0b63c7;
    display: flex;
    flex: 0 0 auto;
    font-size: 1.8rem;
    height: 64px;
    justify-content: center;
    position: relative;
    width: 64px;
}
.gift-exchange-waiting-avatar-lock {
    align-items: center;
    background: #6b7280;
    border: 2px solid #fff;
    border-radius: 50%;
    bottom: -4px;
    color: #fff;
    display: flex;
    height: 32px;
    justify-content: center;
    position: absolute;
    right: -6px;
    width: 32px;
}
/* fa-clock-o, sized larger than the lock it replaced (12px) */
.gift-exchange-waiting-avatar-lock i {
    font-size: 20px;
}
.gift-exchange-waiting-tile-icon i {
    font-size: 24px;
}
.gift-exchange-waiting-match-text {
    font-size: 1.1rem;
    font-weight: 600;
}
.gift-exchange-waiting-btn {
    background: #9aa8b8;
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
}
.gift-exchange-waiting-btn i {
    font-size: 22px;
    margin-right: 8px;
}
.gift-exchange-waiting-notify {
    color: #4b5563;
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: center;
}
@media (max-width: 700px) {
    .gift-exchange-matched-banner {
        flex-direction: column;
        text-align: center;
    }
    .gift-exchange-drawn-step-img {
        display: none;
    }
    .gift-exchange-drawn-btn-arrow {
        display: none;
    }
}

/* Draw Restrictions screen (v21.giftExchangeDrawRestrictions.blade.php) and its Edit modal
   (v21.editGiftExchangeDrawRestriction.blade.php). See
   specs/gift_exchange/wishlist_gift_exchange_draw_restrictions.md */
.gift-exchange-dashboard-readiness-alert {
    background-color: #fff8e6;
    border: 1px solid #f5dfa0;
    border-radius: 8px;
    color: #8a6d1d;
    font-size: 0.85rem;
    margin-bottom: 16px;
    padding: 10px 14px;
}
.gift-exchange-draw-restrictions-warning {
    background: #fdf2f2;
    border: 1px solid #f6d4d4;
    border-radius: 8px;
    color: #c0392b;
    font-size: 0.85rem;
    margin-bottom: 16px;
    padding: 10px 14px;
}
.gift-exchange-back-link {
    color: #6b7280;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.gift-exchange-back-link:hover {
    color: #374151;
    text-decoration: none;
}
.gift-exchange-draw-restrictions-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.gift-exchange-draw-restrictions-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.gift-exchange-draw-restrictions-row {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 14px;
    padding: 14px 4px;
}
.gift-exchange-draw-restrictions-row:last-child {
    border-bottom: none;
}
.gift-exchange-draw-restrictions-name {
    flex: 1 1 auto;
    font-weight: 600;
}
.gift-exchange-draw-restrictions-count {
    color: #6b7280;
    font-size: 0.85rem;
}

.gift-exchange-draw-restriction-modal-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.gift-exchange-draw-restriction-row {
    align-items: center;
    display: flex;
    gap: 10px;
    padding: 10px 0;
}
.gift-exchange-draw-restriction-name {
    flex: 1 1 auto;
}

/* New "Saved" confirmation pill - a fresh definition, not a reuse of an existing
   pill/badge class. Small, minimal padding, shown for 3 seconds after a checkbox change. */
.alert-pill {
    background-color: #e9f9f0;
    border-radius: 50px;
    color: #1a7f4c;
    display: none;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 1px 8px;
}

/* Draw Names screen (v21.giftExchangeDrawNames.blade.php). See
   specs/gift_exchange/giftExchangeDrawNames_view.md */
.gift-exchange-draw-names-intro {
    align-items: center;
    display: flex;
    gap: 16px;
}
.gift-exchange-draw-names-heading {
    font-size: 1.5rem;
    margin: 0 0 4px;
}
.gift-exchange-draw-names-sub {
    color: #4b5563;
}
.gift-exchange-draw-names-howto {
    background: #f0f6fd;
}
.gift-exchange-draw-names-howto-title {
    align-items: center;
    color: #0b63c7;
    display: flex;
    font-weight: 700;
    gap: 8px;
    margin-bottom: 12px;
}
.gift-exchange-draw-names-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gift-exchange-draw-names-steps li {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.gift-exchange-draw-names-steps li:last-child {
    margin-bottom: 0;
}
.gift-exchange-draw-names-step-num {
    align-items: center;
    background: #0b63c7;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    height: 20px;
    justify-content: center;
    margin-top: 2px;
    width: 20px;
}
.gift-exchange-draw-names-btn {
    align-items: center;
    display: flex;
    font-size: 1.1rem;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    max-width: 100%;
    padding: 16px;
    width: 220px;
}
.gift-exchange-draw-names-notice {
    margin-top: 16px;
}
.gift-exchange-draw-names-btn-help {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: center;
}
.gift-exchange-draw-names-status {
    margin-top: 24px;
}
.gift-exchange-draw-names-status-title {
    font-weight: 700;
    margin-bottom: 10px;
}
.gift-exchange-draw-names-status-card {
    align-items: center;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    padding: 14px 16px;
}
.gift-exchange-draw-names-status-card--drawn {
    background: #e7f6ec;
    border-color: #cdebd7;
}
.gift-exchange-draw-names-status-dot {
    background: #9ca3af;
    border-radius: 50%;
    flex: 0 0 auto;
    height: 10px;
    width: 10px;
}
.gift-exchange-draw-names-status-dot--drawn {
    background: #22a559;
}
.gift-exchange-draw-names-status-label {
    font-weight: 700;
}
.gift-exchange-draw-names-status-detail {
    color: #4b5563;
    font-size: 0.85rem;
    margin-top: 2px;
}
@media (max-width: 576px) {
    .gift-exchange-draw-names-intro {
        flex-direction: column;
        text-align: center;
    }
}

/* Organizer Steps screen (v21.organizerGiftExchangeSteps.blade.php) - the organizer's
   landing page. See specs/gift_exchange/organizerGiftExchangeSteps_view.md */
.gift-exchange-steps-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding: 24px;
}
.gift-exchange-steps-card--active {
    border-color: #0b63c7;
}
.gift-exchange-steps-num {
    align-items: center;
    background: #e5e7eb;
    border-radius: 50%;
    color: #6b7280;
    display: flex;
    flex: 0 0 auto;
    font-size: 1.2rem;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    width: 44px;
}
.gift-exchange-steps-card--active .gift-exchange-steps-num {
    background: #0b63c7;
    color: #fff;
}
.gift-exchange-steps-icon {
    align-items: center;
    background: #eaf2fb;
    border-radius: 50%;
    color: #0b63c7;
    display: flex;
    flex: 0 0 auto;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.gift-exchange-steps-icon svg {
    height: 22px;
    width: 22px;
}
.gift-exchange-steps-body {
    flex: 1 1 auto;
    min-width: 0;
}
.gift-exchange-steps-titlerow {
    align-items: center;
    display: flex;
    gap: 12px;
    margin: 0 0 8px;
}
.gift-exchange-steps-title {
    font-size: 1.2rem;
    font-weight: 700;
}
.gift-exchange-steps-body .gift-exchange-invite-togglelabel {
    font-size: 1rem;
}
.gift-exchange-steps-desc {
    color: #4b5563;
    margin-bottom: 12px;
}
.gift-exchange-steps-status {
    border-radius: 10px;
    padding: 10px 14px;
}
.gift-exchange-steps-status-label {
    font-weight: 700;
}
.gift-exchange-steps-status-detail {
    color: #4b5563;
    font-size: 0.85rem;
    margin-top: 2px;
}
.gift-exchange-steps-status--open {
    background: #e9f7ef;
}
.gift-exchange-steps-status--open .gift-exchange-steps-status-label {
    color: #1a7f4c;
}
.gift-exchange-steps-status--waiting {
    background: #fff8e6;
}
.gift-exchange-steps-status--waiting .gift-exchange-steps-status-label {
    color: #8a6d1d;
}
.gift-exchange-steps-status--notready {
    background: #f3f4f6;
}
.gift-exchange-steps-status--notready .gift-exchange-steps-status-label {
    color: #4b5563;
}
.gift-exchange-steps-status--done {
    background: #e7f6ec;
}
.gift-exchange-steps-status--done .gift-exchange-steps-status-label {
    color: #1e7a3d;
}
.gift-exchange-steps-action {
    flex: 0 0 auto;
    width: 220px;
}
.gift-exchange-steps-action .btn {
    white-space: nowrap;
    width: 100%;
}
.gift-exchange-steps-action .btn[disabled] {
    background-color: #d1d9e6;
    border-color: #d1d9e6;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 1;
}
.gift-exchange-steps-pill {
    background: #e6f0fb;
    border-radius: 999px;
    color: #0b63c7;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    text-transform: uppercase;
}
.gift-exchange-steps-linkbox {
    align-items: stretch;
    display: flex;
    margin-bottom: 8px;
    max-width: 400px;
}
.gift-exchange-steps-linkbox .gift-exchange-dashboard-share-link {
    border-bottom-right-radius: 0;
    border-right: 0;
    border-top-right-radius: 0;
    flex: 1 1 auto;
    margin-bottom: 0;
    min-width: 0;
}
.gift-exchange-steps-copybtn {
    align-items: center;
    background: #fff;
    border: 1px solid #d1d9e6;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    color: #0b63c7;
    cursor: pointer;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    width: 42px;
}
.gift-exchange-steps-copybtn:hover {
    background: #f8f9fb;
}
.gift-exchange-steps-info {
    color: #6b7280;
    cursor: help;
}
.gift-exchange-steps-panel {
    align-items: center;
    border-radius: 10px;
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 16px;
}
.gift-exchange-steps-panel-icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    font-size: 1.4rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}
.gift-exchange-steps-panel-text {
    flex: 1 1 auto;
    min-width: 0;
}
.gift-exchange-steps-panel-caption {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.gift-exchange-steps-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
}
.gift-exchange-steps-panel-detail {
    color: #4b5563;
    font-size: 0.9rem;
    margin-top: 2px;
}
.gift-exchange-steps-panel--green {
    background: #e9f7ef;
}
.gift-exchange-steps-panel--green .gift-exchange-steps-panel-icon {
    background: #c9efd9;
    color: #1a7f4c;
}
.gift-exchange-steps-panel--green .gift-exchange-steps-panel-caption {
    color: #1a7f4c;
}
.gift-exchange-steps-panel--yellow {
    background: #fff8e6;
}
.gift-exchange-steps-panel--yellow .gift-exchange-steps-panel-icon {
    background: #fdecc0;
    color: #b7791f;
}
.gift-exchange-steps-panel--yellow .gift-exchange-steps-panel-caption {
    color: #8a6d1d;
}
.gift-exchange-steps-panel--grey {
    background: #f3f4f6;
}
.gift-exchange-steps-panel--grey .gift-exchange-steps-panel-icon {
    background: #e5e7eb;
    color: #6b7280;
}
.gift-exchange-steps-panel--grey .gift-exchange-steps-panel-caption {
    color: #6b7280;
}
.gift-exchange-steps-progress {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}
.gift-exchange-steps-progress-bar {
    background: #e5e7eb;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    width: 140px;
}
.gift-exchange-steps-progress-fill {
    background: #f5b400;
    border-radius: 999px;
    height: 100%;
}
.gift-exchange-steps-progress-label {
    color: #6b7280;
    font-size: 0.85rem;
    white-space: nowrap;
}
.gift-exchange-dashboard-topbar-chips {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 8px;
}
.gift-exchange-topbar-chip {
    align-items: center;
    color: #4b5563;
    display: inline-flex;
    font-size: 0.95rem;
    gap: 8px;
}
.gift-exchange-topbar-chip--strong {
    color: #111827;
    font-weight: 700;
}
.gift-exchange-topbar-chip-icon {
    color: #9ca3af;
    font-size: 1.1rem;
}
/* plain grey group title above Notices / Steps on the Exchange Steps screen */
.gift-exchange-section-label {
    color: #6b7280;
    font-size: 1rem;
    margin: 20px 0 8px;
    text-align: left;
}
.gift-exchange-topbar-chip--warn {
    color: #8a6d1d;
    font-weight: 600;
}
.gift-exchange-topbar-chip--warn .gift-exchange-topbar-chip-icon {
    color: #b7791f;
}
.gift-exchange-topbar-chip-icon--blue {
    color: #0b63c7;
}
.gift-exchange-topbar-chip-dot {
    background: #22a559;
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    width: 10px;
}
.gift-exchange-topbar-chip-dot--off {
    background: #9ca3af;
}
@media (max-width: 767.98px) {
    .gift-exchange-steps-panel {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .gift-exchange-steps-progress {
        width: 100%;
    }
    .gift-exchange-steps-progress-bar {
        flex: 1 1 auto;
        width: auto;
    }
    .gift-exchange-steps-card {
        align-items: stretch;
        flex-direction: column;
        text-align: left;
    }
    .gift-exchange-steps-num {
        align-self: center;
    }
    .gift-exchange-steps-body {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
    .gift-exchange-steps-body .gift-exchange-dashboard-share-link {
        max-width: 100%;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .gift-exchange-steps-status {
        text-align: left;
    }
    .gift-exchange-steps-action {
        width: 100%;
    }
    .gift-exchange-steps-action .btn {
        width: 100%;
    }
}

/* Manage Invites screen (giftExchangeManageInvites.blade.php) */
.gift-exchange-manage-invites-link {
    margin-bottom: 20px;
}
.gift-exchange-manage-invites-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.gift-exchange-manage-invites-toolbar .gift-exchange-manage-invites-tab--active,
.gift-exchange-manage-invites-toolbar .gift-exchange-manage-invites-tab--active:hover,
.gift-exchange-manage-invites-toolbar .gift-exchange-manage-invites-tab--active:focus {
    background-color: #5b6fd8;
    border-color: #5b6fd8;
    color: #fff !important;
}
.gift-exchange-manage-invites-filter {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.gift-exchange-manage-invites-filter label {
    margin: 0;
}
.gift-exchange-manage-invites-filter input {
    width: 200px;
}
@media (max-width: 575px) {
    .gift-exchange-manage-invites-filter {
        margin-left: 0;
        width: 100%;
    }
    .gift-exchange-manage-invites-filter input {
        flex: 1 1 auto;
        width: auto;
    }
}
.gift-exchange-manage-invites-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 16px 0 4px;
}
.gift-exchange-manage-invites-restrictions-action {
    align-items: center;
    display: inline-flex;
    gap: 14px;
}

/* Draw Names screen - post-draw ("names drawn") state. See
   specs/gift_exchange/giftExchangeDrawNames_view.md "Post-draw state" */
.gift-exchange-drawn-banner {
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0;
}
.gift-exchange-drawn-banner-title {
    font-size: 1.5rem;
    margin: 0 0 4px;
}
.gift-exchange-drawn-banner-status {
    font-weight: 700;
    margin-top: 4px;
}
.gift-exchange-drawn-banner-link {
    color: #0b63c7;
    display: inline-block;
    font-size: 0.9rem;
    margin-top: 12px;
}
.gift-exchange-drawn-actions {
    align-items: stretch;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
}
.gift-exchange-drawn-btn {
    align-items: center;
    border-radius: 999px;
    display: flex;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    padding: 10px 24px;
    white-space: nowrap;
}
.gift-exchange-drawn-undo-link {
    align-self: center;
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
}
.gift-exchange-drawn-undo-link:hover,
.gift-exchange-drawn-undo-link:focus {
    color: #4b5563;
    text-decoration: underline;
}
.gift-exchange-drawn-btn--notified {
    background: #e5e7eb;
    color: #4b5563;
}
.gift-exchange-drawn-next {
    align-items: flex-start;
    background: #eaf2fb;
    border-color: #d5e5f7;
    display: flex;
    gap: 14px;
}
.gift-exchange-drawn-next-icon {
    color: #0b63c7;
    flex: 0 0 auto;
    font-size: 1.6rem;
}
.gift-exchange-drawn-next-title {
    color: #0b63c7;
    font-size: 1.1rem;
    font-weight: 700;
}
.gift-exchange-drawn-next-body {
    flex: 1 1 auto;
    min-width: 0;
}
.gift-exchange-drawn-next > .gift-exchange-drawn-btn {
    align-self: center;
    flex: 0 0 auto;
    /* .gift-exchange-drawn-btn is width:100% for the step cards; here it sits beside the text, so it must size to its label */
    width: auto;
}
/* notified, but some people still need a notice - amber instead of blue */
.gift-exchange-drawn-next--warning {
    background: #fff8e6;
    border-color: #f2d58a;
}
.gift-exchange-drawn-next--warning .gift-exchange-drawn-next-icon {
    color: #e08a00;
}
.gift-exchange-drawn-next--warning .gift-exchange-drawn-next-title {
    color: #8a6d1d;
}
.gift-exchange-assignments-head {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.gift-exchange-assignments-head-text {
    flex: 1 1 auto;
    min-width: 0;
}
.gift-exchange-assignments-title {
    font-size: 1.3rem;
    margin: 0;
}
.gift-exchange-assignments-reveal {
    background: #eaf2fb;
    border-radius: 999px;
    color: #0b63c7;
    font-weight: 700;
    white-space: nowrap;
}
.gift-exchange-assignments-table {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.gift-exchange-assignments-table-head {
    align-items: center;
    background: #f3f4f6;
    color: #0b63c7;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    padding: 12px 16px;
}
.gift-exchange-assignments-row {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr 90px;
    padding: 8px 16px;
}
/* the Notified column is only present once the exchange has been notified */
.gift-exchange-assignments-row--notified {
    grid-template-columns: 1fr 90px 1fr 70px;
}
/* the assignment (Hidden / the revealed name) and its Show/Hide link share one cell, so the link stays right next to it */
.gift-exchange-assignments-target {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}
.gift-exchange-assignments-row--cols {
    background: #f8f9fb;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 700;
}
.gift-exchange-assignments-person,
.gift-exchange-assignments-revealed {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}
.gift-exchange-assignments-hidden {
    color: #6b7280;
}
.gift-exchange-assignments-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gift-exchange-assignments-tab {
    background: #fff;
    border: 1px solid #d1d9e6;
    border-radius: 50px;
    color: #4b5563;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
}
.gift-exchange-assignments-tab.active {
    background-color: #eaf2fb;
    border-color: #bcd7f5;
    color: #0b63c7;
}
.gift-exchange-assignments-tab--orphan.active {
    background-color: #fdecc0;
    border-color: #f3d58a;
    color: #8a6d1d;
}
.gift-exchange-assignments-chevron {
    background: none;
    border: 0;
    color: #0b63c7;
    cursor: pointer;
    padding: 0 4px;
}
.gift-exchange-assignments-orphan-note {
    background: #f8f9fb;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.85rem;
    padding: 10px 16px;
}
.gift-exchange-assignments-orphan {
    background: #fdecc0;
    border-radius: 50px;
    color: #8a6d1d;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 12px;
}
/* "Notified:" label before the pill - only shown on narrow screens, where the column header is hidden */
.gift-exchange-assignments-notified-label {
    display: none;
}
/* Notified column pills in the assignments table: Yes (green), No (amber), No email (grey) */
.gift-exchange-assignments-pill {
    border-radius: 50px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 12px;
    white-space: nowrap;
}
.gift-exchange-assignments-pill--yes {
    background: #d9f1e1;
    color: #1b6b32;
}
.gift-exchange-assignments-pill--no {
    background: #fdecc0;
    color: #8a6d1d;
}
.gift-exchange-assignments-pill--none {
    background: #e5e7eb;
    color: #4b5563;
}
.gift-exchange-assignments-dash {
    color: #9ca3af;
}
/* Fix draw modal (fixGiftExchangeOrphan.blade.php) */
.gift-exchange-fix-row {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: 24px 1.4fr 1fr 0.9fr;
    margin: 0;
    padding: 8px 0;
}
.gift-exchange-fix-row--head {
    color: #4b5563;
    cursor: default;
    font-size: 0.85rem;
    font-weight: 700;
}
.gift-exchange-fix-row--head {
    background: #f3f6fa;
    border-radius: 8px;
    border-top: 0;
    padding: 8px 10px;
}
.gift-exchange-fix-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-top: 12px;
    overflow: hidden;
}
.gift-exchange-fix-card--best {
    border-color: #bfe3cc;
}
.gift-exchange-fix-card--heads-up {
    border-color: #f2d58a;
}
.gift-exchange-fix-card-head {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 10px 14px;
}
.gift-exchange-fix-card--best .gift-exchange-fix-card-head {
    background: #e8f6ee;
}
.gift-exchange-fix-card--heads-up .gift-exchange-fix-card-head {
    background: #fff4d9;
}
.gift-exchange-fix-card-icon {
    font-size: 1.5rem;
}
.gift-exchange-fix-card--best .gift-exchange-fix-card-icon {
    color: #2f9e5b;
}
.gift-exchange-fix-card--heads-up .gift-exchange-fix-card-icon {
    color: #e08a00;
}
.gift-exchange-fix-card-title {
    font-weight: 700;
}
.gift-exchange-fix-card-detail {
    color: #4b5563;
    font-size: 0.85rem;
}
.gift-exchange-fix-card .gift-exchange-fix-row {
    padding: 8px 14px;
}
.gift-exchange-fix-row.is-selected {
    background: #eaf2fb;
}
.gift-exchange-fix-detail {
    padding: 0 14px 8px;
}
.gift-exchange-fix-seen-note {
    align-items: center;
    background: #fff8e6;
    border-radius: 8px;
    color: #8a6d1d;
    display: flex;
    font-size: 0.85rem;
    gap: 8px;
    margin: 4px 0 8px;
    padding: 8px 12px;
}
.gift-exchange-fix-seen-icon {
    color: #e08a00;
    font-size: 1.1rem;
}
.gift-exchange-fix-confirm {
    background: #eaf2fb;
    border-radius: 8px;
    margin: 4px 0 8px;
    padding: 10px 14px;
}
.gift-exchange-fix-confirm-title {
    color: #0b63c7;
    font-weight: 700;
    margin-bottom: 8px;
}
.gift-exchange-fix-flow {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gift-exchange-fix-chip {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: inline-flex;
    gap: 8px;
    padding: 6px 12px;
}
.gift-exchange-fix-chip small {
    color: #6b7280;
    display: block;
}
.gift-exchange-fix-arrow {
    font-size: 1.2rem;
}
.gift-exchange-fix-divider {
    align-self: stretch;
    border-left: 1px solid #c9d6e6;
}
.gift-exchange-fix-mobile-label {
    display: none;
}
@media (max-width: 575px) {
    /* rows become two lines: giver, then "Gives to" recipient; the Has viewed draw column and header are dropped
       (the card heading and the amber note already say it) */
    .gift-exchange-fix-row--head,
    .gift-exchange-fix-viewed {
        display: none;
    }
    .gift-exchange-fix-card .gift-exchange-fix-row {
        gap: 4px 10px;
        grid-template-columns: 24px 1fr;
        padding: 8px 10px;
    }
    /* beats the Draw Names table's mobile placement of .gift-exchange-assignments-person (column 1, row 1) */
    .gift-exchange-fix-row .gift-exchange-fix-radio {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    .gift-exchange-fix-row .gift-exchange-assignments-person {
        grid-column: 2;
        grid-row: 1;
    }
    .gift-exchange-fix-row .gift-exchange-assignments-person > span:last-child {
        overflow: visible;
        white-space: normal;
    }
    .gift-exchange-fix-recipient {
        color: #6b7280;
        font-size: 0.85rem;
        grid-column: 2;
        grid-row: 2;
    }
    .gift-exchange-fix-mobile-label {
        display: inline;
    }
    .gift-exchange-fix-card-head {
        padding: 10px;
    }
    /* star / warning icons on the card headings and the amber note are dropped to save width */
    .gift-exchange-fix-card-icon,
    .gift-exchange-fix-seen-icon {
        display: none;
    }
    .gift-exchange-fix-detail {
        padding: 0 10px 8px;
    }
    /* "What will happen" stacks: giver -> orphan, rule, orphan -> recipient */
    .gift-exchange-fix-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .gift-exchange-fix-chip {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    .gift-exchange-fix-arrow {
        align-self: center;
        display: inline-block;
        line-height: 1;
        transform: rotate(90deg);
    }
    .gift-exchange-fix-divider {
        align-self: stretch;
        border-left: 0;
        border-top: 1px solid #c9d6e6;
        margin: 2px 0;
    }
}
/* Remove participant confirm modal (removeGiftExchangeParticipantConfirm.blade.php) */
.gift-exchange-remove-banner {
    align-items: center;
    background: #fff8e6;
    border: 1px solid #f2d58a;
    border-radius: 10px;
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 16px;
}
.gift-exchange-remove-banner--blocked {
    background: #fdecec;
    border-color: #f1b8b8;
}
.gift-exchange-remove-banner-icon {
    color: #e08a00;
    font-size: 1.6rem;
}
.gift-exchange-remove-banner--blocked .gift-exchange-remove-banner-icon {
    color: #c62828;
}
.gift-exchange-remove-banner-title {
    font-size: 1.1rem;
    font-weight: 700;
}
.gift-exchange-remove-banner-text {
    color: #4b5563;
    font-size: 0.9rem;
}
.gift-exchange-remove-banner-body {
    flex: 1;
}
.gift-exchange-remove-person {
    background: #fffdf6;
    border: 1px solid #f2d58a;
    border-radius: 10px;
    margin-bottom: 16px;
    padding: 14px 16px 12px;
}
.gift-exchange-remove-person-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 6px;
}
.gift-exchange-remove-section {
    align-items: center;
    display: flex;
    gap: 12px;
    margin: 18px 0 10px;
}
.gift-exchange-remove-section-icon {
    align-items: center;
    background: #eaf2fb;
    border-radius: 50%;
    color: #0b63c7;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.gift-exchange-remove-section-title {
    font-size: 1.1rem;
    font-weight: 700;
}
.gift-exchange-remove-match {
    background: #f6f8fa;
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 10px 14px;
}
.gift-exchange-remove-match--after {
    background: #eef8f1;
}
.gift-exchange-remove-match-label {
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.gift-exchange-remove-match--after .gift-exchange-remove-match-label {
    color: #1b6b32;
}
.gift-exchange-remove-match-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.gift-exchange-remove-match-verb {
    color: #6b7280;
    font-size: 0.85rem;
}
.gift-exchange-remove-note {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.gift-exchange-remove-notify {
    align-items: center;
    background: #f6f8fa;
    border-radius: 10px;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 24px 2fr;
    margin-bottom: 8px;
    padding: 10px 14px;
}
.gift-exchange-remove-notify--yes {
    background: #eaf2fb;
    border: 1px solid #c9ddf5;
}
.gift-exchange-remove-notify-icon {
    font-size: 1.2rem;
}
.gift-exchange-remove-notify--yes .gift-exchange-remove-notify-icon {
    color: #0b63c7;
}
.gift-exchange-remove-notify-title {
    font-weight: 700;
}
.gift-exchange-remove-notify-text {
    color: #6b7280;
    font-size: 0.85rem;
}
@media (max-width: 768px) {
    .gift-exchange-remove-notify {
        grid-template-columns: 1fr;
    }
}
.gift-exchange-assignments-action {
    text-align: right;
}
.gift-exchange-assignments-show,
.gift-exchange-assignments-fix {
    color: #0b63c7;
    font-weight: 700;
    cursor: pointer;
}
.gift-exchange-undo-warning {
    background: #fdecec;
    border-radius: 8px;
    color: #8a1c1c;
    padding: 10px 12px;
}
@media (max-width: 768px) {
    .gift-exchange-drawn-banner {
        flex-direction: column;
        text-align: center;
    }
    .gift-exchange-drawn-actions {
        width: 100%;
    }
    .gift-exchange-assignments-head {
        flex-wrap: wrap;
    }
    /* assignments table on narrow screens: a two-line card per row. line 1: the name (left) and the Notified pill or the Fix
       link (right); line 2: the assignment with its Show/Hide link. each row labels itself, so the column-header row is hidden */
    .gift-exchange-assignments-row,
    .gift-exchange-assignments-row--notified {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    /* !important: the tab script toggles this row with inline display, which would otherwise show it again */
    .gift-exchange-assignments-row--cols {
        display: none !important;
    }
    /* the pending / next-step card: icon + text on one line, the button (natural width) on its own line below, so the
       text isn't squeezed into a sliver beside it */
    .gift-exchange-drawn-next {
        flex-wrap: wrap;
    }
    .gift-exchange-drawn-next-body {
        flex: 1 1 calc(100% - 50px);
    }
    .gift-exchange-drawn-next > .gift-exchange-drawn-btn {
        align-self: flex-start;
        width: 100%;
    }
    /* line 1 is the whole name (full width, wraps if long); line 2 is the assignment (left) and the Notified pill or the
       Fix link (right) */
    .gift-exchange-assignments-person {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .gift-exchange-assignments-person > span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .gift-exchange-assignments-notified {
        align-self: center;
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
    .gift-exchange-assignments-notified-label {
        color: #6b7280;
        display: inline;
        font-size: 0.8rem;
        margin-right: 6px;
    }
    /* outside the draw: nothing to label, the Fix link takes the right side of line 1 */
    .gift-exchange-assignments-notified--none {
        display: none;
    }
    .gift-exchange-assignments-action {
        align-self: center;
        grid-column: 2;
        grid-row: 2;
    }
    .gift-exchange-assignments-target {
        grid-column: 1;
        grid-row: 2;
    }
}

/* "Confirm you want to join" prompt at the top of the Exchange Dashboard for someone who followed the
   join link but hasn't joined yet. See specs/gift_exchange/wishlist_gift_exchange_participant_flow.md */
.gift-exchange-join-prompt {
    align-items: center;
    background: #eaf2fb;
    border: 1px solid #d5e5f7;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 16px 0;
    padding: 14px 20px;
}
.gift-exchange-join-prompt-text {
    color: #0b63c7;
}
.gift-exchange-join-prompt-text strong {
    font-size: 1.1rem;
}
.gift-exchange-join-prompt-form {
    flex: 0 0 auto;
    margin: 0;
}
.gift-exchange-join-prompt-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 8px 28px;
}
@media (max-width: 576px) {
    .gift-exchange-join-prompt {
        flex-direction: column;
        text-align: center;
    }
    .gift-exchange-join-prompt-form,
    .gift-exchange-join-prompt-btn {
        width: 100%;
    }
}

/* Warnings under the exchange header (Exchange Steps + Draw Names screens). See
   specs/gift_exchange/organizerGiftExchangeSteps_view.md "Warnings under the header" */
.gift-exchange-warnings {
    margin-top: 16px;
}
.gift-exchange-warning {
    align-items: center;
    border-radius: 10px;
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    padding: 12px 16px;
}
.gift-exchange-warning--warning {
    background: #fff8e6;
    border: 1px solid #f3dfa8;
}
.gift-exchange-warning--info {
    background: #eaf2fb;
    border: 1px solid #d5e5f7;
}
.gift-exchange-warning-icon {
    flex: 0 0 auto;
    font-size: 1.4rem;
}
.gift-exchange-warning--warning .gift-exchange-warning-icon {
    color: #b7791f;
}
.gift-exchange-warning--info .gift-exchange-warning-icon {
    color: #0b63c7;
}
.gift-exchange-warning-text {
    flex: 1 1 auto;
    min-width: 0;
}
.gift-exchange-warning-title {
    font-weight: 700;
}
.gift-exchange-warning-message {
    color: #4b5563;
    font-size: 0.9rem;
}
.gift-exchange-warning-action {
    flex: 0 0 auto;
    white-space: nowrap;
}
@media (max-width: 576px) {
    .gift-exchange-warning {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .gift-exchange-warning-action {
        width: 100%;
    }
}

/* keep the Step 1 card clear of the fixed site header when linked to (#gift_exchange_step_invites) */
#gift_exchange_step_invites,
#gift_exchange_step_notify {
    scroll-margin-top: 90px;
}

/* "Leave this exchange" link under Your WishList on the participant Dashboard, and its modal's confirm
   (a gray text-link style submit). See specs/gift_exchange/giftExchangeDrawNames_post_draw_logic.md */
.gift-exchange-leave-wrap {
    margin-top: 12px;
}
.gift-exchange-leave-link,
.gift-exchange-leave-confirm {
    background: none;
    border: 0;
    color: #6b7280;
    font-size: 0.9rem;
    padding: 0;
    text-decoration: none;
}
.gift-exchange-leave-link:hover,
.gift-exchange-leave-link:focus,
.gift-exchange-leave-confirm:hover,
.gift-exchange-leave-confirm:focus {
    color: #4b5563;
    text-decoration: underline;
}
.gift-exchange-leave-form {
    margin: 0;
}

/* "Changed your mind? Rejoin" prompt on My Gift Exchanges after leaving an exchange */
.gift-exchange-rejoin-prompt {
    color: #4b5563;
    margin-top: 12px;
}
.gift-exchange-rejoin-prompt a {
    color: #0b63c7;
    font-weight: 700;
}

/* Delete Gift Exchange screen (see specs/gift_exchange/delete_wishlist_gift_exchange.md) */
.gift-exchange-delete-title-row {
    align-items: center;
    display: flex;
    gap: 16px;
}
.gift-exchange-delete-title-icon {
    align-items: center;
    background: #fde8e8;
    border-radius: 50%;
    color: #b42318;
    display: flex;
    flex: 0 0 56px;
    font-size: 1.5rem;
    height: 56px;
    justify-content: center;
    width: 56px;
}
.gift-exchange-delete-panel {
    background: #fef3f2;
    border: 1px solid #fda4a4;
    border-radius: 12px;
    margin-top: 20px;
    padding: 16px;
}
.gift-exchange-delete-panel-head {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}
.gift-exchange-delete-panel-head-icon {
    color: #b42318;
    flex: 0 0 48px;
    font-size: 2.2rem;
    text-align: center;
}
.gift-exchange-delete-panel-title {
    color: #b42318;
    font-size: 1.15rem;
    font-weight: 700;
}
.gift-exchange-delete-panel-sub {
    color: #7a271a;
}
.gift-exchange-delete-row {
    align-items: center;
    border-radius: 8px;
    display: flex;
    gap: 14px;
    margin-top: 8px;
    padding: 10px 14px;
}
.gift-exchange-delete-row--danger {
    background: #fde2e2;
}
.gift-exchange-delete-row--warning {
    background: #fff3d6;
}
.gift-exchange-delete-row-icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.gift-exchange-delete-row--danger .gift-exchange-delete-row-icon {
    background: #f9c4c4;
    color: #b42318;
}
.gift-exchange-delete-row--warning .gift-exchange-delete-row-icon {
    background: #fde6a8;
    color: #b45309;
}
.gift-exchange-delete-row-lead {
    color: #7a271a;
    font-weight: 700;
}
.gift-exchange-delete-row-detail {
    color: #4b5563;
}
.gift-exchange-delete-row-text--stacked .gift-exchange-delete-row-detail {
    display: block;
}
.gift-exchange-delete-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 24px;
}
.gift-exchange-delete-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}
.gift-exchange-delete-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: inherit;
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
}
.gift-exchange-delete-card:hover,
.gift-exchange-delete-card:focus {
    border-color: #0b63c7;
    color: inherit;
    text-decoration: none;
}
.gift-exchange-delete-card-icon {
    align-items: center;
    background: #e8f1fc;
    border-radius: 50%;
    color: #0b63c7;
    display: flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    width: 44px;
}
.gift-exchange-delete-card-text {
    flex: 1 1 auto;
}
.gift-exchange-delete-card-title {
    font-weight: 700;
}
.gift-exchange-delete-card-desc {
    color: #6b7280;
    font-size: 0.9rem;
}
.gift-exchange-delete-card-chevron {
    color: #6b7280;
}
.gift-exchange-delete-confirm {
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
    padding-top: 16px;
}
.gift-exchange-delete-confirm-input {
    max-width: 420px;
}
.gift-exchange-delete-buttons {
    margin-top: 16px;
    text-align: right;
}
.gift-exchange-delete-buttons .btn {
    border-radius: 999px;
    padding-left: 22px;
    padding-right: 22px;
}
@media (max-width: 767px) {
    .gift-exchange-delete-cards {
        grid-template-columns: 1fr;
    }
}
