/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./components/DailyWelfare.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
.daily-welfare-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f7;
    padding: 20px;
}

.welfare-container {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.welfare-container h2 {
    text-align: center;
    color: #1d1d1f;
    font-size: 24px;
    margin: 0 0 8px 0;
}

.warning-tip {
    text-align: center;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    padding: 8px;
    background: #fff5f5;
    border-radius: 8px;
}

.input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.input-group input {
    flex: 1 1;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #667eea;
}

.btn-search {
    padding: 12px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.btn-search:hover {
    background: #0056b3;
}

.btn-check {
    width: 100%;
    padding: 14px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn-check:hover {
    background: #0056b3;
}

.btn-check:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 福利信息 */
.welfare-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.info-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.info-header p {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

.reward-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.reward-item .label {
    font-size: 14px;
    color: #6c757d;
}

.reward-item .value {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
}

.claimed-tip {
    text-align: center;
    padding: 16px;
    background: #d4edda;
    border-radius: 8px;
    margin-top: 16px;
    color: #155724;
    font-weight: bold;
    font-size: 16px;
}

.btn-claim {
    width: 100%;
    padding: 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-claim:hover {
    background: #0056b3;
}

.btn-claim:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 消息提示 */
.message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
}

.message.warning {
    background: #fff3cd;
    color: #856404;
}

/* 弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 360px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-content h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1d1d1f;
}

.modal-content input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.search-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.search-buttons button {
    flex: 1 1;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.search-buttons button:hover {
    background: #0056b3;
}

.search-buttons button:disabled {
    background: #f5f5f5;
    color: #999;
}

.result-box {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.result-box p {
    margin: 8px 0;
    font-size: 14px;
}

.btn-use {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
}

.btn-use:hover {
    background: #0056b3;
}

.btn-back {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #999;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.btn-back:hover {
    background: #f0f0f0;
}

