/* Withdrawal Processing 样式 */

.withdrawal-processing-container {
    width: 100%;
    background-color: #FFFFFF;
    min-height: auto;
    height: fit-content;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.withdrawal-processing-container.dark-mode {
    background-color: #0A0A0A;
    color: #FFFFFF;
}

/* 头部栏 */
.withdrawal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #FFFFFF;
}

.withdrawal-processing-container.dark-mode .withdrawal-header {
    background-color: #0A0A0A;
}

.withdrawal-header-left,
.withdrawal-header-right {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.withdrawal-back-icon {
    font-size: 20px;
    color: #000000;
    cursor: pointer;
}

.withdrawal-processing-container.dark-mode .withdrawal-back-icon {
    color: #FFFFFF;
}

/* 内容区域 */
.withdrawal-content {
    padding: 40px 24px 32px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 120px);
    justify-content: flex-start;
}

.withdrawal-processing-container.dark-mode .withdrawal-content {
    background-color: #0A0A0A;
}

/* 沙漏图标容器 */
.withdrawal-hourglass-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.withdrawal-hourglass {
    width: 120px;
    height: 160px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 沙漏上半部分（空的，浅灰色） */
.withdrawal-hourglass-top {
    width: 90px;
    height: 65px;
    background-color: #E5E5E5;
    border-radius: 45px 45px 0 0;
    position: relative;
    border: 2px solid #CCCCCC;
    border-bottom: none;
    box-sizing: border-box;
}

/* 沙漏颈部（窄颈） */
.withdrawal-hourglass-neck {
    width: 4px;
    height: 20px;
    background-color: #E5E5E5;
    position: relative;
    z-index: 2;
    border-left: 2px solid #CCCCCC;
    border-right: 2px solid #CCCCCC;
    box-sizing: border-box;
}

/* 沙漏下半部分（包含黄色沙子） */
.withdrawal-hourglass-bottom {
    width: 90px;
    height: 75px;
    background-color: #E5E5E5;
    border-radius: 0 0 45px 45px;
    position: relative;
    border: 2px solid #CCCCCC;
    border-top: none;
    overflow: hidden;
    box-sizing: border-box;
}

/* 沙子（黄色，大部分在底部） */
.withdrawal-hourglass-sand {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: #F0B90B;
    border-radius: 0 0 43px 43px;
    animation: sandFlow 2.5s ease-in-out infinite;
}

/* 沙子流动动画（模拟从窄颈流下） */
@keyframes sandFlow {
    0% {
        height: 65px;
    }
    50% {
        height: 68px;
    }
    100% {
        height: 65px;
    }
}

/* 标题 */
.withdrawal-title {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.withdrawal-processing-container.dark-mode .withdrawal-title {
    color: #FFFFFF;
}

/* 金额 */
.withdrawal-amount {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.withdrawal-processing-container.dark-mode .withdrawal-amount {
    color: #FFFFFF;
}

/* 信息文本 */
.withdrawal-info {
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.withdrawal-info-line {
    font-size: 14px;
    color: #999999;
    line-height: 1.8;
    margin-bottom: 2px;
}

.withdrawal-processing-container.dark-mode .withdrawal-info-line {
    color: #CCCCCC;
}

.withdrawal-info-hint {
    margin-top: 12px;
    color: #999999;
}

.withdrawal-processing-container.dark-mode .withdrawal-info-hint {
    color: #999999;
}

/* 查看历史按钮 */
.withdrawal-view-history-button {
    width: 100%;
    max-width: 360px;
    padding: 18px 24px;
    background-color: #F0B90B;
    border: none;
    border-radius: 12px;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 2px 8px rgba(240, 185, 11, 0.3);
    margin-top: auto;
}

.withdrawal-view-history-button:hover {
    background-color: #D4A009;
}

.withdrawal-view-history-button:active {
    background-color: #B89408;
}
