/* 全局样式 - 高端权威出版风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================== Toast 提示组件 ==================== */
.toast {
    position: fixed;
    top: 80px;
    right: 24px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid #16A34A;
}

.toast-error {
    border-left: 4px solid #DC2626;
}

.toast-warning {
    border-left: 4px solid #F59E0B;
}

.toast-info {
    border-left: 4px solid #165DFF;
}

.toast-loading {
    border-left: 4px solid #6366F1;
}

.toast-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-success .toast-icon { color: #16A34A; }
.toast-error .toast-icon { color: #DC2626; }
.toast-warning .toast-icon { color: #F59E0B; }
.toast-info .toast-icon { color: #165DFF; }
.toast-loading .toast-icon { 
    color: #6366F1;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.2s;
}

.toast-close:hover {
    background: #F5F5F5;
    color: #333;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #2c3e50;
    background: #f8f9fa;
}

a {
    color: #1a5276;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: #c0392b;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 顶部导航 - 深蓝色权威风格 */
.header {
    background: linear-gradient(135deg, #0c2340 0%, #1a3a5c 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #c0392b;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.site-name {
    font-size: 22px;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    gap: 5px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    padding: 12px 25px;
    border-radius: 0;
    transition: all 0.3s;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(192, 57, 43, 0.8);
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c0392b;
}

/* 首页横幅 - 庄重权威 */
.banner {
    background: linear-gradient(135deg, #0c2340 0%, #1a3a5c 50%, #2c5282 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 4px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.banner p {
    font-size: 20px;
    opacity: 0.95;
    letter-spacing: 2px;
    font-weight: 300;
}

/* 主内容区 */
.main-content {
    padding: 40px 30px;
    background: white;
    margin-top: 0;
    box-shadow: none;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    color: #7f8c8d;
    font-size: 13px;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #7f8c8d;
}

.breadcrumb a:hover {
    color: #c0392b;
}

/* 教材网格 */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    padding: 20px 0;
}

.book-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.4s;
    border: 1px solid #e8e8e8;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #1a5276;
}

.book-cover-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.book-card:hover .book-cover {
    transform: scale(1.05);
}

.book-cover[src*="default-cover"] {
    object-fit: contain;
    background: linear-gradient(135deg, #0c2340 0%, #1a3a5c 100%);
}

.book-category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(192, 57, 43, 0.95);
    color: white;
    padding: 6px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.book-info {
    padding: 25px;
}

.book-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.5;
    height: 54px;
    overflow: hidden;
    font-weight: 600;
}

.book-meta {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 12px;
}

.book-price {
    color: #c0392b;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.book-actions {
    display: flex;
    gap: 12px;
}

/* 按钮样式 - 权威风格 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-primary {
    background: #1a5276;
    color: white;
    border: 2px solid #1a5276;
}

.btn-primary:hover {
    background: #0c2340;
    border-color: #0c2340;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.3);
}

.btn-secondary {
    background: #c0392b;
    color: white;
    border: 2px solid #c0392b;
}

.btn-secondary:hover {
    background: #a93226;
    border-color: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.btn-success {
    background: #27ae60;
    color: white;
    border: 2px solid #27ae60;
}

.btn-success:hover {
    background: #229954;
    border-color: #229954;
}

.btn-danger {
    background: #c0392b;
    color: white;
    border: 2px solid #c0392b;
}

.btn-danger:hover {
    background: #a93226;
    border-color: #a93226;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-large {
    padding: 14px 35px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 教材详情页 */
.book-detail {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    padding: 40px 0;
}

.book-detail-left {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.book-detail-cover {
    width: 100%;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    border: 3px solid #e8e8e8;
    margin-bottom: 25px;
}

.book-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book-detail-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0c2340;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.4;
}

.book-series {
    background: #f0f4f8;
    padding: 12px 18px;
    margin-bottom: 25px;
    border-left: 4px solid #c0392b;
    color: #1a5276;
    font-size: 14px;
    font-weight: 500;
}

/* 教材元数据网格 */
.book-meta-grid {
    background: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #1a5276;
}

.meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8e8e8;
}

.meta-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-item.full-width {
    grid-column: 1 / -1;
}

.meta-label {
    color: #7f8c8d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.meta-value {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
}

.meta-value.price {
    color: #c0392b;
    font-size: 24px;
    font-weight: bold;
}

.book-content-sections {
    margin-top: 50px;
}

/* 内容区域包装器 */
.book-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 50px;
}

.book-content-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.book-content-right {
    height: fit-content;
}

/* 版权信息 */
.copyright-info {
    font-size: 14px;
    line-height: 1.8;
}

.copyright-item {
    margin-bottom: 10px;
    display: flex;
}

.copyright-label {
    color: #7f8c8d;
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

.copyright-value {
    color: #2c3e50;
    flex: 1;
}

.copyright-notice {
    margin-top: 20px;
    padding: 20px;
    background: #fdf2f2;
    border-left: 4px solid #c0392b;
    color: #c0392b;
    font-size: 13px;
    line-height: 1.8;
}

.copyright-notice strong {
    color: #a93226;
}

/* 目录样式 */
.catalog-box {
    position: sticky;
    top: 90px;
}

.catalog-content {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.catalog-content::-webkit-scrollbar {
    width: 6px;
}

.catalog-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.catalog-content::-webkit-scrollbar-thumb {
    background: #1a5276;
    border-radius: 0;
}

.catalog-level-0 {
    margin-bottom: 10px;
}

.catalog-level-1 {
    margin-bottom: 12px;
}

.catalog-level-1.collapsed .catalog-children {
    display: none;
}

.catalog-level-2 {
    margin-left: 20px;
    margin-bottom: 8px;
}

/* 三级目录容器 */
.catalog-level-3-container {
    margin-top: 8px;
    padding-left: 15px;
    border-left: 2px solid #e8e8e8;
}

.catalog-level-3 {
    margin-bottom: 6px;
}

.catalog-level-3 .catalog-link {
    font-size: 13px;
    color: #666;
    padding-left: 15px;
}

.catalog-link {
    display: block;
    padding: 8px 12px;
    color: #34495e;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    font-size: 14px;
}

.catalog-link:hover {
    background: #f8f9fa;
    color: #1a5276;
    padding-left: 18px;
}

.catalog-link strong {
    color: #0c2340;
    font-weight: 600;
}

.expand-icon {
    position: absolute;
    right: 12px;
    color: #7f8c8d;
    font-size: 12px;
    transition: transform 0.3s;
}

.catalog-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

.btn-link {
    background: none;
    border: none;
    color: #1a5276;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s;
}

.btn-link:hover {
    color: #c0392b;
    background: #f8f9fa;
}

/* 相关推荐 */
.related-box {
    margin-top: 40px;
}

.related-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-book-card {
    display: block;
    background: white;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
    text-decoration: none;
}

.related-book-card:hover {
    border-color: #1a5276;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-book-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 2px solid #ecf0f1;
}

.related-book-info {
    padding: 15px;
}

.related-book-info h4 {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.related-price {
    color: #c0392b;
    font-size: 16px;
    font-weight: bold;
}

.section-box {
    background: white;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #1a5276;
}

.section-title {
    font-size: 22px;
    color: #0c2340;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: none;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-bar {
    display: inline-block;
    width: 4px;
    height: 24px;
    background: #1a5276;
    flex-shrink: 0;
}

.section-content {
    line-height: 2;
    color: #34495e;
    font-size: 15px;
}

/* 分类浏览页 */
.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 30px 0;
}

.category-sidebar {
    background: white;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: fit-content;
    border-left: 4px solid #c0392b;
}

.sidebar-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: #0c2340;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    font-weight: bold;
    letter-spacing: 2px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 12px 18px;
    color: #34495e;
    transition: all 0.3s;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.category-list a:hover,
.category-list li.active a {
    background: #0c2340;
    color: white;
    border-left-color: #c0392b;
    padding-left: 25px;
}

.category-content {
    background: white;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* 登录注册页 */
.auth-container {
    max-width: 500px;
    margin: 60px auto;
}

.auth-box {
    background: white;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #1a5276;
}

.auth-box h2 {
    font-size: 26px;
    margin-bottom: 35px;
    text-align: center;
    color: #0c2340;
    font-weight: bold;
    letter-spacing: 3px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 0;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #1a5276;
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    color: #7f8c8d;
    font-size: 14px;
}

.auth-switch a {
    color: #c0392b;
    font-weight: 600;
}

/* 提示信息 */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: #fdf2f2;
    color: #c0392b;
    border-left: 4px solid #c0392b;
}

.alert-success {
    background: #f0fff4;
    color: #27ae60;
    border-left: 4px solid #27ae60;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #95a5a6;
}

.empty-state p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* 页面标题 */
.page-title {
    font-size: 28px;
    color: #0c2340;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 2px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ecf0f1;
}

/* 底部 - 权威风格 */
.footer {
    background: linear-gradient(135deg, #0c2340 0%, #1a3a5c 100%);
    color: white;
    padding: 50px 0 30px;
    margin-top: 60px;
    border-top: 3px solid #c0392b;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: bold;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .book-detail {
        grid-template-columns: 1fr;
    }

    .book-detail-left {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .book-content-wrapper {
        grid-template-columns: 1fr;
    }

    .book-content-right {
        order: -1;
    }

    .catalog-box {
        position: relative;
        top: 0;
    }

    .catalog-content {
        max-height: 400px;
    }

    .meta-row {
        grid-template-columns: 1fr;
    }

    .related-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        margin-bottom: 25px;
    }

    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .banner h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .banner p {
        font-size: 16px;
    }

    .banner {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .related-books-grid {
        grid-template-columns: 1fr;
    }

    .book-detail-title {
        font-size: 24px;
    }

    .section-box {
        padding: 20px;
    }

    /* 移动端登录提示框优化 */
    .login-prompt-dialog {
        width: 95%;
        max-width: none;
    }

    .login-prompt-header {
        padding: 20px;
    }

    .login-prompt-header h3 {
        font-size: 18px;
    }

    .login-prompt-body {
        padding: 25px 20px;
    }

    .login-prompt-footer {
        padding: 20px;
        flex-direction: column;
    }

    .login-prompt-footer .btn {
        width: 100%;
    }

    /* 移动端 Toast 位置调整 */
    .toast-message {
        top: 80px;
        right: 15px;
        left: 15px;
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* 登录提示框 - 权威风格 */
.login-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 35, 64, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-prompt-dialog {
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 480px;
    width: 90%;
    border-left: 5px solid #c0392b;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-prompt-header {
    background: linear-gradient(135deg, #0c2340 0%, #1a3a5c 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #c0392b;
}

.login-prompt-header h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: all 0.3s;
}

.close-btn:hover {
    color: #c0392b;
    transform: rotate(90deg);
}

.login-prompt-body {
    padding: 35px 30px;
}

.login-prompt-body p {
    margin: 0 0 15px 0;
    color: #34495e;
    font-size: 16px;
    line-height: 1.8;
}

.login-hint {
    color: #7f8c8d;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.login-prompt-footer {
    padding: 25px 30px;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.login-prompt-footer .btn {
    min-width: 120px;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 锁图标 */
.lock-icon {
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    opacity: 0.6;
}

/* 锁定状态的链接 */
.catalog-link.locked {
    color: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
}

.catalog-link.locked:hover {
    background: #f8f9fa;
    color: #95a5a6;
    padding-left: 12px;
}

/* Toast 消息提示 */
.toast-message {
    position: fixed;
    top: 100px;
    right: 30px;
    padding: 18px 30px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s;
    border-left: 4px solid;
}

.toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-left-color: #1e8449;
}

.toast-error {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    border-left-color: #922b21;
}
