* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    min-height: 100vh;
    padding-top: 80px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(22, 22, 40, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin: 0 15px;
}

.nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav a:hover {
    color: #ff6b00;
}

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

.user-actions a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.user-actions a:hover {
    color: #ff6b00;
}

.login-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

/* 弹窗样式 - 优化居中版本 */
.apply-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    padding: 20px;
    box-sizing: border-box;
}

.apply-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.apply-modal-content {
    background: rgba(30, 30, 46, 0.95);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.apply-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.apply-modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.apply-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    flex-shrink: 0;
}

.apply-modal-close:hover {
    background: rgba(255, 107, 0, 0.2);
    color: #ff6b00;
}

.apply-modal-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
}

.apply-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-shrink: 0;
    background: rgba(40, 40, 60, 0.5);
}

.apply-btn {
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
    min-width: 100px;
}

.cancel-apply {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-apply:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.submit-apply {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.submit-apply:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff7a2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.submit-apply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 表单样式 */
.apply-form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.apply-form .form-group {
    margin-bottom: 20px;
}

.apply-form .form-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.apply-form .form-input,
.apply-form .form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.apply-form .form-input:focus,
.apply-form .form-textarea:focus {
    outline: none;
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1);
}

.price-input-wrapper {
    position: relative;
    display: block;
}

.price-prefix {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    z-index: 2;
}

.price-input-wrapper .form-input {
    padding-left: 35px;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.form-tips {
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 20px;
}

.form-tips p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.4;
}

/* 全局消息样式 */
.global-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 80%;
    text-align: center;
}

.global-message-success {
    background: #52c41a;
}

.global-message-error {
    background: #ff4d4f;
}

.global-message-info {
    background: #1890ff;
}

.global-message-warning {
    background: #faad14;
}

/* 个人中心布局 */
.personal-center {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

.personal-sidebar {
    flex: 0 0 280px;
    background: rgba(30, 30, 46, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.user-info {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid rgba(255, 107, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.user-phone {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.menu-item a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.menu-item a:hover,
.menu-item a.active {
    background: rgba(255, 107, 0, 0.2);
    color: #ff6b00;
    border-left: 3px solid #ff6b00;
}

.menu-item a i {
    margin-right: 10px;
    font-size: 18px;
}

.personal-content {
    flex: 1;
    background: rgba(30, 30, 46, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-height: 600px;
}

.content-section {
    display: none;
}

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

.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.info-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.info-label {
    width: 120px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.info-value {
    flex: 1;
    color: #fff;
}

.edit-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.edit-btn:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff7a2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-item {
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}

.tab-item.active {
    color: #ff6b00;
}

.tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6b00;
}

.order-list, .material-list, .course-list, .demand-list {
    display: none;
}

.order-list.active, .material-list.active, .course-list.active, .demand-list.active {
    display: block;
}

.order-card, .material-card, .course-card, .demand-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
    background: rgba(40, 40, 60, 0.5);
}

.order-card:hover, .material-card:hover, .course-card:hover, .demand-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
    border-color: rgba(255, 107, 0, 0.3);
}

.order-header, .demand-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.order-id, .demand-id {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.order-status, .demand-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: rgba(255, 168, 0, 0.2);
    color: #ffa800;
    border: 1px solid rgba(255, 168, 0, 0.3);
}

.status-in-progress {
    background: rgba(24, 144, 255, 0.2);
    color: #1890ff;
    border: 1px solid rgba(24, 144, 255, 0.3);
}

.status-completed {
    background: rgba(82, 196, 26, 0.2);
    color: #52c41a;
    border: 1px solid rgba(82, 196, 26, 0.3);
}

.status-material-upload {
    background: rgba(255, 168, 0, 0.2);
    color: #ffa800;
    border: 1px solid rgba(255, 168, 0, 0.3);
}

.status-sample-upload {
    background: rgba(135, 70, 255, 0.2);
    color: #8746ff;
    border: 1px solid rgba(135, 70, 255, 0.3);
}

.order-title, .demand-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.order-meta, .demand-meta, .order-price, .demand-price {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 5px;
}

.demand-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    line-height: 1.5;
}

.material-thumb, .course-thumb {
    width: 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
}

.material-thumb img, .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.material-item, .course-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.material-item:last-child, .course-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.material-info, .course-info {
    flex: 1;
}

.material-title, .course-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #fff;
}

.material-meta, .course-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.setting-item {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(40, 40, 60, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.setting-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

/* 订单大厅搜索区域 */
.order-hall-search {
    background: rgba(40, 40, 60, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.form-input, .form-select {
    width: 100%;
    padding: 10px 15px;
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: rgba(255, 107, 0, 0.5);
}

.search-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    font-weight: 500;
}

.search-btn:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff7a2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.reset-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* 订单大厅列表 */
.order-hall-list {
    margin-top: 20px;
}

.order-hall-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
    background: rgba(40, 40, 60, 0.5);
    position: relative;
}

.order-hall-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
    border-color: rgba(255, 107, 0, 0.3);
}

.order-hall-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: flex-start;
}

.order-hall-id {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 14px;
}

.order-hall-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.order-hall-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    font-size: 18px;
}

.order-hall-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.order-hall-price {
    font-size: 18px;
    font-weight: 600;
    color: #ff6b00;
    margin: 10px 0;
}

.order-hall-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.order-hall-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.order-hall-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-tag {
    background: rgba(255, 107, 0, 0.15);
    color: rgba(255, 107, 0, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.order-hall-actions {
    display: flex;
    gap: 10px;
}

.accept-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    font-weight: 500;
}

.accept-btn:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff7a2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.detail-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.detail-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 15px;
    background: rgba(40, 40, 60, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.pagination-btn:hover {
    background: rgba(255, 107, 0, 0.2);
    color: #ff6b00;
    border-color: rgba(255, 107, 0, 0.3);
}

.pagination-btn.active {
    background: rgba(255, 107, 0, 0.3);
    color: #ff6b00;
    border-color: rgba(255, 107, 0, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.disabled:hover {
    background: rgba(40, 40, 60, 0.5);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 15px;
}

.pagination-ellipsis {
    padding: 8px 5px;
    color: rgba(255, 255, 255, 0.5);
}

/* 我的素材样式 */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.material-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    background: rgba(40, 40, 60, 0.5);
}

.material-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
    border-color: rgba(255, 107, 0, 0.3);
}

.material-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.material-card:hover .material-image img {
    transform: scale(1.05);
}

.material-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 107, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.material-info {
    padding: 15px;
}

.material-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.material-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.material-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.material-price {
    font-size: 18px;
    font-weight: 600;
    color: #ff6b00;
    margin-bottom: 12px;
}

.material-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.material-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.material-actions .edit-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    flex: 1;
    text-align: center;
}

.material-actions .edit-btn:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff7a2e 100%);
    transform: translateY(-1px);
}

.material-actions .detail-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    flex: 1;
    text-align: center;
}

.material-actions .detail-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* 空状态样式 */
.no-materials {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-materials-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-materials h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.no-materials p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* 图标样式 */
.icon-user:before { content: "👤"; }
.icon-shopping-cart:before { content: "🛒"; }
.icon-file-text:before { content: "📄"; }
.icon-video:before { content: "🎬"; }
.icon-settings:before { content: "⚙️"; }
.icon-plus-circle:before { content: "➕"; }
.icon-order-hall:before { content: "🏢"; }
.icon-logout:before { content: "🚪"; }

/* 退出登录按钮的特殊样式 */
#logout-btn {
    color: rgba(255, 100, 100, 0.8) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

#logout-btn:hover {
    background: rgba(255, 100, 100, 0.2) !important;
    color: #ff6464 !important;
    border-left: 3px solid #ff6464;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .personal-center {
        flex-direction: column;
    }
    
    .personal-sidebar {
        flex: 1;
        margin-bottom: 20px;
    }
    
    .tab-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
}

/* 响应式调整 */
@media (max-width: 767px) {
    .apply-modal {
        padding: 10px;
    }
    
    .apply-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .apply-modal-body {
        padding: 20px;
        max-height: calc(90vh - 140px);
    }
    
    .apply-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .apply-btn {
        padding: 12px 20px;
        width: 100%;
    }
}

@media (max-height: 600px) {
    .apply-modal-content {
        max-height: 95vh;
    }
    
    .apply-modal-body {
        max-height: calc(95vh - 140px);
    }
}

/* 页脚样式 */
.footer {
    background: rgba(22, 22, 40, 0.95);
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff6b00;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-bottom-links {
    display: flex;
    list-style: none;
}

.footer-bottom-links li {
    margin-left: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #ff6b00;
}

/* 预加载动画 */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid #ff6b00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 加载状态 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 新增样式 */
.no-orders, .loading-text {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.order-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    line-height: 1.5;
}

/* 我的订单操作按钮样式 */
.order-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.order-actions .edit-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c42 100%);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.order-actions .edit-btn:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff7a2e 100%);
    transform: translateY(-1px);
}

.order-actions .detail-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.order-actions .detail-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* 选项卡滚动样式（因为选项卡较多） */
.tab-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tab-item {
    display: inline-block;
    white-space: nowrap;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,0.7);
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    background: rgba(30,30,46,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: white;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

/* 搜索区域样式补充 */
.material-search {
    background: rgba(40, 40, 60, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 退出登录确认弹窗 */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.confirm-content {
    background: rgba(35, 35, 55, 0.95);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.confirm-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}