/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #0e2b46;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 15px;
    color: #666;
}

.logout-btn {
    background-color: #ff4d4f;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-btn:hover {
    background-color: #ff7875;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.2);
}

/* 底部导航栏样式（代练端） */
.bottom-nav {
    position: fixed;
    bottom: 10px;
    left: 12px;
    right: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0));
    z-index: 1000;
    height: 64px;
    min-height: calc(64px + env(safe-area-inset-bottom, 0));
    overflow: hidden;
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8c8c8c;
    transition: all 0.25s ease;
    padding: 8px 6px;
    min-width: 0;
    flex-shrink: 0;
    border-radius: 12px;
    position: relative;
}

.bottom-nav .nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: transform 0.25s ease;
}

.bottom-nav .nav-item span {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    line-height: 1.2;
}

.bottom-nav .nav-item.active {
    color: #1890ff;
}

.bottom-nav .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #1890ff;
    border-radius: 50%;
}

.bottom-nav .nav-item.active i {
    transform: scale(1.08);
}

.bottom-nav .nav-item:hover {
    color: #1890ff;
}

.bottom-nav .nav-item:active {
    opacity: 0.8;
}

/* 侧边栏样式（管理员端保留） */
.sidebar {
    position: fixed;
    width: 220px;
    height: 100%;
    background-color: #001529;
    padding-top: 80px;
    color: #fff;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 2px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: #1890ff;
    color: #fff;
    border-left: 3px solid #fff;
}

.sidebar-menu a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* 主要内容区域 */
.main-content {
    margin-left: 0;
    padding: 80px 20px 20px 20px;
    min-height: calc(100vh - 80px);
    transition: all 0.3s;
    padding-bottom: 80px;
    margin-bottom: 0;
}

/* 管理员端主内容区域（有侧边栏时） */
.sidebar ~ .main-content {
    margin-left: 220px;
    padding-bottom: 20px;
}

.page-title {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 500;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.card-header {
    padding: 12px 20px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #fafafa;
}

.card-title {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.card-body {
    padding: 20px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
    color: #666;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: #fff;
}

.form-control:hover {
    border-color: #40a9ff;
}

.form-control:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.form-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
}

/* 输入组样式 */
.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #d9d9d9;
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.input-group .form-control:focus {
    border-left: 1px solid #1890ff;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s;
    
    line-height: 1.5;
}

.btn-primary {
    background-color: #1890ff;
    color: white;
    border-color: #1890ff;
}

.btn-primary:hover {
    background-color: #40a9ff;
    border-color: #40a9ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.btn-success {
    background-color: #52c41a;
    color: white;
    border-color: #52c41a;
}

.btn-success:hover {
    background-color: #73d13d;
    border-color: #73d13d;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.2);
}

.btn-danger {
    background-color: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}

.btn-danger:hover {
    background-color: #ff7875;
    border-color: #ff7875;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.2);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #666;
    border-color: #d9d9d9;
}

.btn-secondary:hover {
    background-color: #fafafa;
    border-color: #000000;
    color: #40a9ff;
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #e8e8e8;
}

.table th, .table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #e8e8e8;
    vertical-align: middle;
}

.table th {
    background-color: #fafafa;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.table tr:nth-child(even) {
    background-color: #fafafa;
}

.table tr:hover {
    background-color: #e6f7ff;
}

/* 添加链接样式 */
.table a {
    color: #000203;
    text-decoration: none;
}

.table a:hover {
    color: #000000;
    text-decoration: underline;
}

/* 添加状态标签样式 */
.status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 20px;
}

.status-success {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status-pending {
    background-color: #fffbe6;
    color: #faad14;
    border: 1px solid #ffe58f;
}

.status-processing {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.status-failed {
    background-color: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffa39e;
}

.status-reviewing {
    background-color: #f9f0ff;
    color: #722ed1;
    border: 1px solid #d3adf7;
}

/* 订单类型标签 */
.status-type-hall {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.status-type-assigned {
    background-color: #fff0f6;
    color: #c41d7f;
    border: 1px solid #ffadd2;
}

/* 金额样式 */
.amount {
    font-weight: 500;
    color: #ff4d4f;
}

.text-success {
    color: #52c41a !important;
}

.text-danger {
    color: #ff4d4f !important;
}

/* 操作按钮样式 */
.action-btn {
    padding: 4px 8px;
    font-size: 12px;
    margin: 0 2px;

    line-height: 1;
}

/* 搜索区域 */
.search-area {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.search-row .form-control {
    min-width: 260px;
    flex: 1;
}

.search-row .form-control-short {
    width: 200px;
}

.search-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 统计卡片（管理员端 - 默认flex布局） */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
}

/* 代练端统计卡片（2列布局） */
.practitioner-stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 0 20px 0;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin: 0 10px 20px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 500;
    margin: 10px 0;
    color: #333;
}

.stat-card .stat-title {
    font-size: 14px;
    color: #999;
}

.stat-card.primary {
    border-top: none;
}

.stat-card.success {
    border-top: none;
}

.stat-card.danger {
    border-top: none;
}

.stat-card.warning {
    border-top: none;
}

.stat-card.purple {
    border-top: none;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pagination-controls {
    display: flex;
    gap: 6px;
}

.pagination-controls .pagination-btn {
    color: #666;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    border-radius: 4px;
}

.pagination-controls .pagination-btn.active {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

.pagination-controls .pagination-btn:hover:not(.active):not(.disabled) {
    border-color: #1890ff;
    color: #1890ff;
}

.pagination-controls .pagination-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-jump {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-jump-input {
    width: 50px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.pagination-jump-btn {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #666;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.pagination-jump-btn:hover {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

/* 卡片列表容器 */
.mobile-order-list {
    display: none;
}
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.desktop-only {
    display: none;
}
.mobile-only {
    display: block;
}

/* 卡片通用样式（桌面/移动） */
.mobile-order-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 14px 16px 12px;
    margin-bottom: 8px;
    border: 1px solid #f1f1f1;
}
.mobile-order-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}
.mobile-order-title .order-code {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}
.mobile-order-title .order-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.mobile-order-card .order-amount {
    font-size: 18px;
    font-weight: 700;
    color: #ff4d4f;
    white-space: nowrap;
}
.mobile-order-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.mobile-order-meta .badge,
.mobile-order-tags .badge,
.mobile-order-footer .badge {
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    border: 1px solid transparent;
    line-height: 18px;
}
.mobile-order-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.mobile-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.mobile-order-footer .footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 12px;
}
.mobile-order-footer .order-time {
    display: flex;
    align-items: center;
    gap: 4px;
}
.mobile-order-footer .footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-wrap: wrap;
}
.mobile-order-footer .mobile-btn {
    padding: 6px 12px;
    min-width: 80px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    border: 1px solid #d9d9d9;
    color: #333;
    background: #f7f7f7;
}
.mobile-order-footer .mobile-btn.btn-primary {
    background: #333;
    border-color: #333;
    color: #fff;
}
.mobile-order-footer .mobile-btn.btn-primary:hover {
    background: #000;
    border-color: #000;
}
.mobile-order-footer .mobile-btn.order-accept-btn {
    padding: 10px 20px;
    min-width: 100px;
    font-size: 15px;
    font-weight: 500;
}
.mobile-order-footer .mobile-btn:hover {
    opacity: 0.85;
}
.mobile-order-footer .status-pill {
    margin-left: 4px;
}

@media (max-width: 768px) {
    .orders-table {
        display: none;
    }
    .mobile-order-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .card-list {
        grid-template-columns: 1fr;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

.pagination a.disabled {
    color: #d9d9d9;
    pointer-events: none;
    border-color: #f5f5f5;
}

/* 提示框样式 */
.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
}

.alert-success {
    color: #52c41a;
    background-color: #f6ffed;
    border-color: #b7eb8f;
}

.alert-danger {
    color: #ff4d4f;
    background-color: #fff1f0;
    border-color: #ffa39e;
}

/* 登录页面样式 */
@keyframes loginSlideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes loginSlideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes loginFadeInUp {
    from {
        transform: translateY(24px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-container {
    display: flex;
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.login-left {
    flex: 2;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-width: 0;
    animation: loginSlideInLeft 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.login-logo-icon {
    width: 32px;
    height: 32px;
    background: #000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    gap: 2px;
    position: relative;
}

.login-logo-icon .fa-gamepad {
    font-size: 16px;
}

.login-logo-icon .fa-plus {
    font-size: 10px;
    position: absolute;
    top: 2px;
    right: 2px;
}

.login-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.login-illustration svg {
    max-width: 100%;
    height: auto;
}

.login-title-section {
    text-align: center;
    color: #fff;
    margin: auto 0;
}

.login-title-section h1 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.login-title-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.login-footer-link {
    text-align: center;
    margin-top: 20px;
}

.login-footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s;
}

.login-footer-link a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 注册说明样式 */
.register-info-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px 40px 40px;
    height: 100%;
}

.register-info-content {
    max-width: 500px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.register-info-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.register-info-text {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.register-info-text p {
    margin: 0;
    text-align: justify;
}

/* 手机端注册说明按钮 */
.register-info-toggle-mobile {
    display: none;
    padding: 8px 16px;
    background: #042747;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    margin-left: 15px;
}

.register-info-toggle-mobile:hover {
    background: #000000;
}

.register-info-toggle-mobile i {
    margin-right: 6px;
}

/* 手机端注册说明弹窗 */
.register-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-info-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.register-info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.register-info-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.register-info-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #8c8c8c;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

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

.register-info-modal-body {
    padding: 24px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.register-info-modal-body p {
    margin: 0;
    text-align: justify;
}

.login-right {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    overflow-y: auto;
    position: relative;
    min-width: 0;
    max-width: 100%;
    animation: loginSlideInRight 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.login-form-header {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    visibility: visible;
}

.login-form-header h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    display: block;
    visibility: visible;
    flex: 1;
}

.login-form {
    width: 100%;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-form .form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.login-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.login-form .form-control.is-invalid {
    border-color: #ff4d4f;
}

.login-form .password-input-wrapper {
    position: relative;
}

.login-form .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8c8c8c;
    font-size: 16px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form .password-toggle:hover {
    color: #333;
}

.login-form .btn-primary {
    width: 100%;
    padding: 12px;
    background: #1e3a8a;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.login-form .btn-primary:hover {
    background: #1e40af;
}

.theme-toggle {
    display: none;
}

.login-form .text-danger {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.login-form .text-muted {
    color: #8c8c8c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.login-form .alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-form .alert-danger {
    background: #fff1f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
}

.login-form .alert-success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
}

.login-link a:hover {
    text-decoration: underline;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #8c8c8c;
    font-size: 20px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.theme-toggle:hover {
    color: #333;
}

/* 大屏幕优化 */
@media (min-width: 1920px) {
    .login-left {
        flex: 2.5;
    }
    
    .login-right {
        flex: 1.5;
        padding: 80px 70px;
    }
    
    .login-form-header h2 {
        font-size: 32px;
    }
    
    .register-info-section {
        padding: 80px 60px 60px 60px;
    }
    
    .register-info-content {
        padding: 50px;
    }
    
    .register-info-content h2 {
        font-size: 32px;
    }
}

/* 中等屏幕 */
@media (max-width: 1440px) and (min-width: 1025px) {
    .login-left {
        flex: 2;
    }
    
    .login-right {
        flex: 1;
        padding: 50px 40px;
    }
}

/* 平板和小屏幕 */
@media (max-width: 1024px) and (min-width: 769px) {
    .login-container {
        flex-direction: row;
    }
    
    .login-left {
        flex: 1.5;
        padding: 30px 20px;
    }
    
    .register-info-section {
        padding: 40px 20px 30px 20px;
    }
    
    .register-info-content {
        padding: 30px 25px;
    }
    
    .register-info-content h2 {
        font-size: 22px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .register-info-item {
        font-size: 14px;
        gap: 12px;
        padding: 10px;
    }
    
    .register-info-item i {
        font-size: 16px;
    }
    
    .login-illustration {
        margin: 20px 0;
    }
    
    .login-illustration svg {
        max-width: 80%;
    }
    
    .login-title-section h1 {
        font-size: 24px;
    }
    
    .login-title-section p {
        font-size: 14px;
    }
    
    .login-right {
        flex: 1;
        padding: 40px 30px;
    }
    
    .login-form-header h2 {
        font-size: 24px;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        min-height: 100vh;
    }
    
    .login-left {
        display: none;
    }
    
    .register-info-section {
        display: none;
    }
    
    .login-right {
        flex: 1;
        width: 100%;
        padding: 30px 20px;
        justify-content: flex-start;
        padding-top: 40px;
        animation: loginFadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    
    .register-info-toggle-mobile {
        display: inline-block;
    }
    
    .login-form-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    
    .login-form-header h2 {
        font-size: 22px;
        margin: 0;
        flex: 1;
    }
    
    .register-info-modal-content {
        max-width: 90%;
    }
    
    .login-form .form-group {
        margin-bottom: 20px;
    }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .login-right {
        padding: 20px 15px;
        padding-top: 30px;
    }
    
    .login-form-header {
        margin-bottom: 25px;
    }
    
    .login-form-header h2 {
        font-size: 20px;
    }
    
    .login-form .form-group {
        margin-bottom: 18px;
    }
    
    .form-label {
        font-size: 14px;
    }
    
    .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.login-tab.active {
    color: #1890ff;
    border-bottom: 2px solid #1890ff;
}

/* 下拉菜单样式 */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.763 4.5 2.8 3.45 6 6.75l3.2-3.3L10.237 4.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* 文本域样式 */
textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* 图片样式 */
.image-preview {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    margin-right: 10px;
    margin-bottom: 10px;
}

.image-large {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
}

/* 图表容器 */
.chart-container {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
    height: 400px;
}

/* 文件上传样式 */
.file-upload {
    position: relative;
    overflow: hidden;
    margin: 10px 0;
}

.file-upload input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: pointer;
    display: block;
}

.file-upload-btn {
    border: 1px solid #d9d9d9;
    color: #666;
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.file-upload-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
    background-color: transparent;
}

.breadcrumb-item {
    font-size: 14px;
    color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: #ccc;
}

.breadcrumb-item a {
    color: #1890ff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
}

/* 图片预览区域 */
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding: 80px 15px 80px 15px;
    }
    
    .bottom-nav {
        height: 60px;
        min-height: calc(60px + env(safe-area-inset-bottom, 0));
        padding: 6px 0;
    }

    .bottom-nav .nav-item i {
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    .bottom-nav .nav-item span {
        font-size: 11px;
    }
    
    .form-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .practitioner-stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        margin-bottom: 10px;
    }
    
    /* 管理员端侧边栏响应式 */
    .sidebar {
        width: 60px;
    }
    
    .sidebar-menu a {
        padding: 15px 10px;
        text-align: center;
    }
    
    .sidebar-menu a span {
        display: none;
    }
    
    .sidebar-menu a i {
        margin-right: 0;
    }
    
    /* 管理员端主内容区域（如果有侧边栏） */
    .sidebar ~ .main-content {
        margin-left: 60px;
    }
}

/* 订单大厅刷新按钮 */
.refresh-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #1890ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
}

.refresh-btn:hover {
    background-color: #40a9ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.5);
    transform: rotate(180deg);
}

/* 日期选择器样式 */
.date-range {
    display: flex;
    align-items: center;
}

.date-range input[type="date"] {
    padding: 6px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin-right: 10px;
}

.date-range span {
    margin: 0 10px;
}

/* 钱包余额显示 */
.wallet-balance {
    font-size: 28px;
    font-weight: bold;
    color: #ff4d4f;
    margin: 20px 0;
    text-align: center;
}

/* 标签页样式 */
.tabs {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 我的订单页 - 参考图布局与样式 */
.my-orders-page {
    padding-bottom: 24px;
}
.my-orders-page .page-title {
    margin-bottom: 16px;
}

/* 顶部标签：下划线样式，等分 */
.my-orders-nav {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 16px;
    -webkit-tap-highlight-color: transparent;
}
.my-orders-nav-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    font-size: 14px;
    color: #8c8c8c;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}
.my-orders-nav-item.active {
    color: #333;
    font-weight: 500;
    border-bottom-color: #1890ff;
}

/* 订单卡片列表 */
.my-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.my-orders-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(228, 9, 9, 0.06);
    border: 1px solid #f0f0f0;
}

/* 卡片顶部：订单类型 + 标题（左），订单状态 + 拍单价（右） */
.my-orders-card {
    cursor: pointer;
}
.my-orders-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.my-orders-card-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.my-orders-card-type {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}
.my-orders-card-type-hall {
    background: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}
.my-orders-card-type-assigned {
    background: #fff0f6;
    color: #c41d7f;
    border: 1px solid #ffadd2;
}
.my-orders-card-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}
.my-orders-card-price {
    font-size: 16px;
    font-weight: 600;
    color: #ff6b35;
}

.my-orders-meta-label {
    color: #8c8c8c;
    font-size: 13px;
}
.my-orders-meta-value {
    color: #333;
    font-size: 13px;
}

/* 卡片描述 */
.my-orders-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* 订单状态行：左侧订单时间，右侧订单状态 */
.my-orders-card-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}
.my-orders-card-time {
    font-size: 13px;
    color: #8c8c8c;
}
.my-orders-card-time i {
    margin-right: 4px;
}
.my-orders-card-status-row .my-orders-card-status {
    display: inline-block;
    font-size: 13px;
    padding: 2px 8px;
    background: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
    border-radius: 4px;
}
.my-orders-card-status-row .my-orders-card-status.my-orders-card-status-rejected {
    background: #fff2e8;
    color: #d4380d;
    border-color: #ffbb96;
}

/* 提交审核单独按钮时占满宽 */
.my-orders-card-actions .my-orders-btn-submit {
    width: 100%;
}

/* 卡片底部：双按钮 */
.my-orders-card-actions {
    display: flex;
    gap: 10px;
}
.my-orders-btn {
    flex: 1;
    display: block;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    min-height: 44px;
    line-height: 1.3;
    box-sizing: border-box;
}
.my-orders-btn-outline {
    background: #fff;
    color: #666;
    border: 1px solid #d9d9d9;
}
.my-orders-btn-outline:hover {
    border-color: #1890ff;
    color: #1890ff;
}
.my-orders-btn-primary {
    background: #000000;
    color: #fff;
    border: none;
    font-weight: 500;
}
.my-orders-btn-primary:hover {
    background: #000;
    color: #fff;
}

/* 空状态 */
.my-orders-empty {
    text-align: center;
    padding: 48px 20px;
    color: #8c8c8c;
}
.my-orders-empty i {
    font-size: 48px;
    color: #d9d9d9;
    margin-bottom: 12px;
}
.my-orders-empty p {
    font-size: 14px;
}

/* 分页 */
.my-orders-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.my-orders-pagination .pagination { margin: 0; }

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #1890ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 代练端刷新图标样式 */
body.practitioner-page .btn-refresh-icon {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    box-shadow: 0 2px 10px rgba(79, 195, 247, 0.3);
}

body.practitioner-page .btn-refresh-icon:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #03a9f4 100%);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.5);
}

body.practitioner-page .refresh-btn {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.4);
}

body.practitioner-page .refresh-btn:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #03a9f4 100%);
    box-shadow: 0 6px 16px rgba(79, 195, 247, 0.6);
}

/* 代练端标签切换器 - 卡片形式 */
body.practitioner-page .tab-switcher {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    display: flex !important;
    gap: 16px !important;
    box-shadow: none !important;
}

body.practitioner-page .tab-switcher .tab-item {
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%) !important;
    border: 1px solid rgba(79, 195, 247, 0.4) !important;
    color: #b0bec5 !important;
    padding: 18px 28px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex: 1 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    min-height: 70px !important;
    cursor: pointer !important;
}

body.practitioner-page .tab-switcher .tab-item i {
    font-size: 18px !important;
}

body.practitioner-page .tab-switcher .tab-item.active {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%) !important;
    border-color: #4fc3f7 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 25px rgba(79, 195, 247, 0.5) !important;
    transform: translateY(-2px) !important;
}

body.practitioner-page .tab-switcher .tab-item:hover {
    border-color: #4fc3f7 !important;
    color: #4fc3f7 !important;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(79, 195, 247, 0.1) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.3) !important;
}

body.practitioner-page .tab-switcher .tab-item.active:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #03a9f4 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* 代练端隐藏顶部栏 */
body.practitioner-page .header {
    display: none !important;
}

body.practitioner-page .main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 透明弹出提示样式 */
.toast-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: toastSlideIn 0.3s ease;
}

.toast-success {
    background: rgba(102, 187, 106, 0.9);
    color: #ffffff;
    border: 1px solid rgba(102, 187, 106, 0.5);
}

.toast-error {
    background: rgba(239, 83, 80, 0.9);
    color: #ffffff;
    border: 1px solid rgba(239, 83, 80, 0.5);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 透明弹窗提醒（不阻挡操作，2秒自动关闭） */
.toast-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.toast-overlay-nonblock .toast-popup {
    pointer-events: auto;
}
.toast-popup {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px 28px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 90%;
    min-width: 280px;
    text-align: center;
}
.toast-popup-text {
    margin: 0;
    font-size: 14px;
    color: #1e3a5f;
    line-height: 1.5;
}
.toast-popup-error .toast-popup-text {
    color: #c62828;
}
.toast-popup-error {
    background: rgba(255, 240, 240, 0.95);
    border-left: 4px solid #ff4d4f;
}

/* 订单详情页 */
.order-detail-page {
    padding-bottom: 130px; /* 底部操作栏 + 底部导航高度 */
}
.order-detail-back {
    margin-bottom: 12px;
}
.order-detail-back .back-link {
    color: #1890ff;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.order-detail-back .back-link:hover {
    color: #40a9ff;
}
.order-detail-page .page-title {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 600;
}

/* 订单详情单卡片 */
.order-detail-card-single {
    margin-bottom: 16px;
}
.order-detail-card-head {
    padding-bottom: 12px;
}
.order-detail-card-title-main {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.order-detail-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
.order-detail-card-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0 0 14px 0;
}

/* 订单详情卡片 */
.order-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}
.order-detail-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

/* 信息列表（左标签右值） */
.order-detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.order-detail-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}
.order-detail-info-row.order-detail-info-row-block {
    flex-direction: column;
    align-items: stretch;
}
.order-detail-info-label {
    color: #8c8c8c;
    flex-shrink: 0;
    min-width: 80px;
}
.order-detail-info-value {
    color: #333;
    text-align: right;
    word-break: break-all;
}
.order-detail-info-value.order-detail-price {
    color: #ff4d4f;
    font-weight: 600;
}
.order-detail-info-value.order-detail-desc {
    text-align: left;
    white-space: pre-wrap;
}
.order-detail-info-value-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}
.order-detail-copy-btn {
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: 12px;
    color: #1890ff;
    background: transparent;
    border: 1px solid #1890ff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.order-detail-copy-btn:hover {
    background: #e6f7ff;
}
.order-detail-info-row-copy .order-detail-info-value {
    flex: 1;
    min-width: 0;
    text-align: right;
}
.order-detail-info-row-copy .order-detail-info-value-wrap {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
}
.order-detail-card-actions {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* 底部操作栏（位于底部导航之上） */
.order-detail-actions {
    position: fixed;
    bottom: 60px; /* 底部导航高度 */
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.order-detail-actions-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}
.order-detail-btn-accept {
    flex: 1;
    padding: 14px 24px;
    font-size: 18px;
    min-height: 52px;
    font-weight: 500;
}
.order-detail-btn-back {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
}
@media (max-width: 480px) {
    .order-detail-summary-value {
        font-size: 20px;
    }
    .order-detail-actions {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* 提交审核页 */
.submit-review-page {
    padding-bottom: 24px;
}
.submit-review-page .page-title {
    margin-bottom: 16px;
}
.submit-review-form-card {
    margin-top: 16px;
}
.submit-review-form .submit-review-field {
    margin-bottom: 20px;
}
.submit-review-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}
.submit-review-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s;
}
.submit-review-textarea:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}
.submit-review-textarea.is-invalid {
    border-color: #ff4d4f;
}
.submit-review-upload-wrap {
    position: relative;
}
.submit-review-file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}
.submit-review-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 20px;
    border: 2px dashed #d9d9d9;
    border-radius: 10px;
    background: #fafafa;
    color: #8c8c8c;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.submit-review-upload-btn:hover {
    border-color: #1890ff;
    background: #e6f7ff;
    color: #1890ff;
}
.submit-review-upload-btn i {
    font-size: 28px;
    margin-bottom: 8px;
    color: #bfbfbf;
}
.submit-review-upload-btn:hover i {
    color: #1890ff;
}
.submit-review-upload-btn small {
    font-size: 12px;
    margin-top: 4px;
    color: #bfbfbf;
}
.submit-review-upload-btn:hover small {
    color: #1890ff;
}
.submit-review-preview {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}
.submit-review-preview-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}
.submit-review-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.submit-review-preview-tip {
    width: 100%;
    margin: 4px 0 0;
    font-size: 13px;
    color: #8c8c8c;
}
.submit-review-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.submit-review-submit-btn {
    flex: 1;
    padding: 14px 24px;
    font-size: 16px;
    min-height: 48px;
    font-weight: 500;
}
.submit-review-cancel-btn {
    padding: 14px 20px;
    min-height: 48px;
}
.mt-1 { margin-top: 4px; }

/* ========== 打手端主色：深绿色 ========== */
.practitioner-page .btn-primary {
    background-color: #156b38;
    border-color: #156b38;
}
.practitioner-page .btn-primary:hover {
    background-color: #1a7d44;
    border-color: #1a7d44;
    box-shadow: 0 2px 8px rgba(21, 107, 56, 0.25);
}
.practitioner-page .bottom-nav .nav-item.active {
    color: #156b38;
}
.practitioner-page .bottom-nav .nav-item.active::after {
    background: #156b38;
}
.practitioner-page .bottom-nav .nav-item:hover {
    color: #1a7d44;
}
.practitioner-page .form-control:focus {
    border-color: #156b38;
}
.practitioner-page .input-group .form-control:focus {
    border-left-color: #156b38;
}
.practitioner-page .form-control:hover {
    border-color: #1a7d44;
}
.practitioner-page .pagination-controls .pagination-btn.active {
    background: #156b38;
    border-color: #156b38;
}
.practitioner-page .pagination-controls .pagination-btn:hover:not(.active):not(.disabled) {
    border-color: #156b38;
    color: #156b38;
}
.practitioner-page .pagination-jump-btn:hover {
    background: #156b38;
    border-color: #156b38;
}
.practitioner-page .login-tab.active {
    color: #156b38;
    border-bottom-color: #156b38;
}
.practitioner-page .file-upload-btn:hover {
    border-color: #156b38;
    color: #156b38;
}
.practitioner-page .my-orders-btn-outline:hover {
    border-color: #156b38;
    color: #156b38;
}
.practitioner-page .loading {
    border-top-color: #156b38;
}
.practitioner-page .order-detail-back .back-link {
    color: #156b38;
}
.practitioner-page .order-detail-back .back-link:hover {
    color: #1a7d44;
}
.practitioner-page .order-detail-btn-accept,
.practitioner-page .order-detail-actions-form .btn-primary {
    background-color: #156b38;
    border-color: #156b38;
}
.practitioner-page .order-detail-btn-accept:hover,
.practitioner-page .order-detail-actions-form .btn-primary:hover {
    background-color: #1a7d44;
    border-color: #1a7d44;
}
.practitioner-page .submit-review-textarea:focus {
    border-color: #156b38;
}
.practitioner-page .submit-review-upload-btn:hover {
    border-color: #156b38;
    background: #e8f5e9;
    color: #156b38;
}
.practitioner-page .submit-review-upload-btn:hover i,
.practitioner-page .submit-review-upload-btn:hover small {
    color: #156b38;
}
.practitioner-page .submit-review-submit-btn {
    background-color: #156b38;
    border-color: #156b38;
}
.practitioner-page .submit-review-submit-btn:hover {
    background-color: #1a7d44;
    border-color: #1a7d44;
}
.practitioner-page .wallet-modal-actions .btn-primary {
    background-color: #156b38;
    border-color: #156b38;
}
.practitioner-page .wallet-modal-actions .btn-primary:hover {
    background-color: #1a7d44;
    border-color: #1a7d44;
}
.practitioner-page .mobile-order-footer .mobile-btn.btn-primary {
    background: #156b38;
    border-color: #156b38;
}
.practitioner-page .mobile-order-footer .mobile-btn.btn-primary:hover {
    background: #1a7d44;
    border-color: #1a7d44;
}
.practitioner-page .filter-reset-btn {
    color: #156b38;
}
.practitioner-page .filter-reset-btn:hover {
    color: #156b38;
    background-color: #e8f5e9;
}
.practitioner-page .tab.active {
    color: #156b38;
    border-bottom-color: #156b38;
}
.practitioner-page .refresh-btn {
    background-color: #156b38;
    border-color: #156b38;
}
.practitioner-page .refresh-btn:hover {
    background-color: #1a7d44;
    border-color: #1a7d44;
}
.practitioner-page .breadcrumb-item a {
    color: #156b38;
}
.practitioner-page .status-pill.status-type-hall,
.practitioner-page .status-pill.status-type-assigned {
    color: #156b38;
    border-color: #156b38;
}
.practitioner-page .order-accept-btn.btn-primary {
    background: #156b38;
    border-color: #156b38;
}
.practitioner-page .order-accept-btn.btn-primary:hover {
    background: #1a7d44;
    border-color: #1a7d44;
}
.practitioner-page .my-orders-btn-primary {
    background: #156b38;
    border: none;
}
.practitioner-page .my-orders-btn-primary:hover {
    background: #1a7d44;
}

/* 提现详情页「重新申请提现」按钮 */
.practitioner-page .wallet-detail-card .wallet-reapply-btn,
.practitioner-page .order-detail-card .wallet-reapply-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    background-color: #156b38;
    border: 1px solid #156b38;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    margin-top: 8px;
    box-sizing: border-box;
}
.practitioner-page .wallet-detail-card .wallet-reapply-btn:hover,
.practitioner-page .order-detail-card .wallet-reapply-btn:hover {
    background-color: #1a7d44;
    border-color: #1a7d44;
    color: #fff;
}

/* 提交加载状态（打手端及通用） */
button.is-loading,
input[type=submit].is-loading,
.btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}
.btn-loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}
