/* The pages for deposits paid in crypto: dashboard/deposit/ltc, usdt, pay-with-crypto and crypto (the status
   page). The header and text styles are the other deposit pages' own; the network cards are the USDT withdrawal
   page's. */

@font-face { font-family: 'JetBrains Mono'; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-500-600.woff2) format('woff2'); }

body{
    background-color: #11141A;
}

/* WELCOME TEXT */
/* Mobile */
@media (max-width: 750px) {
    .welcomeh1{
        color: #E4E8EF;
        margin-bottom: 0px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
        text-align: center;
        padding-left: 16px;
        padding-right: 16px;
    }
    .welcomeh3{
        color: #A5ACB9;
        font-family: poppins;
        margin-top: 12.5px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
        text-align: center;
        font-size: 15px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .description-p{
        color: #A5ACB9;
    }
    .description-h2{
        color: #E4E8EF;
    }
    .deposit-page{
        padding-left: 16px;
        padding-right: 16px;
    }
}
/* Computer */
@media (min-width: 751px) {
    .welcomeh1{
        color: #E4E8EF;
        padding-left: 15px;
        margin-bottom: 0px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
    }
    .welcomeh3{
        color: #A5ACB9;
        padding-left: 15px;
        font-family: poppins;
        margin-top: 12.5px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
    }
    .description-p{
        color: #A5ACB9;
    }
    .description-h2{
        color: #E4E8EF;
    }
    .deposit-page{
        padding-left: 15px;
        padding-right: 15px;
    }
}

.deposit-page{
    max-width: 760px;
}

.deposit-page .description-p{
    max-width: 640px;
    line-height: 1.5;
}

/* SERVICE ANNOUNCEMENT */
.service-announcement_container{
    padding: 25px;
    background-color: #0B0E12;
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
}
#service-announcement{
    margin-left: 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: "titles", sans-serif;
    color: white;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

/* main.css colours links in text a dark blue that is hard to read on these dark pages. */
.deposit-page a{
    color: #8fb8ff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible{
    outline: 2px solid #8fb8ff;
    outline-offset: 2px;
}

.button{
    border: 1px solid rgb(21, 87, 145);
    color: white;
    text-decoration: none;
    background-color: rgb(21, 87, 145);
    padding: 15px 30px;
    font-family: inherit;
    font-size: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    width: fit-content;
    justify-content: center;
    align-items: center;
    gap: 10px;
    user-select: none;
    cursor: pointer;
}

.button:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.button[hidden]{
    display: none;
}

/* NOTES */
.info-note,
.network-warning,
.unavailable-box{
    border-radius: 10px;
    padding: 10px 15px;
    font-family: "poppins", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    max-width: 640px;
    width: auto;
}

.info-note{
    color: #d6e4f5;
    background-color: #12283d;
    border: 1px solid #1f4a72;
}

.network-warning{
    color: #ecdcb0;
    background-color: #332b1a;
    border: 1px solid #5a4a28;
}

.unavailable-box{
    color: #E4E8EF;
    background-color: #1f232c;
    border: 1px solid #323742;
}

.unavailable-box[hidden],
.deposit-form[hidden]{
    display: none;
}

/* NETWORK / CRYPTO PICKER (as on the USDT withdrawal page) */
.network-list{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.network-option{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 220px;
    padding: 12px 18px;
    background-color: #1f232c;
    border: 1px solid #323742;
    border-radius: 10px;
    color: #E4E8EF;
    font-family: "poppins", sans-serif;
    text-align: left;
    cursor: pointer;
}

.network-option.selected{
    background-color: #12283d;
    border-color: rgb(21, 87, 145);
    box-shadow: 0 0 0 1px rgb(21, 87, 145);
}

.network-option:disabled{
    opacity: 0.45;
    cursor: not-allowed;
}

.network-name{
    font-size: 17px;
    font-weight: 600;
}

.network-detail{
    font-size: 13px;
    color: #A5ACB9;
}

.network-detail:empty{
    display: none;
}

@media (max-width: 750px) {
    .network-option{
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* AMOUNT FIELD */
.field{
    margin: 8px 0 18px 0;
}

.field-label{
    display: block;
    color: #E4E8EF;
    font-family: "poppins", sans-serif;
    margin-bottom: 8px;
}

.amount-box{
    display: flex;
    align-items: center;
    max-width: 360px;
    border: 1px solid #c2c8d1;
    border-radius: 35px;
    background-color: #11141A;
}

.amount-box:focus-within{
    border-color: #8fb8ff;
    box-shadow: 0 0 0 2px rgba(143, 184, 255, 0.35);
}

.amount-box:has(input[aria-invalid="true"]){
    border-color: #ff8a80;
}

.amount-box input{
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #E4E8EF;
    padding: 12px 20px;
    font-family: "poppins", sans-serif;
    font-size: 18px;
}

.amount-unit{
    padding-right: 20px;
    color: #A5ACB9;
    font-family: "poppins", sans-serif;
}

.field-hint,
.field-error,
.form-error{
    font-family: "poppins", sans-serif;
    font-size: 13px;
    margin: 8px 0 0 0;
    max-width: 640px;
}

.field-hint{
    color: #A5ACB9;
}

.field-error,
.form-error{
    color: #ff8a80;
}

.field-error:empty,
.form-error:empty,
.field-hint:empty{
    display: none;
}

.form-error{
    font-size: 14px;
    color: #f3dede;
    background-color: #3a1f1f;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 0 0 16px 0;
}

/* FIGURES */
.summary{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    max-width: 520px;
    margin: 18px 0;
    padding: 14px 18px;
    background-color: #1f232c;
    border: 1px solid #323742;
    border-radius: 10px;
    font-family: "poppins", sans-serif;
}

.summary div{
    display: contents;
}

.summary dt{
    color: #A5ACB9;
}

.summary dd{
    margin: 0;
    color: #E4E8EF;
    overflow-wrap: anywhere;
}

.summary .total dt,
.summary .total dd{
    color: #FFFFFF;
    font-weight: 600;
    font-size: 18px;
}

.summary-detail{
    color: #A5ACB9;
    font-size: 13px;
}

.more-link{
    margin-top: 28px;
}

/* STATUS PAGE */
.status-pill{
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: "poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: #d6e4f5;
    background-color: #12283d;
    border: 1px solid #1f4a72;
}

.status-pill.tone-done{
    color: #d7eedf;
    background-color: #1f3a2e;
    border-color: #2f6b4f;
}

.status-pill.tone-attention{
    color: #ecdcb0;
    background-color: #332b1a;
    border-color: #5a4a28;
}

.status-pill.tone-closed{
    color: #c2c8d1;
    background-color: #1f232c;
    border-color: #323742;
}

.deposit-card{
    max-width: 640px;
    padding: 18px 20px;
    background-color: #1a1e26;
    border: 1px solid #323742;
    border-radius: 14px;
    margin-bottom: 24px;
}

.deposit-card[hidden]{
    display: none;
}

.deposit-card-head{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.deposit-card-head h2{
    margin: 0;
    color: #E4E8EF;
    font-size: 22px;
}

.steps{
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    margin: 22px 0 6px 0;
    width: auto;
    max-width: none;
}

.step{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: none;
    padding: 0 4px;
    text-align: center;
    color: #A5ACB9;
    font-size: 14px;
}

/* The line from each step to the next. */
.step:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 2px;
    background-color: #323742;
}

.step.done:not(:last-child)::after{
    background-color: #2f6b4f;
}

.step-dot{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #A5ACB9;
    background-color: #11141A;
    border: 2px solid #323742;
}

.step.done .step-dot{
    color: #FFFFFF;
    background-color: #2f8a5f;
    border-color: #2f8a5f;
}

.step.current .step-dot{
    color: #FFFFFF;
    background-color: rgb(21, 87, 145);
    border-color: #8fb8ff;
    box-shadow: 0 0 0 4px rgba(143, 184, 255, 0.2);
}

.step.current,
.step.done{
    color: #E4E8EF;
}

.step.attention .step-dot{
    color: #11141A;
    background-color: #ecdcb0;
    border-color: #ecdcb0;
}

.step.failed .step-dot{
    color: #FFFFFF;
    background-color: #5a2a2a;
    border-color: #7a3a3a;
}

.step.attention,
.step.failed{
    color: #E4E8EF;
}

.status-note{
    margin: 16px 0 0 0;
}

.status-note:empty{
    display: none;
}

.deposit-details{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    margin: 18px 0;
    font-family: "poppins", sans-serif;
    font-size: 15px;
}

.deposit-details div{
    display: contents;
}

.deposit-details div[hidden]{
    display: none;
}

.deposit-details dt{
    color: #A5ACB9;
}

.deposit-details dd{
    margin: 0;
    color: #E4E8EF;
    overflow-wrap: anywhere;
}

.mono{
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
}

.poll-note{
    font-size: 13px;
    margin-bottom: 0;
}

.deposit-list{
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    max-width: 640px;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deposit-list > li{
    width: auto;
    max-width: none;
}

.deposit-list .empty{
    color: #A5ACB9;
}

.deposit-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background-color: #1f232c;
    border: 1px solid #323742;
    border-radius: 10px;
    color: #E4E8EF;
    text-decoration: none;
    font-family: "poppins", sans-serif;
}

.deposit-row:hover{
    border-color: rgb(21, 87, 145);
}

.deposit-row[aria-current="page"]{
    background-color: #12283d;
    border-color: rgb(21, 87, 145);
}

.deposit-row-main{
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.deposit-row-amount{
    font-weight: 600;
    overflow-wrap: anywhere;
}

.deposit-page a.deposit-row{
    color: #E4E8EF;
}

.deposit-row-meta{
    color: #A5ACB9;
    font-size: 13px;
}

.visually-hidden{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 750px) {
    .button{
        font-size: 22px;
        padding: 13px 26px;
    }
    .deposit-card{
        padding: 16px;
    }
    .step{
        font-size: 13px;
    }
    .deposit-details{
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .deposit-details dd{
        margin-bottom: 8px;
    }
}

/* The status in the deposit's header can be a whole sentence ("Under review by our payment processor"). */
.deposit-card-head .status-pill{
    white-space: normal;
}

#window-note{
    margin: 0 0 14px 0;
}
