/* ============================================================
   NEPAL DISASTER RELIEF FUND
   DONATION SESSION
   File: assets/css/session.css
   ============================================================ */

.session-page {
    background: var(--color-light, #f6f4ef);
    color: var(--color-text, #202020);
}

.session-wrapper {
    min-height: 100vh;
}


/* ============================================================
   HEADER
   ============================================================ */

.session-header {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
    padding: 26px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.session-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    background: #b51f2b;
    color: #fff;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-text {
    max-width: 260px;

    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #555;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.back-link:hover {
    color: #b51f2b;
}

.back-link:focus-visible {
    outline: 2px solid #b51f2b;
    outline-offset: 4px;
    border-radius: 4px;
}


/* ============================================================
   MAIN
   ============================================================ */

.session-main {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;

    padding: 70px 0 90px;
}

.session-intro {
    max-width: 760px;
    margin-bottom: 52px;
}

.session-step-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    color: #8a1b24;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.step-number {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #b51f2b;
    color: #fff;

    font-size: 10px;
}

.session-intro h1 {
    margin: 0 0 18px;

    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.session-intro p {
    max-width: 650px;

    margin: 0;

    color: #666;

    font-size: 17px;
    line-height: 1.7;
}


/* ============================================================
   DONATION LAYOUT
   ============================================================ */

.donation-layout {
    display: grid;
    grid-template-columns:
        minmax(300px, 0.8fr)
        minmax(500px, 1.2fr);

    gap: 34px;

    align-items: start;
}


/* ============================================================
   SUMMARY
   ============================================================ */

.donation-summary {
    position: sticky;
    top: 24px;

    min-width: 0;
}

.summary-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.summary-image {
    min-height: 300px;

    position: relative;

    display: flex;
    align-items: flex-end;

    background:
        linear-gradient(
            135deg,
            #352d29,
            #7c5144
        );
}

.summary-image::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.16),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.45)
        );
}

.summary-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75),
            transparent 65%
        );
}

.summary-image-content {
    position: relative;
    z-index: 2;

    padding: 30px;

    color: #fff;
}

.summary-eyebrow {
    display: block;

    margin-bottom: 12px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.78;
}

.summary-image-content h2 {
    margin: 0 0 7px;

    max-width: 400px;

    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.summary-subtitle {
    font-size: 12px;
    font-weight: 700;

    color: rgba(255, 255, 255, 0.75);
}

.summary-body {
    padding: 30px;
}

.summary-cause-label {
    margin-bottom: 7px;

    color: #9a9a9a;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.summary-body h3 {
    margin: 0 0 10px;

    font-size: 22px;
    line-height: 1.2;
}

.summary-body > p {
    margin: 0 0 28px;

    color: #6c6c6c;

    font-size: 14px;
    line-height: 1.7;
}


/* ============================================================
   PROGRESS
   ============================================================ */

.summary-progress {
    margin-bottom: 30px;
}

.progress-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 600;
}

.progress-heading strong {
    color: #b51f2b;
}

.progress-track {
    height: 7px;

    overflow: hidden;

    background: #ece9e3;

    border-radius: 100px;
}

.progress-fill {
    height: 100%;

    background: #b51f2b;

    border-radius: inherit;

    transition: width 0.4s ease;
}

.progress-values {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    margin-top: 10px;

    color: #8a8a8a;

    font-size: 10px;
    line-height: 1.4;
}

.progress-values strong {
    color: #333;
}


/* ============================================================
   CAUSE SELECTOR
   ============================================================ */

.cause-selector {
    position: relative;

    margin-bottom: 28px;
}

.cause-selector label {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cause-selector select {
    width: 100%;
}


/* ============================================================
   TRUST
   ============================================================ */

.summary-trust {
    display: flex;
    gap: 12px;

    padding-top: 22px;

    border-top: 1px solid #eee;
}

.trust-icon {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: grid;
    place-items: center;

    background: #edf5ef;
    color: #2e7141;

    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;
}

.summary-trust strong {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;
}

.summary-trust p {
    margin: 0;

    color: #858585;

    font-size: 11px;
    line-height: 1.55;
}


/* ============================================================
   FORM
   ============================================================ */

.donation-form-column {
    min-width: 0;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    padding: 34px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;

    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.045);
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin-bottom: 30px;
}

.form-section-number {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    background: #f7e9ea;
    color: #a31c27;

    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;
}

.form-section-heading h2 {
    margin: 0 0 6px;

    font-size: 21px;
    line-height: 1.2;
}

.form-section-heading p {
    margin: 0;

    color: #858585;

    font-size: 13px;
    line-height: 1.5;
}


/* ============================================================
   FIELDS
   ============================================================ */

.field-group {
    margin-bottom: 22px;

    min-width: 0;
}

.field-group:last-child {
    margin-bottom: 0;
}

.field-group label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-size: 12px;
    font-weight: 700;
}

.field-group label span {
    color: #b51f2b;
}

.field-group small {
    display: block;

    margin-top: 7px;

    color: #8b8b8b;

    font-size: 10px;
    line-height: 1.5;
}

.field-group input,
.field-group select,
.field-group textarea,
.cause-selector select {
    width: 100%;

    padding: 14px 15px;

    background: #fbfaf8;

    border: 1px solid #dedbd5;
    border-radius: 10px;

    color: #252525;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.field-group input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.field-group input[type="number"]::-webkit-inner-spin-button,
.field-group input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.field-group textarea {
    resize: vertical;
    min-height: 110px;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus,
.cause-selector select:focus {
    background: #fff;

    border-color: #b51f2b;

    box-shadow:
        0 0 0 3px rgba(181, 31, 43, 0.08);
}

.field-group input:focus-visible,
.field-group select:focus-visible,
.field-group textarea:focus-visible,
.cause-selector select:focus-visible {
    outline: none;
}

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea,
.field-group.has-error .file-upload,
.field-group.has-error .amount-input-wrapper {
    border-color: #b51f2b;
}

.field-group.has-error small {
    color: #a31c27;
}


/* ============================================================
   SELECT DROPDOWN ARROWS
   ============================================================ */

/*
   Currency:
   #currency is inside .select-wrapper

   Country:
   #country is directly inside .field-group

   Cause:
   #causeSelect is inside .cause-selector
*/


/* ------------------------------------------------------------
   WRAPPERS
   ------------------------------------------------------------ */

.select-wrapper,
.cause-selector {
    position: relative;
}


/* ------------------------------------------------------------
   SELECT RIGHT PADDING
   ------------------------------------------------------------ */

#currency,
#country,
#causeSelect {
    padding-right: 48px;
}


/* ------------------------------------------------------------
   CURRENCY ARROW
   ------------------------------------------------------------ */

.select-wrapper::after {
    content: "";

    position: absolute;

    right: 17px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 2px solid #777;
    border-bottom: 2px solid #777;

    transform: translateY(-65%) rotate(45deg);

    pointer-events: none;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


/* ------------------------------------------------------------
   CAUSE ARROW
   ------------------------------------------------------------ */

.cause-selector::after {
    content: "";

    position: absolute;

    right: 17px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 2px solid #777;
    border-bottom: 2px solid #777;

    transform: translateY(-65%) rotate(45deg);

    pointer-events: none;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


/* ------------------------------------------------------------
   COUNTRY ARROW
   ------------------------------------------------------------ */

/*
   Country has no .select-wrapper.
   We use the .field-group containing #country.

   IMPORTANT:
   This requires one small class on the Country wrapper
   in session.php:

   <div class="field-group country-selector">
*/

.country-selector {
    position: relative;
}

.country-selector::after {
    content: "";

    position: absolute;

    right: 17px;
    top: 50%;

    width: 8px;
    height: 8px;

    border-right: 2px solid #777;
    border-bottom: 2px solid #777;

    transform: translateY(-65%) rotate(45deg);

    pointer-events: none;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


/* ------------------------------------------------------------
   FOCUS — CURRENCY
   ------------------------------------------------------------ */

.select-wrapper:focus-within::after {
    border-color: #b51f2b;

    transform: translateY(-35%) rotate(225deg);
}


/* ------------------------------------------------------------
   FOCUS — COUNTRY
   ------------------------------------------------------------ */

.country-selector:focus-within::after {
    border-color: #b51f2b;

    transform: translateY(-35%) rotate(225deg);
}


/* ------------------------------------------------------------
   FOCUS — CAUSE
   ------------------------------------------------------------ */

.cause-selector:focus-within::after {
    border-color: #b51f2b;

    transform: translateY(-35%) rotate(225deg);
}


/* ------------------------------------------------------------
   DISABLED SELECTS
   ------------------------------------------------------------ */

#currency:disabled,
#country:disabled,
#causeSelect:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}
/* ============================================================
   FORM GRID
   ============================================================ */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 0 16px;
}

.full-width {
    grid-column: 1 / -1;
}


/* ============================================================
   AMOUNTS
   ============================================================ */

.amount-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}

.amount-option {
    min-height: 54px;

    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 3px;

    background: #fff;

    border: 1px solid #ddd9d2;
    border-radius: 10px;

    color: #333;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.amount-option:hover {
    transform: translateY(-1px);

    border-color: #b51f2b;
}

.amount-option:focus-visible {
    outline: 2px solid #b51f2b;
    outline-offset: 2px;
}

.amount-option.active {
    background: #b51f2b;

    border-color: #b51f2b;

    color: #fff;

    box-shadow:
        0 5px 15px rgba(181, 31, 43, 0.12);
}

.amount-symbol {
    opacity: 0.75;
}

.custom-option {
    font-weight: 700;
}

.custom-amount-group {
    margin-top: 20px;
}

.amount-input-wrapper {
    display: flex;
    align-items: center;

    min-width: 0;

    background: #fbfaf8;

    border: 1px solid #dedbd5;
    border-radius: 10px;

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.amount-input-wrapper span {
    padding-left: 15px;

    flex: 0 0 auto;

    color: #777;

    font-weight: 700;
}

.amount-input-wrapper input {
    min-width: 0;

    border: 0;

    box-shadow: none;

    background: transparent;
}

.amount-input-wrapper:focus-within {
    border-color: #b51f2b;

    box-shadow:
        0 0 0 3px rgba(181, 31, 43, 0.08);
}

.amount-input-wrapper input:focus {
    box-shadow: none;
}


/* ============================================================
   SELECTED AMOUNT
   ============================================================ */

.selected-amount-card {
    margin-top: 25px;
    padding: 20px;

    background: #f8f4ed;

    border: 1px solid #eee5d8;
    border-radius: 13px;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.selected-amount-card > span {
    color: #8a8177;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.selected-amount-card strong {
    color: #222;

    font-size: 31px;
    line-height: 1.1;
    letter-spacing: -0.025em;

    overflow-wrap: anywhere;
}

.selected-amount-card small {
    color: #8a8177;

    font-size: 11px;
}


/* ============================================================
   PAYMENT METHODS
   ============================================================ */

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 22px;
}

.payment-method {
    display: block;

    cursor: pointer;
}

.payment-method input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.payment-method-card {
    min-height: 90px;

    padding: 17px;

    display: flex;
    align-items: center;

    gap: 13px;

    border: 1px solid #ddd9d2;
    border-radius: 13px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.payment-method:hover .payment-method-card {
    border-color: #c8c2b8;
}

.payment-method input:focus-visible +
.payment-method-card {
    outline: 2px solid #b51f2b;
    outline-offset: 2px;
}

.payment-method input:checked +
.payment-method-card {
    border-color: #b51f2b;

    background: #fff8f8;

    box-shadow:
        0 0 0 2px rgba(181, 31, 43, 0.07);
}

.payment-method-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: grid;
    place-items: center;

    background: #f0f0f0;

    border-radius: 11px;

    color: #333;

    font-size: 11px;
    font-weight: 900;
}

.btc-icon {
    font-size: 22px;
}

.payment-method-info {
    min-width: 0;
    flex: 1;
}

.payment-method-info strong {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;
}

.payment-method-info small {
    display: block;

    color: #888;

    font-size: 10px;
    line-height: 1.4;
}

.payment-radio {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    border: 1px solid #c8c4bd;
    border-radius: 50%;

    position: relative;
}

.payment-method input:checked +
.payment-method-card
.payment-radio {
    border-color: #b51f2b;
}

.payment-method input:checked +
.payment-method-card
.payment-radio::after {
    content: "";

    position: absolute;
    inset: 4px;

    background: #b51f2b;

    border-radius: 50%;
}


/* ============================================================
   PAYMENT PANEL
   ============================================================ */

.payment-panel {
    padding: 24px;

    background: #faf9f6;

    border: 1px solid #ebe7df;
    border-radius: 15px;
}

.payment-panel-header {
    margin-bottom: 20px;
}

.panel-label {
    display: block;

    margin-bottom: 6px;

    color: #9a1e28;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.payment-panel-header h3 {
    margin: 0;

    font-size: 17px;
}


/* ============================================================
   UPI
   ============================================================ */

.upi-amount-box {
    padding: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    background: #fff;

    border: 1px solid #e6e1d8;
    border-radius: 11px;

    margin-bottom: 15px;
}

.upi-amount-box span {
    color: #777;

    font-size: 11px;
}

.upi-amount-box strong {
    color: #222;

    font-size: 23px;

    overflow-wrap: anywhere;
}


.payment-detail-row,
.btc-address-box {
    padding: 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    background: #fff;

    border: 1px solid #e6e1d8;
    border-radius: 11px;

    min-width: 0;
}

.detail-label {
    display: block;

    margin-bottom: 6px;

    color: #929292;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.payment-address {
    display: block;

    max-width: 100%;

    word-break: break-word;
    overflow-wrap: anywhere;

    color: #333;

    font-size: 12px;
    line-height: 1.4;
}

.copy-button {
    flex: 0 0 auto;

    padding: 9px 13px;

    background: #f3f1ec;

    border: 1px solid #ddd8ce;
    border-radius: 8px;

    color: #333;

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.copy-button:hover {
    background: #eae6de;
}

.copy-button:focus-visible {
    outline: 2px solid #b51f2b;
    outline-offset: 2px;
}

.copy-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.payment-qr-area {
    margin-top: 15px;
    padding: 17px;

    display: flex;
    align-items: center;

    gap: 20px;

    background: #fff;

    border: 1px solid #e6e1d8;
    border-radius: 11px;
}

.qr-container {
    width: 130px;
    height: 130px;

    flex: 0 0 130px;

    padding: 8px;

    background: #fff;

    border: 1px solid #eee;

    border-radius: 9px;
}

.qr-container img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}

.qr-information {
    min-width: 0;
}

.qr-information strong {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
}

.qr-information p {
    margin: 0 0 15px;

    color: #7d7d7d;

    font-size: 11px;
    line-height: 1.55;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.secondary-button {
    padding: 9px 13px;

    background: #fff;

    border: 1px solid #d9d4ca;
    border-radius: 8px;

    color: #333;

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.secondary-button:hover {
    background: #f5f2ec;
}

.secondary-button:focus-visible {
    outline: 2px solid #b51f2b;
    outline-offset: 2px;
}


/* ============================================================
   NOTES
   ============================================================ */

.payment-note {
    margin-top: 15px;
    padding: 13px 15px;

    display: flex;

    gap: 10px;
    align-items: flex-start;

    background: #f2f6f2;

    border-radius: 9px;
}

.payment-note > span {
    width: 19px;
    height: 19px;

    flex: 0 0 19px;

    display: grid;
    place-items: center;

    background: #5d8766;
    color: #fff;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 900;
}

.payment-note p {
    margin: 0;

    color: #657065;

    font-size: 10px;
    line-height: 1.55;
}

.warning-note {
    background: #fbf5e9;
}

.warning-note > span {
    background: #b38330;
}


/* ============================================================
   BITCOIN
   ============================================================ */

.btc-price-card {
    margin-bottom: 14px;
    padding: 18px;

    background: #fff;

    border: 1px solid #e6e1d8;
    border-radius: 11px;
}

.btc-price-card span {
    display: block;

    margin-bottom: 5px;

    color: #888;

    font-size: 10px;
}

.btc-price-card strong {
    display: block;

    margin-bottom: 4px;

    font-size: 23px;

    overflow-wrap: anywhere;
}

.btc-price-card small {
    color: #999;

    font-size: 9px;
}

.btc-calculation {
    padding: 18px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 15px;

    margin-bottom: 14px;

    background: #fff;

    border: 1px solid #e6e1d8;
    border-radius: 11px;
}

.btc-calculation > div {
    min-width: 0;
}

.btc-calculation span {
    display: block;

    margin-bottom: 5px;

    color: #888;

    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btc-calculation strong {
    display: block;

    word-break: break-word;
    overflow-wrap: anywhere;

    font-size: 17px;
}

.calculation-arrow {
    color: #b51f2b !important;

    font-size: 18px !important;
}


/* ============================================================
   FILE UPLOAD
   ============================================================ */

.file-upload {
    position: relative;

    min-height: 150px;

    border: 1px dashed #cfcac1;
    border-radius: 12px;

    background: #fbfaf8;

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.file-upload:hover {
    border-color: #b9b3aa;
}

.file-upload:focus-within {
    border-color: #b51f2b;

    box-shadow:
        0 0 0 3px rgba(181, 31, 43, 0.08);
}

.file-upload input[type="file"] {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;

    z-index: 2;
}

.file-upload-content {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    padding: 20px;

    text-align: center;

    pointer-events: none;
}

.upload-icon {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    margin-bottom: 9px;

    background: #f0ede7;

    border-radius: 50%;

    color: #666;

    font-size: 17px;
}

.file-upload-content strong {
    margin-bottom: 4px;

    font-size: 12px;
}

.file-upload-content span:not(.upload-icon) {
    color: #858585;

    font-size: 10px;
}

.file-upload-content small {
    margin-top: 5px;

    color: #aaa;

    font-size: 9px;
}

.file-selected {
    margin-top: 8px;
    padding: 10px 12px;

    background: #f1f6f1;

    border-radius: 8px;

    color: #4d684f;

    font-size: 10px;

    overflow-wrap: anywhere;
}

.field-group.has-error .file-selected {
    background: #fff0f1;
    color: #a31c27;
}


/* ============================================================
   CHECKBOXES
   ============================================================ */

.checkbox-row {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 17px;

    cursor: pointer;

    color: #666;

    font-size: 11px;
    line-height: 1.55;
}

.checkbox-row input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.checkbox-box {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    margin-top: 1px;

    display: grid;
    place-items: center;

    background: #fff;

    border: 1px solid #cfcac1;
    border-radius: 5px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.checkbox-row input:focus-visible +
.checkbox-box {
    outline: 2px solid #b51f2b;
    outline-offset: 2px;
}

.checkbox-row input:checked +
.checkbox-box {
    background: #b51f2b;

    border-color: #b51f2b;
}

.checkbox-row input:checked +
.checkbox-box::after {
    content: "✓";

    color: #fff;

    font-size: 11px;
    font-weight: 900;
}

.field-group.has-error .checkbox-box {
    border-color: #b51f2b;
}


/* ============================================================
   SUBMIT
   ============================================================ */

.submit-section {
    padding: 26px;

    background: #292624;

    border-radius: 18px;

    color: #fff;
}

.submit-security {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 18px;
}

.submit-security > span {
    width: 21px;
    height: 21px;

    flex: 0 0 21px;

    display: grid;
    place-items: center;

    background: #fff;

    color: #292624;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 900;
}

.submit-security p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 10px;
    line-height: 1.55;
}

.submit-security strong {
    color: #fff;
}

.primary-submit {
    width: 100%;

    min-height: 58px;

    padding: 15px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    background: #b51f2b;

    border: 0;
    border-radius: 10px;

    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.primary-submit:hover {
    background: #951923;

    transform: translateY(-1px);
}

.primary-submit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;

    box-shadow:
        0 0 0 5px rgba(181, 31, 43, 0.45);
}

.primary-submit:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}

.submit-disclaimer {
    margin: 13px 0 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 9px;
    line-height: 1.5;

    text-align: center;
}


/* ============================================================
   FOOTER
   ============================================================ */

.session-footer {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;

    padding: 25px 0 35px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    color: #888;

    font-size: 10px;
}

.session-footer p {
    margin: 0;
}

.session-footer a {
    color: inherit;
    text-decoration: none;
}

.session-footer a:hover {
    color: #b51f2b;
}

.session-footer a:focus-visible {
    outline: 2px solid #b51f2b;
    outline-offset: 3px;
    border-radius: 3px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1050px) {

    .donation-layout {
        grid-template-columns: 1fr;
    }

    .donation-summary {
        position: static;
    }

    .summary-card {
        display: grid;

        grid-template-columns:
            0.8fr
            1.2fr;
    }

    .summary-image {
        min-height: 100%;
    }

}


@media (max-width: 760px) {

    .session-header,
    .session-main,
    .session-footer {
        width: min(
            100% - 28px,
            1380px
        );
    }

    .session-main {
        padding: 45px 0 60px;
    }

    .session-header {
        padding: 18px 0;
    }

    .brand-text {
        max-width: 170px;

        font-size: 12px;
    }

    .back-link {
        font-size: 11px;
    }

    .session-intro {
        margin-bottom: 35px;
    }

    .session-intro h1 {
        font-size: 43px;
    }

    .session-intro p {
        font-size: 14px;
    }

    .summary-card {
        display: block;
    }

    .summary-image {
        min-height: 270px;
    }

    .form-section {
        padding: 24px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .amount-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .payment-qr-area {
        align-items: flex-start;
    }

    .qr-container {
        width: 105px;
        height: 105px;

        flex-basis: 105px;
    }

    .btc-calculation {
        grid-template-columns: 1fr;
    }

    .calculation-arrow {
        display: none !important;
    }

    .session-footer {
        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .session-header {
        align-items: flex-start;
    }

    .brand-mark {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .brand-text {
        max-width: 145px;
    }

    .back-link {
        padding-top: 8px;
    }

    .summary-body {
        padding: 23px;
    }

    .summary-image-content {
        padding: 23px;
    }

    .summary-image-content h2 {
        font-size: 26px;
    }

    .progress-values {
        flex-direction: column;

        gap: 4px;
    }

    .form-section-heading {
        gap: 11px;
    }

    .form-section-heading h2 {
        font-size: 18px;
    }

    .form-section-heading p {
        font-size: 11px;
    }

    .payment-panel {
        padding: 17px;
    }

    .payment-qr-area {
        flex-direction: column;
    }

    .qr-container {
        width: 140px;
        height: 140px;

        flex-basis: 140px;
    }

    .payment-detail-row,
    .btc-address-box {
        align-items: flex-start;

        flex-direction: column;
    }

    .copy-button {
        width: 100%;
    }

    .upi-amount-box {
        align-items: flex-start;

        flex-direction: column;

        gap: 6px;
    }

    .submit-section {
        padding: 21px 17px;
    }

    .primary-submit {
        min-height: 54px;

        padding: 14px 16px;

        font-size: 13px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .amount-option,
    .payment-method-card,
    .primary-submit,
    .progress-fill,
    .back-link,
    .copy-button,
    .secondary-button,
    .checkbox-box,
    .file-upload,
    .select-wrapper::after,
    .cause-selector::after {
        transition: none;
    }

    .amount-option:hover,
    .primary-submit:hover {
        transform: none;
    }

}