/* New show.php classes mapped to the current production download style. */
.erphpdown.erphpdown-default {
    position: relative;
    overflow: hidden;
    margin: 30px 0 20px !important;
    padding: 25px !important;
    border: 2px dashed #999 !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.erphpdown.erphpdown-default > legend {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 5px !important;
    border: 0 !important;
    color: #444;
    font-size: 16px;
    line-height: 1.5 !important;
}

.erphpdown .erphpdown-title {
    position: relative;
    margin: 0 0 10px;
    color: #444;
    font-size: 16px;
    font-weight: 600;
}

.erphpdown .erphpdown-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 200px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff5f33, #ffd699);
    content: "";
}

.erphpdown .erphpdown-free {
    margin: 10px 0 25px;
    color: #999;
}

.erphpdown .erphpdown-paid {
    display: flow-root;
    margin: 10px 0 25px;
    text-align: left;
}

.erphpdown .erphpdown-wx-fans {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 328px;
    column-gap: 20px;
    align-items: start;
    padding: 20px;
    border: 1px solid #e8ddd6;
    background: #fffaf6;
    color: #5c5048;
}

.erphpdown .erphpdown-wx-fans-copy {
    margin-bottom: 13px;
    font-size: 15px;
}

.erphpdown .erphpdown-wx-fans-copy strong {
    color: #d85b36;
}

.erphpdown .erphpdown-wx-fans-form {
    display: flex;
    gap: 8px;
}

.erphpdown .erphpdown-wx-fans-form input {
    width: 140px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #d7c9c0;
    background: #fff;
    color: #f06a3f;
    font-weight: 600;
    outline: 0;
}

.erphpdown .erphpdown-wx-fans-form input::placeholder {
    color: #f06a3f;
    opacity: 1;
}

.erphpdown .erphpdown-wx-fans-form input:focus {
    border-color: #d85b36;
    box-shadow: 0 0 0 3px rgb(216 91 54 / 12%);
}

.erphpdown .erphpdown-wx-fans-form button {
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #f06a3f;
    box-shadow: 0 2px 6px rgb(40 58 78 / 12%);
    color: #fff !important;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.erphpdown .erphpdown-wx-fans-form button:hover {
    background: #dd5730;
    box-shadow: 0 5px 12px rgb(40 58 78 / 20%);
    transform: translateY(-1px);
}

.erphpdown .erphpdown-wx-fans-form .erphpdown-wx-fans-vip {
    background: #2585c4;
}

.erphpdown .erphpdown-wx-fans-form .erphpdown-wx-fans-vip:hover {
    background: #176fa9;
}

.erphpdown .erphpdown-wx-fans-qr {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 280px;
    height: auto;
    object-fit: contain;
}

.erphpdown .erphpdown-wx-fans-error {
    margin-top: 10px;
    color: #c53d2e;
}

.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-vip,
.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-buy,
.erphpdown.erphpdown-default .erphpdown-paid .erphp-login-must {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0 0 0 10px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgb(40 58 78 / 12%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-vip,
.erphpdown.erphpdown-default .erphpdown-paid .erphp-login-must {
    background: #f06a3f;
}

.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-buy {
    background: #2585c4;
}

.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-vip:hover,
.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-buy:hover,
.erphpdown.erphpdown-default .erphpdown-paid .erphp-login-must:hover {
    box-shadow: 0 5px 12px rgb(40 58 78 / 20%);
    color: #fff !important;
    transform: translateY(-1px);
}

.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-vip:hover,
.erphpdown.erphpdown-default .erphpdown-paid .erphp-login-must:hover {
    background: #dd5730;
}

.erphpdown.erphpdown-default .erphpdown-paid .erphpdown-buy:hover {
    background: #176fa9;
}

.erphpdown .erphpdown-address-item {
    display: grid;
    grid-template-columns: minmax(0, 500px) 24px minmax(0, 180px);
    align-items: center;
    min-height: 34px;
    color: #999;
    line-height: 2.4;
}

.erphpdown .erphpdown-address-link {
    grid-column: 1;
    min-width: 0;
    padding-right: 10px;
    overflow: hidden;
    font-size: 16px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erphpdown .erphpdown-address-link:hover {
    color: #3690cf;
    text-decoration: underline;
}

.erphpdown .erphpdown-address-safe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    color: #4b9b69;
    font-size: 13px;
    text-decoration: none;
}

.erphpdown .erphpdown-address-safe img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
}

.erphpdown .erphpdown-address-blocked {
    grid-column: 1 / -1;
    color: #a36d5c;
}

.erphpdown .erphpdown-address-link:active {
    padding-bottom: 2px;
    color: #f00;
    text-decoration-style: dashed;
}

.erphpdown .erphpdown-address-note {
    grid-column: 3;
    margin-left: 15px;
    padding: 0 2px 0 0;
    color: #999;
    font-size: 14px;
    line-height: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.erphpdown .erphpdown-address-item .erphpdown-copy {
    position: relative;
    display: inline-block;
    margin-left: 15px;
    padding: 4px 10px;
    border-radius: 5px;
    background: #f3f3f3;
    color: #444;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    overflow: visible;
    white-space: nowrap;
    cursor: pointer;
}

.erphpdown .erphpdown-address-item .erphpdown-copy:hover {
    background: #e6f0ff;
    color: #006bff;
}

.erphpdown .erphpdown-address-item .erphpdown-copy::after {
    position: absolute;
    bottom: 100%;
    left: 50%;
    padding: 5px 8px;
    border-radius: 4px;
    background: rgb(50 50 50 / 82%);
    color: #fff;
    content: attr(data-title);
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-4px);
    transition: opacity .2s ease, transform .2s ease;
    white-space: nowrap;
}

.erphpdown .erphpdown-address-item .erphpdown-copy:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.erphpdown .erphpdown-tips {
    display: inline;
    float: left;
    margin: 25px 0 20px 15px;
    color: #999;
    font-size: 14px;
    opacity: .7;
}

@media (max-width: 768px) {
    .erphpdown.erphpdown-default {
        margin-top: 20px !important;
        padding: 18px 14px !important;
    }

    .erphpdown .erphpdown-address-item {
        grid-template-columns: minmax(0, 1fr) 24px;
        gap: 0 8px;
        padding: 5px 0;
        line-height: 1.8;
    }

    .erphpdown .erphpdown-address-link {
        grid-column: 1;
        width: 100%;
        font-size: 14px;
    }

    .erphpdown .erphpdown-address-safe {
        grid-column: 2;
    }

    .erphpdown .erphpdown-address-note {
        grid-column: 1;
        margin-left: 0;
        font-size: 13px;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .erphpdown .erphpdown-wx-fans {
        display: block;
        padding: 15px;
    }

    .erphpdown .erphpdown-wx-fans-form {
        flex-wrap: wrap;
    }

    .erphpdown .erphpdown-wx-fans-qr {
        display: block;
        width: min(280px, 100%);
        height: auto;
        margin-top: 14px;
    }

    .erphpdown.erphpdown-default .erphpdown-paid .erphpdown-vip,
    .erphpdown.erphpdown-default .erphpdown-paid .erphpdown-buy,
    .erphpdown.erphpdown-default .erphpdown-paid .erphp-login-must {
        min-height: 34px;
        margin-top: 8px;
        margin-left: 6px;
        padding: 0 12px;
    }
}
