@import '../../base/baseDrawPage.wxss';

/* 数字选择区域 */
.number-selection-area {
    display: flex;
    flex-direction: column;
    gap: 20rpx;
    margin-top: 40rpx;
}

.number-row {
    display: flex;
    flex-direction: row;
    gap: 40rpx;
    width: 100%;
}

.number-item {
    height: 90rpx;
    background: #ffffff;
    border: 2rpx solid #e8e8e8;
    border-radius: 16rpx;
    padding: 24rpx;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    flex: 1;
    min-width: 0;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08), 0 2rpx 4rpx rgba(0, 0, 0, 0.06);

    &:active {
        transform: scale(0.98);
        box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1), 0 1rpx 2rpx rgba(0, 0, 0, 0.08);
    }

    &.active {
        border-color: #93d333;
        box-shadow: 0 4rpx 16rpx rgba(147, 211, 51, 0.25), 0 0 0 4rpx rgba(147, 211, 51, 0.15);
    }

    .number-text {
        font-size: 36rpx;
        font-weight: bold;
        color: #141414;
        text-align: center;
    }
}

.number-column {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 40rpx;

    .number-item {
        flex: 1;
    }

    .random-button {
        flex: 2;
    }

    /* 随机按钮样式 */
    &.random-button {
        flex: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12rpx;

        .random-icon {
            width: 40rpx;
            height: 40rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;

            .toy-icon {
                font-size: 32rpx;
                color: #141414;
            }
        }

        .number-text {
            flex-shrink: 0;
        }

        &.active {
            border-color: #93d333;
            box-shadow: 0 0 0 4rpx rgba(147, 211, 51, 0.2);

            .random-icon .toy-icon {
                color: #93d333;
            }
        }
    }
}

/* 底部按钮区域 */
.bottom-btn-box {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180rpx;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0px -3.9rpx 5.2rpx rgba(0, 0, 0, 0.15);
    padding: 24rpx;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
    border-radius: 16rpx 16rpx 0 0;
    z-index: 100;
}