/* 自定义样式 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('../bz.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 233, 239, 0.3), rgba(118, 75, 162, 0.3));
    z-index: 1;
}


.login-form {
    width: 420px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(249, 249, 249, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.login-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.login-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-form .form-control {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}


.login-form .btn:hover {
    background-color: #333;
}

.login-form .btn:active {
    background-color: #000;
}


.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
}

.table-card {
    position: relative;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow-light);
    transition: all 0.3s;
}

.table-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-dark);
}

/* 桌台状态页面的表格样式 */
.table-status-grid .table-card {
    position: relative;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 230px;
    overflow: hidden;
}

.table-card.free {
    background-color: #f0f9eb;
    border: 1px solid #e1f3d8;
}

.table-card.busy {
    background-color: #fff0f0;
    border: 1px solid #ffdbdb;
}

.table-card.reserved {
    background-color: #fdf6ec;
    border: 1px solid #faecd8;
}

.table-card.maintenance {
    background-color: #f4f4f5;
    border: 1px solid #e9e9eb;
}

.table-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.table-area {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.table-rate {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.table-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

.table-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.table-action-btn {
    width: 100%;
    margin-top: auto;
    border-radius: 4px;
}

/* 繁忙状态下的结账按钮 */
.checkout-btn-container {
    margin-top: 10px;
    width: 100%;
    position: absolute;
    bottom: 15px;
    left: 0;
    padding: 0 15px;
}

.checkout-btn {
    width: 100%;
    background-color: #f56c6c;
    border-color: #f56c6c;
    color: white;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    padding: 0;
    border-radius: 4px;
}

.checkout-btn:hover {
    background-color: #f78989;
    border-color: #f78989;
}

/* 全屏模式下的按钮 */
.btn-block {
    display: block;
    width: 100%;
}

/* 全屏模式下的模态框样式 */
.fullscreen-mode .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-mode .modal {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 500px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
}

.status-label {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.status-free {
    background-color: #67c23a;
}

.status-busy {
    background-color: #f56c6c;
}

.status-reserved {
    background-color: #e6a23c;
}

.status-maintenance {
    background-color: #909399;
}

/* 计时器样式 */
.table-timer {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.table-timer strong {
    color: #f56c6c;
    font-size: 16px;
}

.dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-right: 15px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow-light);
}

.stat-card:last-child {
    margin-right: 0;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.order-timer {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.checkout-details {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.checkout-label {
    font-weight: 500;
}

.checkout-total {
    font-size: 20px;
    font-weight: bold;
    color: var(--danger-color);
    margin-top: 10px;
    text-align: right;
}

@media (max-width: 768px) {
    .login-form {
        width: 90%;
        padding: 20px;
    }
    
    .stat-card {
        flex: 0 0 100%;
        margin-right: 0;
    }
    
    .table-card {
        margin-bottom: 15px;
    }
}