/* 倒计时容器样式 */
.wp-countdown-container {
    margin: 20px 0;
    position: relative;
}

/* 横版轮播容器样式 */
.wp-countdown-carousel {
    overflow: hidden;
}

.wp-countdown-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.wp-countdown-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

/* 倒计时卡片样式 */
.wp-countdown-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
}

.wp-countdown-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 已结束考试卡片样式 */
.wp-countdown-card.wp-countdown-finished {
    opacity: 0.8;
    position: relative;
}

.wp-countdown-card.wp-countdown-finished::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.wp-countdown-header {
    background: #4a6fa5;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-countdown-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

/* 闹钟图标 */
.wp-countdown-header h3::before {
    content: "\f0f3";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 16px;
}

.wp-countdown-status {
    background: #e74c3c;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.wp-countdown-days {
    background: #2ecc71;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.wp-countdown-date {
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* 励志语句样式 */
.wp-countdown-motivational {
    padding: 15px 20px;
    font-size: 14px;
    color: #555;
    background: #e8f5e9; /* 浅绿色背景 */
    text-align: center; /* 居中显示 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
}

/* 励志语句滚动动画 */
.wp-countdown-motivational.scrolling {
    animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 管理页面样式 */
.status-finished {
    color: #dc3545;
    font-weight: bold;
}

.status-upcoming {
    color: #28a745;
    font-weight: bold;
}

/* 隐藏轮播控制元素 */
.wp-countdown-prev, .wp-countdown-next, .wp-countdown-dots {
    display: none !important;
}