/* 容器样式 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem;
    z-index: 2;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

/* 登录表单样式 */
.login-form {
    position: relative;
    background-color: #fff;
    border-radius: 0.9375rem;
    width: 80%;
    max-width: 25rem;
    padding: 2rem 1rem;
    margin-top: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 输入框组样式 */
.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 18.125rem;
    height: 2.8125rem;
    background-color: #f8f7fc;
    border-radius: 1.5625rem;
    border: 0.0625rem solid #d0d0d0;
    margin-bottom: 1.5625rem;
}

.input-group .icon {
    height: 1.5625rem;
    width: 1.5625rem;
    margin: 0 0.625rem;
}

.input-group .divider {
    border-right: 0.0625rem solid #bababa;
    height: 1.25rem;
    margin: 0 0.625rem;
}

.phone-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 0.875rem;
    padding: 0 0.625rem;
    outline: none;
}

/* 协议勾选框样式 */
.agreement {
    width: 18.125rem;
    margin-bottom: 1.5625rem;
    font-size: 0.8125rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-custom {
    width: 1rem;
    height: 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    position: relative;
}

#privacy-check {
    display: none;
}

#privacy-check:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0.75rem;
    height: 0.75rem;
    background-color: #382ec6;
    border-radius: 0.125rem;
}

.agreement-text {
    color: #333;
}

.privacy-link {
    color: #382ec6;
    text-decoration: none;
    margin-left: 0.25rem;
}

/* 登录按钮样式 */
.login-button {
    width: 15.625rem;
    height: 4.0625rem;
    border: none;
    border-radius: 1.5625rem;
    background: linear-gradient(90deg, #2c8eff, #1c44fe);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-button:hover {
    opacity: 0.9;
}

/* 背景样式 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.bg-wrapper {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.gradient-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #2c8eff, #1c44fe);
    opacity: 0.9;
}

/* 订单列表容器 */
.orders-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    margin-top: 30rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* 订单列表标题 */
.orders-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

/* 订单项 */
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* 订单信息 */
.order-info {
    flex: 1;
}

.order-id {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.order-time {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.order-amount {
    font-size: 1rem;
    color: #f60;
    font-weight: bold;
}

/* 领取按钮 */
.receive-button {
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, #2c8eff, #1c44fe);
    color: #fff;
    border: none;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-left: 1rem;
}

.receive-button:hover {
    opacity: 0.9;
}

.receive-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 充值记录容器 */
.recharge-records {
    position: relative;
    width: 90%;
    max-width: 600px;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* 充值记录摘要 */
.recharge-summary {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #333;
}

/* 充值记录列表 */
.recharge-list {
    margin-bottom: 1.5rem;
}

/* 充值记录项 */
.recharge-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    font-size: 0.875rem;
    color: #666;
}

.recharge-item:last-child {
    border-bottom: none;
}

/* 领取按钮 */
.claim-button {
    display: block;
    width: 80%;
    max-width: 15.625rem;
    height: 2.8125rem;
    margin: 1.5rem auto 0;
    border: none;
    border-radius: 1.5625rem;
    background: linear-gradient(90deg, #2c8eff, #1c44fe);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.claim-button:hover {
    opacity: 0.9;
}

.claim-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 空状态提示 */
.empty-tip {
    text-align: center;
    color: #999;
    font-size: 0.875rem;
    margin: 2rem 0;
}

/* 错误消息 */
.error-message {
    color: #f44336;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.875rem;
}

/* 成功消息 */
.success-message {
    color: #4caf50;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.875rem;
} 