
.mtp-shell {
    --mtp-gold: #eba916;
    --mtp-gold-dark: #d99200;
    --mtp-text: #242424;
    --mtp-muted: #77716a;
    --mtp-border: #eadfc9;
    --mtp-soft: #fffdf8;
    max-width: 980px;
    margin: 24px auto;
    padding: 0 14px;
    font-family: inherit;
}

.mtp-card {
    background: #fff;
    border: 1px solid var(--mtp-border);
    border-top: 2px solid var(--mtp-gold);
    border-radius: 14px 14px 0 0;
    padding: 42px 54px 28px;
    box-shadow: 0 10px 35px rgba(50, 40, 15, .04);
}

.mtp-brand {
    min-height: 90px;
    display: flex;
    align-items: center;
}

.mtp-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.mtp-brand .custom-logo {
    width: auto;
    max-width: 150px;
    max-height: 105px;
    object-fit: contain;
}

.mtp-site-name {
    font-size: 24px;
    font-weight: 700;
}

.mtp-divider {
    height: 1px;
    background: var(--mtp-border);
    margin: 10px 0 26px;
}

.mtp-heading {
    text-align: center;
    margin-bottom: 34px;
}

.mtp-heading h2 {
    margin: 0 0 7px;
    color: var(--mtp-text);
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.mtp-heading p {
    margin: 0;
    color: var(--mtp-muted);
    font-size: 14px;
}

.mtp-form {
    display: block;
}

.mtp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.mtp-field {
    margin-bottom: 22px;
}

.mtp-grid .mtp-field {
    margin-bottom: 0;
}

.mtp-field label {
    display: block;
    margin: 0 0 9px;
    color: #35312d;
    font-size: 14px;
    font-weight: 600;
}

.mtp-field label span {
    color: #bd362f;
}

.mtp-field input,
.mtp-field select,
.mtp-field textarea {
    width: 100%;
    min-height: 53px;
    border: 1px solid var(--mtp-border);
    border-radius: 9px;
    background: var(--mtp-soft);
    color: var(--mtp-text);
    font-size: 15px;
    padding: 13px 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.mtp-field select {
    appearance: auto;
}

.mtp-field textarea {
    min-height: 128px;
    resize: vertical;
}

.mtp-field input:focus,
.mtp-field select:focus,
.mtp-field textarea:focus {
    background: #fff;
    border-color: var(--mtp-gold);
    box-shadow: 0 0 0 3px rgba(235, 169, 22, .14);
}

.mtp-field small {
    display: block;
    margin-top: 7px;
    color: var(--mtp-muted);
    font-size: 12px;
}

.mtp-amount-field {
    margin-top: 22px;
}

.mtp-amount-wrap {
    position: relative;
}

.mtp-amount-wrap input {
    padding-right: 76px;
}

.mtp-amount-wrap strong {
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    min-width: 44px;
    padding: 8px 10px;
    border-radius: 18px;
    background: #fff3d4;
    color: #bf7900;
    text-align: center;
    font-size: 12px;
    line-height: 1;
}

.mtp-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #f2b51d, #dfa00c);
    color: #332708;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 11px 24px rgba(223, 160, 12, .2);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.mtp-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(223, 160, 12, .28);
    filter: brightness(1.02);
}

.mtp-lock {
    margin-right: 8px;
}

.mtp-security {
    margin: 18px 0 0;
    text-align: center;
    color: #8d877f;
    font-size: 11px;
}

.mtp-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
    font-size: 13px;
}

.mtp-contact a {
    color: #2784a2;
    text-decoration: none;
}

.mtp-alert {
    margin: 0 0 24px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.mtp-alert-error {
    border: 1px solid #efc7c4;
    background: #fff4f3;
    color: #a72820;
}

@media (max-width: 767px) {
    .mtp-shell {
        margin: 12px auto;
        padding: 0 8px;
    }

    .mtp-card {
        padding: 26px 18px 24px;
        border-radius: 12px;
    }

    .mtp-brand {
        justify-content: center;
        min-height: 75px;
    }

    .mtp-brand .custom-logo {
        max-width: 135px;
        max-height: 90px;
    }

    .mtp-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mtp-grid .mtp-field {
        margin-bottom: 0;
    }

    .mtp-amount-field {
        margin-top: 18px;
    }

    .mtp-heading h2 {
        font-size: 22px;
    }

    .mtp-contact {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .mtp-contact span {
        display: none;
    }
}
