/* Alltransfers: sending screens (home hero uploader, transfer mockups) */

/* Hero */
.al-send-hero {
    padding: 10.5rem 0 6rem;
}

.al-send-hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(0, 480px);
    align-items: center;
    gap: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.al-send-hero-grid:has(#upload_header.d-none) {
    grid-template-columns: 1fr;
    max-width: 1040px;
}

.al-send-hero .al-hero-title {
    margin: 1rem 0 1.25rem;
    font-size: clamp(2.4rem, 5vw, 4rem);
    text-align: left;
}

.al-send-hero .al-hero-subtitle {
    margin: 0 0 2rem;
    max-width: 520px;
    text-align: left;
}

.al-send-proof,
.al-send-list {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--al-ink);
    font-weight: 500;
}

.al-send-proof i,
.al-send-list i {
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-right: .55rem;
    border-radius: 50%;
    font-size: .65rem;
    color: var(--al-primary);
    background: var(--al-primary-soft);
}

.al-send-list {
    margin: 1.5rem 0 1.75rem;
}

/* Uploader card */
.al-uploader {
    position: relative;
    padding: 1.25rem;
    border: 1px solid var(--al-line);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 0 0 8px rgba(15, 127, 107, .06), var(--al-shadow);
    transition: box-shadow .2s var(--al-ease), border-color .2s var(--al-ease);
}

.al-uploader.upload-drag-over-active {
    border-color: var(--al-primary);
    box-shadow: 0 0 0 8px rgba(15, 127, 107, .16), var(--al-shadow);
}

.al-uploader > .card-body {
    padding: 0;
}

.al-uploader-hints {
    display: flex;
    justify-content: flex-end;
    margin-bottom: .75rem;
}

.al-uploader-hints:not(:has(*)) {
    display: none;
}

.al-uploader .mt-5:has(> #upload_previews_wrapper.d-none) {
    margin-top: 0 !important;
}

.al-uploader .upload-hint-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--al-primary);
    background: var(--al-primary-soft);
}

.al-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    padding: 2.75rem 1.5rem 2.25rem;
    border: 2px dashed #cfe5df;
    border-radius: 1.1rem;
    text-align: center;
    background: linear-gradient(180deg, #fbfefd, #f3faf8);
}

#upload_previews_wrapper:not(.d-none) ~ .al-drop,
.al-uploader:has(#upload_previews_wrapper:not(.d-none)) .al-drop {
    min-height: 0;
    padding: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.al-uploader:has(#upload_previews_wrapper:not(.d-none)) .al-drop-icon,
.al-uploader:has(#upload_previews_wrapper:not(.d-none)) .al-drop-title,
.al-uploader:has(#upload_previews_wrapper:not(.d-none)) .al-drop-limits {
    display: none;
}

.al-drop-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #16a085, #0f7f6b);
    box-shadow: 0 12px 24px -12px rgba(15, 127, 107, .6);
}

.al-drop-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-drop-folder {
    padding: 0;
    border: 0;
    background: none;
    font-size: .9rem;
    font-weight: 600;
    color: var(--al-muted);
}

.al-drop-folder:hover {
    color: var(--al-primary);
}

.al-drop-limits {
    max-width: 320px;
    color: var(--al-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.al-uploader #upload_previews_wrapper {
    margin-top: 1.5rem;
}

.al-uploader #upload_previews_wrapper > .row:first-child > div {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
}

@media (min-width: 992px) {
    .al-send-hero-grid:has(#upload_header.d-none) #upload_previews_wrapper > .row:first-child > div:not(*) {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.al-uploader #upload_previews_wrapper .row.mt-5 > div {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
}

.al-uploader .submit-transfer-button {
    padding: .85rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}

/* How it works */
.al-send-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.al-send-step {
    padding: 1.5rem;
    border: 1px solid var(--al-line);
    border-radius: 1.25rem;
    background: #fff;
}

.al-send-step h3 {
    margin: .75rem 0 .5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-send-step p {
    margin: 0;
    color: var(--al-muted);
    line-height: 1.6;
}

.al-send-step-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 250px;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--al-gradient-soft);
}

.al-send-stats {
    margin: 3rem 0 0;
    text-align: center;
    color: var(--al-muted);
    font-size: 1.05rem;
}

.al-send-stats strong {
    color: var(--al-navy);
}

/* Options grid */
.al-send-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.al-send-option {
    padding: 1.5rem;
    border: 1px solid var(--al-line);
    border-radius: 1.25rem;
    background: #fff;
}

.al-send-option-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: .8rem;
    color: var(--al-primary);
    background: var(--al-primary-soft);
}

.al-send-option h3 {
    margin-bottom: .4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-send-option p {
    margin: 0;
    color: var(--al-muted);
    font-size: .95rem;
    line-height: 1.55;
}

/* Frames for split mockups */
.al-send-frame {
    display: grid;
    place-items: center;
    min-height: 440px;
    padding: 2rem;
}

.al-send-frame .al-tv {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
}

.al-send-cta-visual {
    display: grid;
    place-items: center;
    padding: 2rem 3rem 2rem 0;
}

.al-send-cta-visual .al-tv {
    width: 100%;
    max-width: 340px;
    transform: rotate(2deg);
}

/* Transfer mockups */
.al-tv {
    font-size: .85rem;
    color: var(--al-ink);
    text-align: left;
}

.al-tv-card {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    width: 100%;
    max-width: 320px;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--al-shadow-soft);
}

.al-tv-card.is-page {
    align-items: center;
    gap: .55rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.al-tv-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--al-line);
}

.al-tv-head strong {
    color: var(--al-navy);
}

.al-tv-head small,
.al-tv-file small,
.al-tv-row small,
.al-tv-log small {
    color: var(--al-muted);
}

.al-tv-file {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .5rem .6rem;
    border: 1px solid var(--al-line);
    border-radius: .7rem;
    text-align: left;
    overflow: hidden;
}

.al-tv-file i {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: .5rem;
    color: var(--al-primary);
    background: rgba(15, 127, 107, .08);
}

.al-tv-file b {
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.al-tv-file em {
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--progress);
    height: 3px;
    background: var(--al-primary);
}

.al-tv-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: .25rem;
    border-radius: .7rem;
    background: var(--al-soft);
}

.al-tv-seg b {
    padding: .4rem;
    border-radius: .5rem;
    text-align: center;
    font-weight: 600;
    color: var(--al-muted);
}

.al-tv-seg b.is-active {
    color: var(--al-navy);
    background: #fff;
    box-shadow: var(--al-shadow-sm);
}

.al-tv-row,
.al-tv-log {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .65rem;
    padding: .35rem 0;
}

.al-tv-row > i,
.al-tv-log > i {
    width: 1rem;
    color: var(--al-primary);
    text-align: center;
}

.al-tv-row span,
.al-tv-log span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-weight: 600;
}

.al-tv-toggle {
    position: relative;
    width: 2rem;
    height: 1.15rem;
    border-radius: 999px;
    background: #d5dbe4;
}

.al-tv-toggle::after {
    content: "";
    position: absolute;
    top: .15rem;
    left: .15rem;
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}

.al-tv-toggle.is-on {
    background: var(--al-primary);
}

.al-tv-toggle.is-on::after {
    transform: translateX(.85rem);
}

.al-tv-button {
    display: block;
    width: 100%;
    margin-top: .25rem;
    padding: .65rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: var(--al-primary);
}

.al-tv-button.is-dark {
    background: var(--al-navy);
}

.al-tv-total {
    color: var(--al-muted);
}

.al-tv-total strong {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--al-navy);
    letter-spacing: -.03em;
}

.al-tv-spark {
    width: 100%;
    height: 38px;
}

.al-tv-spark path {
    fill: none;
    stroke: var(--al-primary);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.al-tv-toast {
    position: absolute;
    right: -.5rem;
    bottom: -.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--al-navy);
    background: #fff;
    box-shadow: var(--al-shadow);
    white-space: nowrap;
}

.al-tv-toast i {
    color: var(--al-primary);
}

.al-tv-toast.is-success i {
    color: #16a34a;
}

.al-send-step-visual .al-tv-toast {
    right: .75rem;
    bottom: .75rem;
}

.al-tv-brand {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #fff;
    background: #1d2433;
}

.al-tv-brand.is-rose {
    background: #e2779a;
}

.al-tv-title {
    font-size: 1.1rem;
    color: var(--al-navy);
    line-height: 1.25;
}

.al-tv-text,
.al-tv-expiry {
    color: var(--al-muted);
}

.al-tv-expiry {
    font-size: .75rem;
}

.al-tv-drop {
    width: 100%;
    margin: .4rem 0;
    padding: 1.1rem;
    border: 2px dashed #cfe5df;
    border-radius: .8rem;
    font-weight: 700;
    color: var(--al-primary);
    background: #f6fbfa;
}

.al-tv-received {
    display: grid;
    width: 100%;
    gap: .35rem;
}

.al-tv-received span {
    display: flex;
    justify-content: space-between;
    padding: .45rem .65rem;
    border-radius: .6rem;
    background: var(--al-soft);
}

.al-tv-received small {
    color: var(--al-muted);
}

.al-tv-browser {
    width: 100%;
    max-width: 380px;
    border-radius: 1rem;
    background: #f1f4f8;
    box-shadow: var(--al-shadow-lg);
    overflow: hidden;
}

.al-tv-browser .al-tv-card {
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.al-tv-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .8rem;
}

.al-tv-dots {
    display: flex;
    gap: .3rem;
}

.al-tv-dots i {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #cfd6e0;
}

.al-tv-url {
    flex: 1;
    overflow: hidden;
    padding: .3rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    color: var(--al-muted);
    background: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.al-tv-url i {
    margin-right: .25rem;
    color: #16a34a;
}

.al-tv-url b {
    color: var(--al-navy);
}

@media (max-width: 991.98px) {
    .al-send-hero {
        padding: 8.5rem 0 3.5rem;
    }

    .al-send-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .al-send-hero .al-hero-title,
    .al-send-hero .al-hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .al-send-hero-text .al-kicker {
        display: table;
        margin: 0 auto;
    }

    .al-send-proof {
        justify-content: center;
    }

    .al-send-steps,
    .al-send-options {
        grid-template-columns: 1fr;
    }

    .al-send-frame {
        min-height: 0;
        padding: 1.5rem 0;
    }

    .al-send-cta-visual {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .al-send-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer: sibling product */
.al-footer-sibling {
    margin-top: -.25rem;
    font-size: .85rem;
    color: var(--al-muted);
}

.al-footer-sibling a {
    font-weight: 600;
    color: var(--al-ink);
    text-decoration: underline;
    text-decoration-color: var(--al-line);
    text-underline-offset: 3px;
}

/* Hero figures */
.al-send-figures {
    display: flex;
    gap: 2.5rem;
    margin-bottom: .5rem;
}

.al-send-figures div {
    display: flex;
    flex-direction: column;
}

.al-send-figures strong {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--al-navy);
}

.al-send-figures span {
    color: var(--al-muted);
    font-weight: 500;
}

.al-send-figures-note {
    margin-bottom: 1.75rem;
    font-size: .9rem;
    color: var(--al-muted);
}

/* Steps: same height visuals, aligned titles */
.al-send-step-visual {
    height: 300px;
    min-height: 0;
    overflow: hidden;
}

.al-send-step-visual .al-tv-toast {
    display: none;
}

.al-send-step-num {
    color: var(--al-primary);
}

/* Comparison */
.al-send-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--al-line);
    border-radius: 1.25rem;
    background: #fff;
}

.al-send-compare {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.al-send-compare th,
.al-send-compare td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--al-line);
    text-align: left;
    vertical-align: top;
    color: var(--al-ink);
}

.al-send-compare tbody tr:last-child th,
.al-send-compare tbody tr:last-child td {
    border-bottom: 0;
}

.al-send-compare thead th {
    font-size: .95rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-send-compare thead th .al-brand-lockup,
.al-send-compare thead th svg {
    max-height: 1.6rem;
}

.al-send-compare tbody th {
    width: 22%;
    font-weight: 600;
    color: var(--al-muted);
}

.al-send-compare td small {
    display: block;
    margin-top: .15rem;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-send-compare .is-us {
    background: var(--al-primary-soft);
}

.al-send-compare td.is-us strong {
    font-size: 1.15rem;
    color: var(--al-navy);
}

.al-send-compare-source {
    margin: .65rem 0 0;
    padding-left: .25rem;
    font-size: .75rem;
    text-align: left;
    color: var(--al-muted);
}

.al-features-hero .al-proof-chips {
    justify-content: flex-start;
}

.al-send-compare-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .25rem .5rem;
    width: fit-content;
    max-width: 100%;
    margin: 2.75rem auto 0;
    color: var(--al-ink, #0f172a);
    font-size: 1rem;
    text-align: center;
    text-decoration: none !important;
}

.al-send-compare-more:hover {
    color: var(--al-ink, #0f172a);
}

.al-send-compare-more strong {
    color: var(--al-primary, #3f7f6e);
    font-weight: 700;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color .2s ease;
}

.al-send-compare-more:hover strong {
    text-decoration-color: currentColor;
}

.al-send-compare-more strong i {
    margin-left: .2rem;
    font-size: .75rem;
    transition: transform .2s ease;
}

.al-send-compare-more:hover strong i {
    transform: translateX(2px);
}

@media (max-width: 575.98px) {
    .al-send-figures {
        justify-content: center;
    }

    .al-send-figures-note {
        text-align: center;
    }
}

/* Desktop: the next section shows above the fold, so the page reads as longer than the hero */
@media (min-width: 992px) {
    .al-send-hero {
        display: flex;
        align-items: center;
        min-height: calc(100vh - 8rem);
        padding: 7rem 0 2rem;
    }

    .al-send-hero > .container {
        width: 100%;
    }

    .al-send-hero + .al-section {
        padding-top: 2rem;
    }

    .al-send-hero .al-drop {
        min-height: 360px;
        justify-content: center;
        padding-top: 3.5rem;
        padding-bottom: 3.25rem;
    }
}

/* Mobile: the uploader right under the title, the figures after it */
@media (max-width: 991.98px) {
    .al-send-hero {
        padding: 7.5rem 0 3rem;
    }

    .al-send-hero-grid {
        gap: 0;
        padding-left: 22px;
        padding-right: 22px;
    }

    .al-uploader {
        padding: 1rem;
        box-shadow: 0 0 0 5px rgba(15, 127, 107, .06), var(--al-shadow);
    }

    .al-uploader .al-drop {
        padding: 2rem 1.25rem 1.75rem;
    }

    .al-send-hero-text:not(.d-none) {
        display: contents;
    }

    .al-send-hero-text .al-kicker,
    .al-send-hero .al-hero-subtitle {
        display: none;
    }

    .al-send-hero .al-hero-title {
        order: 1;
        margin: 0 auto 2rem;
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .al-send-hero-uploader {
        order: 2;
    }

    .al-send-figures {
        order: 3;
        justify-content: center;
        margin: 1.75rem 0 .35rem;
    }

    .al-send-figures div {
        align-items: center;
        text-align: center;
    }

    .al-send-figures strong {
        font-size: 1.75rem;
    }

    .al-send-figures-note {
        order: 4;
        margin: 0;
        text-align: center;
    }

    .al-send-figures-guest {
        display: none;
    }

    .al-features-hero .al-proof-chips {
        order: 3;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

.al-uploader-hint-note {
    margin-left: .45rem;
    padding-left: .45rem;
    border-left: 1px solid rgba(15, 127, 107, .25);
    font-weight: 500;
    color: var(--al-muted);
}

/* Mockups of the feature pages: password screen, link ready to share */
.al-tv-input {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid var(--al-line);
    border-radius: 10px;
    letter-spacing: .2em;
    text-align: left;
    color: var(--al-navy);
}

.al-tv-ready {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-tv-ready i {
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    font-size: .65rem;
    color: #fff;
    background: var(--al-primary);
}

.al-tv-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .35rem .35rem .75rem;
    border: 1.5px solid var(--al-primary);
    border-radius: 12px;
    background: rgba(15, 127, 107, .04);
}

.al-tv-link b {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--al-navy);
}

.al-tv-link em {
    flex: none;
    padding: .4rem .7rem;
    border-radius: 9px;
    font-style: normal;
    font-weight: 700;
    color: #fff;
    background: var(--al-primary);
}

.al-tv-share {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
}

.al-tv-share span {
    padding: .45rem .3rem;
    border: 1px solid var(--al-line);
    border-radius: 9px;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: var(--al-navy);
}

/* Uploader settings, once files are added: labelled fields, then options that fold */
.al-up-heading {
    margin: 0 0 .75rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--al-muted);
}

.al-up-heading:not(:first-child) {
    margin-top: 1.5rem;
}

.al-up-label {
    margin-bottom: .35rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--al-navy);
}

.al-up-label small {
    margin-left: .25rem;
    font-weight: 500;
    color: var(--al-muted);
}

.al-up-settings .form-control,
.al-up-settings .custom-select {
    height: auto;
    padding: .6rem .85rem;
    border-radius: 10px;
}

.al-up-url .input-group-text {
    border-radius: 10px 0 0 10px;
    font-size: .875rem;
    color: var(--al-muted);
    background: #f6f8fb;
}

.al-up-url .form-control {
    border-radius: 0 10px 10px 0 !important;
}

.al-up-url.is-locked {
    opacity: .6;
}

.al-up-option {
    border: 1px solid var(--al-line);
    border-radius: 12px;
    background: #fff;
}

.al-up-option ~ .al-up-option {
    margin-top: .5rem;
}

.al-up-option summary {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem .9rem;
    font-weight: 600;
    color: var(--al-navy);
    cursor: pointer;
    list-style: none;
}

.al-up-option summary::-webkit-details-marker {
    display: none;
}

.al-up-option-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    font-size: .85rem;
    color: var(--al-primary);
    background: rgba(15, 127, 107, .08);
}

.al-up-option summary > span {
    flex: 1;
}

.al-up-option summary > small {
    font-size: .82rem;
    font-weight: 500;
    color: var(--al-muted);
}

.al-up-option summary > small.is-set {
    font-weight: 700;
    color: var(--al-primary);
}

.al-up-option summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .7rem;
    color: var(--al-muted);
    transition: transform .2s var(--al-ease);
}

.al-up-option[open] {
    border-color: rgba(15, 127, 107, .35);
}

.al-up-option[open] summary::after {
    transform: rotate(180deg);
}

.al-up-option-body {
    padding: 0 .9rem .95rem;
}

.al-up-more-block + .al-up-more-block,
.al-up-option-body > .form-group + .al-up-more-block {
    margin-top: 1rem;
}

/* Files list next to the settings */
#upload_previews_files > .row:first-child {
    margin: 0 0 .25rem;
    padding: .55rem .25rem .55rem .9rem !important;
    border-radius: 10px;
    background: #f6f8fb !important;
    font-weight: 600 !important;
}

#upload_previews_files > .row:first-child small {
    font-weight: 500;
    color: var(--al-muted);
}

/* Once files are added: list, then the button, then the folded settings */
#upload_previews_wrapper:not(.d-none) {
    display: flex;
    flex-direction: column;
}

#upload_previews_wrapper > .row:first-child {
    display: contents;
}

#upload_previews_wrapper #upload_previews_files {
    order: 1;
    padding: 0;
}

#upload_previews_wrapper > .row.mt-5 {
    order: 3;
    margin: 1rem 0 0 !important;
}

#upload_previews_wrapper > .row.mt-5 > div {
    padding: 0;
}

#upload_previews_wrapper #upload_previews_settings {
    order: 4;
    margin: .85rem 0 0 !important;
    padding: 0;
}

.al-uploader .mt-5:has(> #upload_previews_wrapper:not(.d-none)) {
    margin-top: 1rem !important;
}

#upload_previews_wrapper #upload_previews_basics {
    order: 2;
}

.al-up-basics {
    display: flex;
    flex-direction: column;
    margin-top: .75rem;
    border: 1px solid var(--al-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s var(--al-ease), box-shadow .2s var(--al-ease);
}

.al-up-basics:focus-within {
    border-color: rgba(15, 127, 107, .45);
    box-shadow: 0 0 0 3px rgba(15, 127, 107, .1);
}

.al-up-basics input {
    width: 100%;
    padding: .65rem .9rem;
    border: 0;
    background: transparent;
    color: var(--al-navy);
    outline: 0;
}

.al-up-basics input::placeholder {
    color: var(--al-muted);
    opacity: .8;
}

.al-up-basics-title {
    font-weight: 700;
}

.al-up-basics-message {
    border-top: 1px solid var(--al-line) !important;
    font-size: .88rem;
}

#upload_previews {
    max-height: 168px;
    overflow-y: auto;
}

#upload_previews > .row {
    margin: .4rem 0 !important;
    padding: 0 .25rem 0 .9rem;
    font-size: .9rem;
}

.al-up-customize {
    border: 1px solid var(--al-line);
    border-radius: 12px;
}

.al-up-customize > summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .9rem;
    cursor: pointer;
    list-style: none;
}

.al-up-customize > summary::-webkit-details-marker {
    display: none;
}

.al-up-customize > summary::after {
    content: "\f078";
    flex: none;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .7rem;
    color: var(--al-muted);
    transition: transform .2s var(--al-ease);
}

.al-up-customize[open] > summary::after {
    transform: rotate(180deg);
}

.al-up-customize-title {
    flex: none;
    font-weight: 700;
    color: var(--al-navy);
}

.al-up-customize-title i,
.al-up-customize-title svg {
    margin-right: .35rem;
    color: var(--al-primary);
}

.al-up-customize > summary small {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-up-customize-body {
    padding: .25rem .9rem .9rem;
}

.al-up-customize-body .form-group {
    margin-bottom: .85rem !important;
}

.al-up-customize-body .al-up-option {
    border-radius: 10px;
}

.al-up-customize-body .al-up-option summary {
    padding: .55rem .75rem;
}

.al-up-customize-body .al-up-option-icon {
    width: 1.75rem;
    height: 1.75rem;
}

/* Feature cards: fewer than four stay centred */
.al-features-overview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.al-features-overview-grid > .al-feature-card {
    flex: 0 1 calc((100% - 3.75rem) / 4);
    min-width: 230px;
}
