/* 专项提升页面 */
.special-improvement-wrap {
    align-items: stretch;
}

.special-left {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 30px 16px;
}

.special-right {
    width: 316px;
    flex-shrink: 0;
}

/* 顶部标题区 */
.special-header {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    background: linear-gradient(270deg, #EAF4FF 0%, #F4FAFF 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.special-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.special-header-back {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.special-header-back img {
    width: 24px;
    height: 24px;
}

.special-header-text h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.special-header-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.special-header-img {
    height: 140px;
    width: auto;
    object-fit: contain;
}

/* 下方主区域：日历 + 推荐卡片 */
.special-main {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 40px;
}

/* 左侧日历 */
.special-calendar-box {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    max-width: 413px;
}

.special-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-prev,
.calendar-next {
    width: 20px;
    height: 20px;
    cursor: pointer;
    object-fit: contain;
}

.calendar-ym {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
}

.calendar-view-tabs {
    display: flex;
    align-items: center;
    background: #F5F7FA;
    border-radius: 20px;
    padding: 2px;
}

.calendar-view-tabs span {
    min-width: 34px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 14px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 6px;
}

.calendar-view-tabs span.active {
    background: #fff;
    color: #0065FF;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.calendar-weekdays {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    max-width: 413px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-weekdays span {
    width: 14.2857%;
    text-align: center;
    font-size: 12px;
    color: #999;
    box-sizing: border-box;
}

.calendar-days {
    display: flex;
    flex-wrap: wrap;
    max-width: 320px;
    margin: 0 auto;
}

.calendar-week {
    display: flex;
    flex-wrap: nowrap;
    max-width: 413px;
    margin: 0 auto;
}

.calendar-day {
    width: 14.2857%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    transition: all 0.15s;
    box-sizing: border-box;
}

.calendar-week .calendar-day {
    width: 14.2857%;
    height: 40px;
}

.calendar-day.empty {
    color: #ccc;
    cursor: default;
}

.calendar-day:not(.empty):hover {
    background: #F0F7FF;
}

.calendar-day.today {
    border: 1.5px solid #0065FF;
    color: #0065FF;
    font-weight: 600;
    border-radius: 8px;
}

.calendar-day.active {
    background: #0065FF;
    color: #fff;
    font-weight: 500;
}

.calendar-day.done::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00C853;
}

.calendar-day.today.done::after {
    background: #0065FF;
}

.calendar-day.active.done::after {
    background: #fff;
}

.day-mark {
    position: absolute;
    top: 1px;
    right: 3px;
    font-size: 10px;
    color: #0065FF;
    line-height: 1;
    font-weight: 600;
}

.calendar-day.active .day-mark {
    color: #fff;
}

.calendar-summary {
    text-align: right;
    font-size: 13px;
    color: #0065FF;
    margin-top: 14px;
    font-weight: 500;
}

/* 右侧推荐卡片 */
.special-recommend-box {
    width: 348px;
    flex-shrink: 0;
}

.special-recommend-card {
    background: linear-gradient(180deg, #EBF4FF 0%, #FFFFFF 100%);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.special-recommend-header {
    background: linear-gradient(135deg, #E0EFFF 0%, #F0F8FF 100%);
    padding: 20px 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    border-radius: 16px 16px 0 0;
}

.special-recommend-title-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    z-index: 1;
    padding-bottom: 10px;
}

.special-recommend-icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.special-recommend-title-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 6px 0;
}

.special-recommend-title-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.special-recommend-robot {
    width: 138px;
    height: auto;
    object-fit: contain;
    position: absolute;
    right: 16px;
    bottom: -35px;
    z-index: 0;
}

.special-recommend-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    z-index: 1;
    border-radius: 0 0 16px 16px;
}

.special-recommend-question {
    font-size: 16px;
    color: #1A1A1A;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 12px;
}

.special-recommend-cate {
    font-size: 13px;
    color: #999;
    margin-bottom: auto;
}

.special-recommend-go {
    display: flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    background: #0065FF;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    margin: 24px auto 0;
    transition: background 0.2s;
}

.special-recommend-go:hover {
    background: #0052CC;
    color: #fff;
}

/* 响应式：小屏时卡片下移 */
@media (max-width: 1100px) {
    .special-main {
        flex-direction: column;
    }
    .special-recommend-box {
        width: 100%;
    }
}
