/* 偏财运测试专用样式 */
.piancai-section {
    margin-bottom: 30px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1e3c3;
}

.piancai-calculator {
    margin-top: 20px;
}

.piancai-form {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.date-picker {
    margin-top: 15px;
    padding: 15px;
    background-color: #fff9e6;
    border-radius: 6px;
    border-left: 4px solid #d4a017;
}

.date-title {
    font-size: 16px;
    color: #d4a017;
    margin-bottom: 15px;
    font-weight: 600;
}

/* 结果样式 */
.result-container {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f1e3c3;
}

.result-header {
    background: linear-gradient(135deg, #d4a017, #b8860b);
    padding: 15px 20px;
    border-bottom: 1px solid #e6cf99;
}

.result-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.piancai-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #d4a017, #b8860b);
    color: white;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.basic-info {
    display: flex;
    flex-direction: column;
}

.person-info {
    font-size: 18px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.gender-tag {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: normal;
}

.birth-info {
    font-size: 16px;
    opacity: 0.9;
}

.piancai-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 8px;
    min-width: 140px;
}

.piancai-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.piancai-desc {
    font-size: 14px;
    opacity: 0.9;
}

.piancai-score {
    text-align: center;
}

.score-label {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.result-section {
    margin-bottom: 25px;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border-bottom: 1px solid #f1e3c3;
}

.result-title {
    padding: 15px;
    background-color: #fff9e6;
    color: #d4a017;
    font-size: 18px;
    margin: 0;
    border-bottom: 1px solid #f1e3c3;
    font-weight: 600;
}

.result-title i {
    margin-right: 8px;
}

.result-content {
    padding: 20px;
}

.piancai-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* 八字卡片样式 */
.bazi-section {
    margin-bottom: 25px;
}

.bazi-card {
    background: linear-gradient(to bottom, #fff9e6, #ffffff);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1e3c3;
}

.bazi-header-row {
    background: linear-gradient(135deg, #d4a017, #b8860b);
    padding: 15px;
    color: white;
    text-align: center;
}

.bazi-card-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.bazi-card-subheader {
    font-size: 14px;
    opacity: 0.9;
}

.bazi-body {
    padding: 20px;
}

.bazi-table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
}

.bazi-table-row {
    display: table-row;
}

.bazi-label {
    display: table-cell;
    background-color: #fff9e6;
    color: #d4a017;
    font-weight: 600;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    width: 25%;
}

.bazi-value {
    display: table-cell;
    text-align: center;
    padding: 8px 0;
    border: 1px solid #f1e3c3;
    border-radius: 4px;
    background-color: #ffffff;
    width: 25%;
}

.bazi-day {
    background-color: #fff8e1;
    border-color: #f3e5ab;
}

.bazi-gan {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #d4a017;
}

.bazi-zhi {
    font-size: 18px;
    color: #555;
}

/* 偏财运综述和开运建议样式 */
.piancai-summary,
.advice-container {
    display: flex;
    background-color: #fff9e6;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #d4a017;
}

.summary-icon,
.advice-icon {
    font-size: 32px;
    color: #d4a017;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-text,
.advice-content {
    flex: 1;
}

.advice-container {
    border-left-color: #5cb85c;
}

.advice-icon {
    color: #5cb85c;
}

/* 偏财运说明样式 */
.piancai-intro-section {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1e3c3;
}

.piancai-intro-content {
    padding: 10px 20px;
}

.piancai-intro-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.piancai-feature {
    margin-bottom: 20px;
    background-color: #fff9e6;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #f1e3c3;
}

.piancai-feature h4 {
    color: #d4a017;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e6cf99;
    padding-bottom: 8px;
}

.piancai-feature h4 i {
    margin-right: 8px;
}

.feature-list {
    padding-left: 20px;
    margin: 0;
}

.feature-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 付费精批按钮 */
.premium-analysis {
    background-color: #fff9e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 0 20px 20px;
    border: 1px dashed #e6cf99;
}

.premium-analysis p {
    margin-bottom: 15px;
    color: #555;
}

.premium-btn {
    background: linear-gradient(to right, #d4a017, #b8860b);
    color: white;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(212, 160, 23, 0.3);
    transition: all 0.3s;
    text-decoration: none;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 160, 23, 0.4);
    color: white;
}

.premium-icon {
    margin-right: 5px;
}

.center-btn {
    justify-content: center;
    margin-top: 20px;
    text-align: center;
}

/* 响应式样式调整 */
@media (max-width: 768px) {
    .piancai-overview {
        flex-direction: column;
        padding: 15px;
    }

    .basic-info {
        margin-bottom: 15px;
        align-items: center;
    }

    .piancai-main {
        width: 100%;
    }

    .form-row {
        display: block;
    }

    .form-group {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
}