/* Add Funds chooser and Fund an inmate picker (AddFunds.aspx, FundInmate.aspx).
   Matches the look of Deposit.aspx (.vt-deposit). */

.vt-funds {
    max-width: 900px;
    margin: 0 auto;
    padding: 26px 20px 38px;
    color: #172033;
}

    .vt-funds, .vt-funds * {
        box-sizing: border-box;
    }

.vt-funds-header {
    margin-bottom: 22px;
    padding: 30px 34px;
    color: #e8eef8;
    background: radial-gradient(circle at 92% 10%, rgba(90,171,255,.28), transparent 34%), linear-gradient(135deg, #010c1f, #06417f);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(3,57,126,.18);
}

.vt-funds-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #7ec8ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

.vt-funds .vt-funds-header h1 {
    margin: 0 0 9px;
    padding: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.15;
}

.vt-funds-header p {
    max-width: 630px;
    margin: 0;
    color: #b9cce3;
    font-size: 15px;
    line-height: 1.55;
}

.vt-funds-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.vt-funds-choice {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 26px;
    color: #172033;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 11px;
    box-shadow: 0 7px 22px rgba(17,24,39,.06);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}

    .vt-funds-choice:hover,
    .vt-funds-choice:focus {
        border-color: #1683d8;
        box-shadow: 0 10px 26px rgba(3,57,126,.14);
        transform: translateY(-1px);
        outline: 0;
    }

.vt-funds-choice-title {
    color: #0b3262;
    font-size: 19px;
    font-weight: 700;
}

.vt-funds-choice-text {
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.vt-funds-choice-note {
    margin-top: auto;
    padding-top: 6px;
    color: #0871c9;
    font-size: 13px;
    font-weight: 700;
}

.vt-funds-card {
    margin-bottom: 18px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 11px;
    box-shadow: 0 7px 22px rgba(17,24,39,.06);
}

.vt-funds .vt-funds-card h2 {
    margin: 0 0 16px;
    padding: 0 0 12px;
    color: #0b3262;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 18px;
    line-height: 1.3;
}

.vt-funds-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

    .vt-funds-field label {
        width: 140px;
        color: #334155;
        font-size: 13px;
        font-weight: 700;
    }

.vt-funds input[type="text"],
.vt-funds select {
    width: 100%;
    max-width: 340px;
    min-height: 40px;
    padding: 9px 11px;
    color: #172033;
    background: #fff;
    border: 1px solid #cbd7e6;
    border-radius: 7px;
    font: 14px/1.3 Arial, Helvetica, sans-serif;
}

    .vt-funds input[type="text"]:focus,
    .vt-funds select:focus {
        border-color: #1683d8;
        box-shadow: 0 0 0 3px rgba(22,131,216,.14);
        outline: 0;
    }

.vt-funds .input_button {
    min-width: 120px;
    min-height: 40px;
    padding: 10px 18px;
    color: #fff;
    background: #0871c9;
    border: 1px solid #2f8bd4;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .vt-funds .input_button:hover,
    .vt-funds .input_button:focus {
        background: #0b7cda;
    }

.vt-funds-hint {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.vt-funds-message {
    display: block;
    margin: 0 0 14px;
    padding: 12px 14px;
    color: #7a4b00;
    background: #fff8e6;
    border: 1px solid #f2d38a;
    border-radius: 8px;
    line-height: 1.5;
}

.vt-funds-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .vt-funds-list li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 0;
        border-bottom: 1px solid #eef2f7;
    }

        .vt-funds-list li:last-child {
            border-bottom: 0;
        }

.vt-funds-inmate-name {
    font-weight: 700;
}

.vt-funds-inmate-site {
    display: block;
    color: #64748b;
    font-size: 13px;
}

.vt-funds-list a.vt-funds-select {
    padding: 8px 14px;
    color: #fff;
    background: #0871c9;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    .vt-funds-list a.vt-funds-select:hover,
    .vt-funds-list a.vt-funds-select:focus {
        background: #0b7cda;
    }

@media (max-width: 760px) {
    .vt-funds {
        padding: 18px 12px 30px;
    }

    .vt-funds-header {
        padding: 25px 22px;
    }

    .vt-funds .vt-funds-header h1 {
        font-size: 26px;
    }

    .vt-funds-choices {
        grid-template-columns: 1fr;
    }

    .vt-funds-card {
        padding: 20px 16px;
    }

    .vt-funds-field label {
        width: 100%;
    }
}
