/* Sidebar right style đồng bộ sidebar left */
.sidebar-right-block {
    padding: 0;
    margin: 0 0 12px 0;
    border-radius: 7px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    overflow: hidden;
}
.sidebar-right-title {
    background: #23484c;
    color: #fff;
    font-weight: bold;
    font-size: 1.08rem;
    text-align: center;
    padding: 8px 0 7px 0;
    border-bottom: 1.5px solid #e0e0e0;
    letter-spacing: 0.2px;
}
.sidebar-right-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-right-link {
    display: block;
    color: #006080;
    font-weight: 500;
    font-size: 1.04rem;
    padding: 9px 0 9px 0;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}
.sidebar-right-link:last-child {
    border-bottom: none;
}
.sidebar-right-link:hover, .sidebar-right-link:focus {
    background: #e6f4fa;
    color: #0a4b6f;
    text-decoration: underline;
}
/* Sidebar phong thủy tận dụng tối đa chiều rộng */
.sidebar-phongthuy {
    background: #fffbe7;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 100%;
}
.sidebar-block-decor {
    border: 2.5px solid #d60000;
    border-radius: 10px;
    background: #fffbe7;
    position: relative;
    padding: 18px 14px 18px 14px;
    margin-bottom: 12px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    overflow: visible;
    width: 100%;
    max-width: 100%;
}
.sidebar-list > li {
    border-bottom: 1px solid #d59006ff;
    margin-bottom: 0;
    padding: 10px 0 10px 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.09rem;
}
.sidebar-main-title.decorated-title, .sidebar-section-title.decorated-title {
    font-size: 1.18rem;
}
/* --- Bổ sung các style đặc biệt cho phong thủy --- */
.mainphongthuy-content.collapsed-phongthuy {
    max-height: 120px;
    overflow: hidden;
    background: #f5f5f7;
    border-radius: 10px;
    position: relative;
    color: #888;
    filter: blur(0.1px) grayscale(0.08);
    transition: max-height 0.4s cubic-bezier(.4,2,.6,1), color 0.3s;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    padding-bottom: 10px;
}
.mainphongthuy-content.collapsed-phongthuy:after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0; height: 38px;
    background: linear-gradient(180deg, rgba(245,245,247,0) 0%, #f5f5f7 100%);
    pointer-events: none;
}
.mainphongthuy-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5em auto;
    border-radius: 6px;
}
.btn-xem-them-simple {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 1.08rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding: 0 8px;
    margin: 0 auto;
    transition: color 0.2s;
    text-decoration: underline dotted #b3b3b3 1.5px;
}
.btn-xem-them-simple:hover, .btn-xem-them-simple:focus {
    color: #b11c1c;
    text-decoration: underline solid #b11c1c 2px;
}
.phongthuy-filter-wrap {
    background: #fdf6ed;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(255, 179, 71, 0.08);
    border: 2px solid #ffe0b2;
    padding: 24px 18px 18px 18px;
    margin-bottom: 32px;
    margin-top: 8px;
    transition: box-shadow 0.3s, border 0.3s;
    position: relative;
    z-index: 1;
}
.phongthuy-filter-wrap:before {
    content: '';
    position: absolute;
    left: 18px; right: 18px; top: 10px; height: 2px;
    background: linear-gradient(90deg, #ffb347 0%, #ffe0b2 100%);
    opacity: 0.13;
    border-radius: 2px;
    z-index: 0;
}
/* phongthuy-style.css - Style dùng chung cho các trang/phần phong thủy */

.phongthuy-form-decor {
    background: #fffbe7;
    border: 3px solid #d60000;
    border-radius: 10px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(214,0,0,0.04);
    overflow: visible;
    max-width: 370px;
    margin: 0 auto 28px auto;
    padding: 22px 16px 18px 16px;
}
.result-box-decor, .sidebar-block-decor {
    background: #fffbe7;
    border: 3px solid #d60000;
    border-radius: 10px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(214,0,0,0.04);
    overflow: visible;
}

.corner-group {
    position: absolute;
    width: 44px;
    height: 44px;
    pointer-events: none;
    z-index: 3;
}
.corner-tl { left: -3px; top: -3px; }
.corner-tr { right: -3px; top: -3px; }
.corner-bl { left: -3px; bottom: -3px; }
.corner-br { right: -3px; bottom: -3px; }
.corner-dot {
    width: 10px;
    height: 10px;
    background: #fffbe7;
    border: 2px solid #d60000;
    border-radius: 2px;
    position: absolute;
    box-sizing: border-box;
}

.phongthuy-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #b11c1c;
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.phongthuy-sub {
    font-size: 1.05rem;
    color: #444;
    text-align: center;
    margin-bottom: 18px;
}
.phongthuy-label {
    font-weight: 500;
    color: #b11c1c;
    letter-spacing: 0.2px;
}
.form-select {
    border-radius: 6px;
    border: 1.5px solid #e0b2b2;
    font-size: 1.05rem;
    padding: 6px 10px;
}
.phongthuy-btn-submit {
    font-size: 1.13rem;
    font-weight: 600;
    padding: 8px 28px;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(214,0,0,0.07);
    letter-spacing: 0.5px;
}

.result-title {
    color: #b11c1c;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 18px;
    text-align: center;
}

.sidebar-block-decor {
    border: 2.5px solid #d60000;
    border-radius: 10px;
    background: #fffbe7;
    position: relative;
    padding: 14px 10px 14px 10px;
    margin-bottom: 18px;
    box-sizing: border-box;
    overflow: visible;
}

.decorated-title {
    text-align: center;
    font-weight: bold;
    color: #a11c1c;
    font-size: 1.13rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    position: relative;
    background: none;
    padding: 4px 0 4px 0;
}
.sidebar-main-title.decorated-title {
    font-size: 1.18rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #e2cfa3;
    padding-bottom: 6px;
}
.sidebar-section-title.decorated-title {
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: #8a1a1a;
    font-weight: 700;
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-list > li {
    border-bottom: 1px solid #d59006ff;
    margin-bottom: 0;
    padding: 7px 0 7px 0;
    text-align: center;
    font-weight: bold;
}
.sidebar-list > li:last-child {
    border-bottom: none;
}
.sidebar-title { color: #b11c1c; font-weight: 500; font-size: 1.1rem; }
.sidebar-link { color: #1a1a1a; text-decoration: none; }
.sidebar-link:hover { color: #b11c1c; text-decoration: underline; }
.sidebar-html { font-size: 0.97rem; }
