/* =============================================
   Care Refresh Page Styles
   ============================================= */

@font-face {
    font-family: 'HarmonyOS Sans SC';
    src: url('/fonts/HarmonyOS_Sans_SC_Regular.woff2') format('woff2'),
         url('/fonts/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.care-refresh-banner,
.care-refresh-main {
    font-family: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ---------- Banner ---------- */
.care-refresh-banner {
    width: 100%;
    background-color: #f2f3f5;
    padding: 50px 0 50px;
}

.care-refresh-banner-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
}

.care-refresh-banner-text h1 {
    font-size: 36px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 10px;
    line-height: 1.3;
}

.care-refresh-banner-sub {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 24px;
    line-height: 1.6;
}

.care-refresh-banner-btn {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid rgba(0, 0, 0, 0.65);
    border-radius: 4px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.75);
    background: transparent;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.care-refresh-banner-btn:hover {
    background: rgba(0, 0, 0, 0.07);
    color: rgba(0, 0, 0, 0.85);
    text-decoration: none;
}

.care-refresh-banner-icon {
    flex-shrink: 0;
    margin-left: 40px;
}

.care-refresh-banner-icon svg {
    display: block;
}

/* ---------- Main Layout ---------- */
.care-refresh-main {
    width: 100%;
    background-color: #f2f3f5;
    padding-bottom: 80px;
}

/* 整体两栏容器 */
.care-refresh-body {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 40px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
}

/* ---------- Left Content Column ---------- */
.care-refresh-content-col {
    flex: 1;
    min-width: 0;
    margin-right: 40px;
}

/* 每个内容节 */
.care-refresh-section {
    background-color: #fff;
    border-radius: 6px;
    padding: 36px 40px 40px;
    margin-bottom: 20px;
}

.care-refresh-section-title {
    font-size: 22px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 14px;
    line-height: 1.4;
}

.care-refresh-section-text {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.8;
    margin-top: 10px;
}

/* How to use - 步骤块 */
.care-refresh-how-step {
    margin-top: 0;
}

.care-refresh-how-step-mt {
    margin-top: 28px;
}

.care-refresh-step-title {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-top: 0;
}

.care-refresh-step-content {
    margin-top: 6px;
    padding-left: 12px;
    border-left: 2px solid #e0e0e0;
    color: rgba(0, 0, 0, 0.65);
}

/* Image placeholder box */
.care-refresh-img-placeholder {
    width: 100%;
    max-width: 420px;
    height: 210px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background-color: #f7f8fa;
    margin-top: 16px;
}

/* ---------- Estimate Form ---------- */
.care-refresh-form-box {
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
}

.care-refresh-form-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.care-refresh-form-label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    white-space: nowrap;
    min-width: 90px;
    margin-right: 8px;
    line-height: 36px;
}

.care-refresh-required {
    color: #ff4d4f;
    margin-left: 2px;
}

.care-refresh-select,
.care-refresh-input,
.care-refresh-date-input,
.care-refresh-output {
    flex: 1;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: pointer;
    position: relative;
}

.care-refresh-output {
    cursor: default;
    background-color: #f7f8fa;
    color: rgba(0, 0, 0, 0.85);
    font-size: 13px;
    font-weight: 500;
}

.care-refresh-submit-btn {
    width: 100%;
    height: 40px;
    background: #44A8F2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 8px;
}

.care-refresh-submit-btn:hover {
    background: #3290d4;
}

#submitBtnWrap {
    margin-top: 8px;
}

#estimateResult {
    margin-top: 18px;
}

.care-refresh-field-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.care-refresh-field-row > .care-refresh-select,
.care-refresh-field-row > .care-refresh-input,
.care-refresh-field-row > .care-refresh-date-input {
    flex: 1;
    max-width: 300px;
}

.care-refresh-field-row > .care-refresh-select select,
.care-refresh-field-row > .care-refresh-input input,
.care-refresh-field-row > .care-refresh-date-input input {
    width: 100%;
}

.care-refresh-error {
    color: #e74c3c;
    font-size: 12px;
    white-space: nowrap;
    display: none;
}

.care-refresh-error.show {
    display: inline;
}

.care-refresh-select-placeholder {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.35);
    flex: 1;
}

.care-refresh-select-arrow {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.35);
}

.care-refresh-native-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: transparent;
    font-size: 16px;
}

.care-refresh-input input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.75);
    outline: none;
}

.care-refresh-input input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

/* 日期输入框 */
.care-refresh-date-input {
    cursor: default;
}

.care-refresh-date-input input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.75);
    outline: none;
}

.care-refresh-date-input input[type="date"] {
    cursor: pointer;
}

/* 估算提示文字 */
.care-refresh-estimate-hint {
    font-size: 9px;
    color: #ff4d4f;
    margin-top: 4px;
    margin-left: 90px;
}

/* ---------- Right Navigation Column ---------- */
.care-refresh-nav-col {
    width: 220px;
    flex-shrink: 0;
    /* Sticky: sticks below the site header (~60px) */
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.care-refresh-nav-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 20px 0 16px;
}

.care-refresh-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
    padding: 0 20px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 8px;
}

.care-refresh-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.care-refresh-nav-item {
    position: relative;
    padding: 7px 20px 7px 24px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    transition: color 0.2s;
}

.care-refresh-nav-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    word-break: break-all;
}

.care-refresh-nav-item:hover {
    color: rgb(68, 168, 242);
}

.care-refresh-nav-item:hover a {
    color: rgb(68, 168, 242);
}

/* Active state */
.care-refresh-nav-item.care-refresh-nav-active {
    color: rgba(0, 0, 0, 0.85);
    font-weight: 500;
}

.care-refresh-nav-item.care-refresh-nav-active a {
    color: rgba(0, 0, 0, 0.85);
}

/* The blue left-bar indicator */
.care-refresh-nav-bar {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    /* Keep the accent color constant — never inherit from active text */
    height: 60%;
    min-height: 16px;
    background-color: rgb(68, 168, 242) !important;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}

/* ---------- More Link ---------- */
.care-refresh-more-link a {
    color: rgb(68, 168, 242) !important;
    text-decoration: underline;
    font-size: 14px;
}
