
.resources {
    padding: 50px;
    background: #F6F6F6;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 1.2rem;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.quick-actions, .recent-activity {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-actions h2, .recent-activity h2 {
    font-size: 1.4rem;
    margin-bottom: 45px;
    margin-top: 20px;
    color: #333;
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.action-item:hover {
    background-color: #f8f9fa;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.action-icon.blue {
    background-color: #4285f4;
}

.action-icon.green {
    background-color: #34a853;
}

.action-icon.purple {
    background-color: #9c27b0;
}

.action-icon.orange {
    background-color: #ff9800;
}

.action-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.action-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0px;
}

/* 最近活动 */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background-color: #667eea;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.activity-content p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 5px;
}

.activity-time {
    font-size: 0.8rem;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resources {
        padding: 15px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-actions, .recent-activity {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .action-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
  .card {
            background: white;
            border: 1px solid #e1e5e9;
            padding: 50px;
            margin-top: 50px;
            margin-bottom: 50px;
            width: 100%;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: #3465df;
            background-size: 200% 100%;
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { background-position: -200% 0; }
            50% { background-position: 200% 0; }
        }

        
        .floating-decoration {
            position: absolute;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            top: 20px;
            right: 20px;
            animation: float 4s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(180deg); }
        }

        @media (max-width: 768px) {
            .card {
                padding: 30px 25px;
                margin: 10px;
            }
            
        }



.audit-flow {
  padding: 0 20px;
  overflow-x: auto;
}

.flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.flow-module {
  display: flex;
  width: 500px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 6px;
  overflow: hidden;
  font-weight: 600;
}

.flow-module:hover {
  transform: scale(1.05);
}

.text-block {
  flex: 1;
  background-color: #e5e9ee85; /* 文字区域背景色 */
  color: #fcffe3;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-block h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.text-block p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

.icon-block {
  width: 120px;  /* 固定宽高，形成右侧色块 */
  background-color: #3465df; /* 右侧色块背景色，示例 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-block .icon {
  font-size: 48px;
  color: #fff;
}


/* 箭头 */
.flow-arrow {
  font-size: 24px;
  color: #0a60e6;
  animation: bounce 1.2s infinite;
  user-select: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* 移动端响应 */
@media (max-width: 600px) {
  .flow-module {
    width: 100%;
    flex-direction: column;
  }
  .icon-block {
    width: 100%;
    height: 100px;
  }
  .text-block {
    padding: 15px;
  }
}


.stepmod-container {
  width: 550px;
  height: auto;
  border: 1px solid #fff;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  background-color: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
}


.stepmod-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.stepmod-steps button {
  flex: 1;
  min-width: 70px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 500;
}

.stepmod-steps button:hover,
.stepmod-steps button.active {
  background-color: #007BFF;
  color: #fff;
  border-color: #007BFF;
}

.stepmod-content h3 {
  font-size: 18px;
  margin: 12px 0 8px;
  color: #333;
}

.stepmod-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 12px;
}

.stepmod-content img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: cover;
  border-radius: 6px;
}

/* 移动端适配 */
@media (max-width: 600px) {
  .stepmod-container {
    width: 95%;
    height: auto;
  }

  .stepmod-steps {
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }

  .stepmod-steps button {
    font-size: 10px;
    padding: 6px 8px;
    min-width: auto;
    flex: 0 0 auto;
  }

  .stepmod-content h3 {
    font-size: 16px;
  }

  .stepmod-content p {
    font-size: 13px;
  }

  .stepmod-content img {
    max-height: 200px;
  }
}



  .rbac-container {
    max-width: 1344px;
    margin: 0 auto 100px auto;
    padding: 20px;
  }

  .rbac-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
  }

  .rbac-flow {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .rbac-step {
    flex: 1 1 150px;
    background-color: #fff;
/*    border: 0px solid #ddd;*/
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 15px 5px rgba(203, 219, 246, 0.85);
    position: relative;
    z-index: 1;
  }

.rbac-step:hover {
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
  cursor: pointer;
  }

  .rbac-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .rbac-step-title {
    font-size: 18px;
    font-weight: bold;
    color:#403e42;
    margin-bottom: 8px;
  }

  .rbac-step-desc {
    font-size: 14px;
    color: #555;
  }

  .arrow {
    flex: 0 0 40px;
    height: 20px;
    position: relative;
    animation: blinkArrow 1.5s infinite;
  }

  .arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 12px solid #007bff;
    animation: moveArrow 1s infinite;
  }

  @keyframes blinkArrow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }

  @keyframes moveArrow {
    0% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(2px); }
    100% { transform: translateY(-50%) translateX(0); }
  }

  @media (max-width: 768px) {
    .rbac-flow {
      flex-direction: column;
      gap: 40px;
    }
    .arrow {
      display: none;
    }
    .rbac-step {
      flex: 1 1 100%;
    }
  }

span.ul-text {
  font-size: 16px;
  color: #6d6c74;
  line-height: 1.5;
  font-weight: 400;
}

ul.ul-text {
  font-size: 16px;
  color: #6d6c74;
  line-height: 1.7;
  font-weight: 400;
}

h2.product-title {
  font-size: 60px;
  color: var(--theme-color-light);
  margin-bottom: 35px;
}

.glass-table {
  width: 100%;
  border-collapse: collapse;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.glass-table th, .glass-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.glass-table th {
  background-color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
  color: #333;
}
.glass-table tr:hover {
  background-color: rgba(255, 255, 255, 0.4);
}
.document-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-item {
    background: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.document-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.document-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.ppt-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #ED6C47;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.excel-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #217346, #185C37);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.document-details {
    flex: 1;
    min-width: 0;
}

.document-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    line-height: 1.4;
}

.document-meta {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

.document-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.action-link:hover {
    color: #495057;
    background-color: #f8f9fa;
}

.action-link i {
    font-size: 14px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .document-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
 .ppt-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .document-title {
        font-size: 1rem;
    }
    
    .document-meta {
        font-size: 0.8rem;
    }
    
    .document-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 12px;
    }
    
    .action-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .document-item {
        padding: 12px;
    }
    
    .document-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .action-link {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.document-item {
    animation: fadeInUp 0.6s ease forwards;
}

.document-item:nth-child(1) { animation-delay: 0.1s; }
.document-item:nth-child(2) { animation-delay: 0.2s; }
.document-item:nth-child(3) { animation-delay: 0.3s; }
.document-item:nth-child(4) { animation-delay: 0.4s; }
.document-item:nth-child(5) { animation-delay: 0.5s; }
.document-item:nth-child(6) { animation-delay: 0.6s; }

/* Hero Section */
.hero-section {
    background-color: #fff;
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.hero-section .container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.hero-content {
    flex: 2;
}

.hero-image-main img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-text {
    margin-top: 25px;
}

.hero-text .live-training {
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 36px;
    color: #333;
    line-height: 1.2;
    margin: 0;
}

.hero-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-item {
    display: flex;
    gap: 15px;
    background-color: #fefefe;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.sidebar-item:hover {
    transform: translateY(-3px);
}

.sidebar-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-item .sidebar-text {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-item .category {
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.sidebar-item h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Resource Library */
.resource-library {
    padding: 50px 0;
}

.resource-library h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.library-content {
    display: flex;
    gap: 40px;
}

/* Categories Section (替换原来的filters) */
.categories {
    flex: 1;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.categories h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 20px 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-link {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.category-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.category-link.active {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.resource-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.resource-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pdf-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ffc107;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.live-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.demo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #6f42c1;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 20px;

}

.card-category {
    color: #007bff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.card-title {
    font-size: 18px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
}

.card-actions {
    display: flex;
    gap: 15px;
}

.card-actions a {
    text-decoration: none;
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.card-actions a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }

    .hero-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sidebar-item {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .library-content {
        flex-direction: column;
    }

    .categories {
        margin-bottom: 30px;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .category-list li {
        margin-bottom: 0;
    }

    .category-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 28px;
    }

    .sidebar-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .resource-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 24px;
    }

    .hero-section {
        padding: 30px 0;
    }

    .hero-text .live-training {
        font-size: 12px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .resource-library h2 {
        font-size: 28px;
    }

    .categories {
        padding: 20px;
    }

    .category-list {
        flex-direction: column;
    }

    .category-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 15px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-actions a {
        font-size: 12px;
    }
}

