/* 五行穿衣指南专用样式 */
.wuxing-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.wuxing-title-area {
    background: linear-gradient(135deg, #d4a017, #b8860b);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.wuxing-title-center h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumb {
    background: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb .fa-home {
    margin-right: 8px;
    color: #d4a017;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

/* 日期导航 */
.date-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #d4a017;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-btn:hover {
    background: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

.current-date-info {
    text-align: center;
}

.solar-date {
    font-size: 24px;
    font-weight: bold;
    color: #d4a017;
    margin-bottom: 4px;
}

.lunar-date {
    font-size: 14px;
    color: #666;
}

/* 通用区块样式 */
.section-title {
    background: #d4a017;
    color: #fff;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.section-content {
    padding: 30px;
    background: #fff;
}

/* 五行分析 */
.wuxing-analysis-section {
    margin: 30px 0;
}

.wuxing-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wuxing-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.wuxing-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.item-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.item-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.wuxing-highlight {
    color: #d4a017;
    font-size: 20px;
}

/* 穿衣建议核心区域 */
.chuanyi-main-section {
    margin: 30px 0;
}

.chuanyi-recommendations {
    display: grid;
    gap: 25px;
}

.color-recommend {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.color-recommend:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.color-recommend.daji {
    border: 3px solid #28a745;
}

.color-recommend.ciji {
    border: 3px solid #17a2b8;
}

.color-recommend.pingping {
    border: 3px solid #ffc107;
}

.color-recommend.shenyong {
    border: 3px solid #fd7e14;
}

.color-recommend.jiyong {
    border: 3px solid #dc3545;
}

.recommend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #d4a017, #b8860b);
    color: #fff;
}

.recommend-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
}

.recommend-effect {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.color-display {
    padding: 25px;
    background: #fff;
    text-align: center;
}

.color-items-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.color-block {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 8px;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 具体颜色定义 */
.color-黑色,
.color-black {
    background: #000000;
}

.color-蓝色,
.color-blue {
    background: #0066cc;
}

.color-白色,
.color-white {
    background: #ffffff;
    border-color: #ddd !important;
}

.color-银色,
.color-silver {
    background: #c0c0c0;
}

.color-米白,
.color-beige {
    background: #f5f5dc;
    border-color: #ddd !important;
}

.color-灰色,
.color-gray {
    background: #808080;
}

.color-红色,
.color-red {
    background: #dc3545;
}

.color-紫色,
.color-purple {
    background: #6f42c1;
}

.color-粉色,
.color-pink {
    background: #e83e8c;
}

.color-橙红,
.color-orange-red {
    background: #ff6347;
}

.color-绿色,
.color-green {
    background: #28a745;
}

.color-青色,
.color-cyan {
    background: #17a2b8;
}

.color-青绿,
.color-teal {
    background: #20c997;
}

.color-翠绿,
.color-emerald {
    background: #00d084;
}

.color-黄色,
.color-yellow {
    background: #ffc107;
}

.color-咖色,
.color-coffee {
    background: #8b4513;
}

.color-棕色,
.color-brown {
    background: #a0522d;
}

.color-褐色,
.color-maroon {
    background: #800000;
}

.color-橙黄,
.color-orange {
    background: #fd7e14;
}

.color-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.color-summary {
    font-size: 16px;
    font-weight: bold;
    color: #d4a017;
    margin-top: 10px;
}

.benefit-text {
    background: #f8f9fa;
    padding: 20px 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.warning-text {
    background: #fff3cd;
    color: #856404;
}

.danger-text {
    background: #f8d7da;
    color: #721c24;
}

.yuyi-text {
    font-weight: bold;
    margin-bottom: 10px;
    color: #d4a017;
}

.jieshi-text {
    font-size: 14px;
    line-height: 1.8;
}

/* 五行关系 */
.wuxing-relations-section {
    margin: 30px 0;
}

.relations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.relation-item {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.relation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.relation-item.sheng {
    border-left: 4px solid #28a745;
}

.relation-item.ke {
    border-left: 4px solid #dc3545;
}

.relation-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.relation-text {
    font-size: 18px;
    font-weight: bold;
    color: #d4a017;
    margin-bottom: 10px;
}

.relation-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 宜忌区域 */
.yiji-section {
    margin: 30px 0;
}

.yiji-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.yi-section,
.ji-section {
    padding: 0;
    background: #fff;
}

.yi-header,
.ji-header {
    padding: 15px 20px;
    text-align: center;
}

.yi-header {
    background: #28a745;
}

.ji-header {
    background: #dc3545;
}

.yi-symbol,
.ji-symbol {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.yi-items,
.ji-items {
    padding: 20px;
    background: #fff;
    min-height: 120px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 8px;
    border-top: 1px solid #e9ecef;
}

.yi-items span,
.ji-items span {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.yi-items span {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.yi-items span:hover {
    background: #c3e6cb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.ji-items span {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ji-items span:hover {
    background: #f5c6cb;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

/* 搭配建议 */
.outfit-tips-section {
    margin: 30px 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tip-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: #d4a017;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.2);
}

.tip-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.tip-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.tip-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 日历部分 */
.calendar-section {
    margin: 30px 0;
}

.calendar-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    background: #d4a017;
    color: #fff;
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.week-header {
    background: #b8860b;
}

.calendar-table td {
    border: 1px solid #e9ecef;
    padding: 8px;
    text-align: center;
    vertical-align: top;
    min-height: 60px;
    position: relative;
}

.moyu-table-tr-day {
    height: 60px;
}

.moyu-table-td-Week {
    background: #f8f9fa;
    color: #666;
    font-weight: bold;
    width: 60px;
}

.moyu-table-td-day {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.moyu-table-td-day:hover {
    background: #fff9e6;
}

.moyu-table-td-day-yangli {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.yangli-a-def {
    color: #333;
    text-decoration: none;
}

.yangli-a-def:hover {
    color: #d4a017;
}

.moyu-table-td-day-nongli {
    font-size: 12px;
    color: #666;
}

.moyu-jieri {
    color: #dc3545;
    font-weight: bold;
}

.moyu-jieqi {
    color: #28a745;
    font-weight: bold;
}

.moyu-def {
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .wuxing-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .date-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .wuxing-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .relations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .yiji-wrapper {
        grid-template-columns: 1fr;
    }

    .yi-items,
    .ji-items {
        padding: 15px;
        min-height: 100px;
    }

    .yi-items span,
    .ji-items span {
        padding: 5px 10px;
        font-size: 13px;
        margin: 3px;
    }

    .section-content {
        padding: 20px;
    }

    .color-items-wrapper {
        gap: 15px;
    }

    .color-item {
        min-width: 60px;
    }

    .color-block {
        width: 50px;
        height: 50px;
    }

    .recommend-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 6px 4px;
        font-size: 12px;
    }

    .moyu-table-td-day-yangli {
        font-size: 14px;
    }

    .moyu-table-td-day-nongli {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .section-content {
        padding: 15px;
    }

    .color-items-wrapper {
        gap: 10px;
    }

    .color-block {
        width: 40px;
        height: 40px;
    }

    .color-name {
        font-size: 12px;
    }

    .tip-card {
        padding: 20px;
    }

    .tip-icon {
        font-size: 24px;
    }

    .benefit-text {
        padding: 15px 20px;
        font-size: 14px;
    }

    .yuyi-text {
        font-size: 14px;
    }

    .jieshi-text {
        font-size: 13px;
    }

    .yi-items,
    .ji-items {
        padding: 12px;
        min-height: 80px;
    }

    .yi-items span,
    .ji-items span {
        padding: 4px 8px;
        font-size: 12px;
        margin: 2px;
    }
}