/* 卡片容器 */
.rc-cards-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .rc-cards-container {
        grid-template-columns: 1fr !important;
    }
}

/* 单个卡片样式（边框由动态设置控制） */
.rc-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s;
    /* 边框宽度固定为2px，颜色由动态设置控制 */
    border: 10px solid transparent;
}
.rc-card:hover {
    transform: translateY(-5px);
}

/* 卡片图片 */
.rc-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 标题样式（左对齐） */
.rc-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 15px;
    text-align: left;
    margin: 0;
    font-weight: normal;
    line-height: 1.5;
    z-index: 2;
}

/* 状态标签（圆角+同步边框颜色） */
.rc-card-status {
    position: absolute;
    top: 0px; /* 下移一点更美观 */
    left: 0px;
    padding: 6px 12px;
    color: white;
    font-weight: bold;
    z-index: 2;
    border-radius: 0px 0px 10px 0px; /* 左上10px、右上20px、右下30px、左下40px */
    font-size: 14px;
}

/* 序号显示 */
.rc-card-number {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    background-color: rgba(0,0,0,0.3);
    color: white;
    z-index: 2;
    border-radius: 20px; /* 序号也同步圆角 */
}

/* 弹窗样式 */
.rc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.rc-popup-content {
    background-color: white;
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.rc-popup-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}