/* 权益提现页 - 泰溪文旅主题（仅 cash_withdraw.html） */
:root {
    --tx-green: #1f5c4b;
    --tx-green-deep: #163f35;
    --tx-gold: #b78a52;
    --tx-gold-deep: #9c6f3a;
    --tx-bg: #f4f1eb;
    --tx-line: #e5dfd4;
    --tx-muted: #6b7a74;
}

body.cash-withdraw-page {
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(183, 138, 82, 0.12), transparent 50%),
        linear-gradient(180deg, #e8f0ec 0%, var(--tx-bg) 32%, var(--tx-bg) 100%);
    min-height: 100vh;
}

.cash-withdraw-page .cash-withdraw-inner {
    padding-bottom: 8px;
}

.cash-withdraw-page .cash-form-section {
    padding: 14px 14px 0;
}

/* 主卡片 */
.cash-withdraw-page .cash-card {
    position: relative;
    background: #fffef9;
    border: 1px solid rgba(229, 223, 212, 0.9);
    border-radius: 18px;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.85) inset,
        0 12px 40px rgba(23, 42, 36, 0.08);
    overflow: hidden;
}

/* 顶部余额区 */
.cash-withdraw-page .cash-hero {
    position: relative;
    padding: 22px 18px 20px;
    color: #fff;
    overflow: hidden;
}

.cash-withdraw-page .cash-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background:
        linear-gradient(145deg, #2d6b58 0%, var(--tx-green) 42%, var(--tx-green-deep) 100%);
    opacity: 1;
}

.cash-withdraw-page .cash-hero-bg::after {
    content: "";
    position: absolute;
    right: -20%;
    top: -40%;
    width: 70%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 219, 162, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.cash-withdraw-page .cash-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cash-withdraw-page .cash-hero-kicker {
    font-size: 12px;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    opacity: 0.88;
    font-weight: 500;
}

.cash-withdraw-page .cash-hero-balance {
    margin-top: 10px;
    font-size: 32px;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.cash-withdraw-page .cash-hero-rmb {
    font-size: 22px;
    font-weight: 600;
    margin-right: 2px;
    vertical-align: 2px;
    opacity: 0.95;
}

.cash-withdraw-page .cash-hero-desc {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.85;
}

/* 提示 */
.cash-withdraw-page .cash-card .tips {
    margin: 0;
    padding: 14px 16px 16px;
    background: linear-gradient(180deg, #fff9f0 0%, #fffdf9 100%);
    border-bottom: 1px solid rgba(241, 236, 228, 0.95);
}

.cash-withdraw-page .cash-card .tips-title {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--tx-green-deep);
    margin-bottom: 8px;
}

.cash-withdraw-page .cash-card .tips-dot {
    flex-shrink: 0;
    margin-right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tx-gold), #d4a574);
    box-shadow: 0 0 0 3px rgba(183, 138, 82, 0.2);
}

.cash-withdraw-page .cash-card .tips-body {
    font-size: 13px;
    line-height: 1.75;
    color: var(--tx-muted);
}

.cash-withdraw-page .cash-card .tips-body strong {
    color: #3d5248;
    font-weight: 600;
}

/* 分区标题 */
.cash-withdraw-page .cash-section-title {
    padding: 16px 16px 8px;
    font-size: 13px;
    font-weight: 700;
    color: #5c6d66;
    letter-spacing: 0.5px;
}

.cash-withdraw-page .cash-section-title::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 12px;
    margin-right: 8px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--tx-gold), var(--tx-green));
    vertical-align: -1px;
}

/* 表单 */
.cash-withdraw-page .cash-card .cash-form {
    padding: 0 4px 4px;
}

.cash-withdraw-page .cash-card .layui-form-item {
    display: flex;
    flex-direction: column;
    padding: 0 12px 14px;
    margin-bottom: 0;
    border-bottom: none;
}

.cash-withdraw-page .cash-card .layui-form-item.cash-form-item-last {
    padding-bottom: 6px;
}

.cash-withdraw-page .cash-card .layui-form-label {
    padding: 0 0 8px;
    width: auto;
    text-align: left;
    color: #3d5248;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.cash-withdraw-page .cash-card .layui-form-label .req {
    color: #c45656;
    margin-right: 4px;
    font-weight: 700;
}

.cash-withdraw-page .cash-card .layui-input {
    border: 1px solid rgba(199, 174, 139, 0.35) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #fffdf9, #fffaf9) !important;
    height: 46px !important;
    line-height: 46px !important;
    padding-left: 14px !important;
    color: #234a40 !important;
    font-size: 15px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cash-withdraw-page .cash-card .layui-input::placeholder {
    color: #9aa8a2;
}

.cash-withdraw-page .cash-card .layui-input-wrap .layui-input:focus {
    border-color: rgba(183, 138, 82, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(31, 92, 75, 0.08) !important;
}

/* 提交区 + 历史提现记录（与 recharge.html 的 .submit / .logs 一致） */
.cash-withdraw-page .cash-card .cash-form .submit {
    padding: 16px 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.cash-withdraw-page .cash-card .cash-form .submit .hui-button.hui-danger {
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--tx-gold), var(--tx-gold-deep)) !important;
    box-shadow: 0 10px 18px rgba(156, 111, 58, 0.26);
    font-size: 16px !important;
    width: 100%;
}

.cash-withdraw-page .cash-card .cash-form .submit .hui-button.cash-submit-disabled,
.cash-withdraw-page .cash-card .cash-form .submit .hui-button.hui-danger:disabled {
    opacity: 0.52 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    filter: grayscale(0.12);
}

.cash-withdraw-page .cash-card .cash-window-notice {
    margin: 4px 14px 2px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #7a5538;
    background: rgba(184, 138, 82, 0.14);
    border: 1px solid rgba(184, 138, 82, 0.3);
    border-radius: 12px;
}

.cash-withdraw-page .cash-card .cash-form .submit .logs {
    color: var(--tx-green);
    font-size: 14px;
    margin: 14px 0 0;
    text-align: center;
    font-weight: 500;
}
