#tool-xem-ngay-tot {
    background: #f7f4ef;
    color: #1f1d1b;
}

#tool-xem-ngay-tot .good-day-hero {
    background-image: url("../images/banner-tool.png");
    background-position: center center;
    background-size: cover;
    position: relative;
    color: #fff;
}

#tool-xem-ngay-tot .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(25, 49, 45, .72));
}

#tool-xem-ngay-tot .good-day-hero .wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: 42px;
    padding-top: 58px;
    padding-bottom: 58px;
    align-items: center;
}

#tool-xem-ngay-tot .eyebrow {
    color: #f8ca72;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0 0 8px;
}

#tool-xem-ngay-tot h1 {
    font-size: 52px;
    line-height: 1.08;
    margin: 0 0 18px;
    font-weight: 600;
}

#tool-xem-ngay-tot .description {
    font-size: 19px;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
}

#tool-xem-ngay-tot .good-day-form {
    background: rgba(255, 255, 255, .94);
    color: #1f1d1b;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

#tool-xem-ngay-tot .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

#tool-xem-ngay-tot .field label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #3e3428;
}

#tool-xem-ngay-tot input,
#tool-xem-ngay-tot select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d7cab7;
    border-radius: 6px;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 16px;
    font-family: "Quicksand", sans-serif;
    color: #1f1d1b;
    background: #fff;
    outline: none;
}

#tool-xem-ngay-tot input:focus,
#tool-xem-ngay-tot select:focus {
    border-color: #2f6f63;
    box-shadow: 0 0 0 3px rgba(47, 111, 99, .16);
}

#tool-xem-ngay-tot .tool-submit {
    margin-top: 20px;
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 6px;
    background: #2f6f63;
    color: #fff;
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

#tool-xem-ngay-tot .tool-submit:hover {
    background: #24574e;
    transform: translateY(-1px);
}

#tool-xem-ngay-tot .good-day-result .wrapper {
    padding-top: 34px;
    padding-bottom: 50px;
}

#tool-xem-ngay-tot .score-panel,
#tool-xem-ngay-tot .result-card,
#tool-xem-ngay-tot .guide-content,
#tool-xem-ngay-tot .guide-links,
#tool-xem-ngay-tot .faq-section {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(31, 29, 27, .07);
}

#tool-xem-ngay-tot .score-panel {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-left: 8px solid #2f6f63;
    margin-bottom: 24px;
}

#tool-xem-ngay-tot .score-panel.good,
#tool-xem-ngay-tot .score-panel.excellent {
    border-left-color: #2f6f63;
}

#tool-xem-ngay-tot .score-panel.neutral {
    border-left-color: #b8860b;
}

#tool-xem-ngay-tot .score-panel.caution,
#tool-xem-ngay-tot .score-panel.avoid {
    border-left-color: #b93d35;
}

#tool-xem-ngay-tot .panel-label {
    color: #2f6f63;
    font-weight: 700;
    margin: 0 0 8px;
}

#tool-xem-ngay-tot .score-panel h2,
#tool-xem-ngay-tot .result-card h2,
#tool-xem-ngay-tot .guide-grid h2,
#tool-xem-ngay-tot .faq-section h2 {
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 14px;
    font-weight: 600;
}

#tool-xem-ngay-tot .panel-subtitle {
    margin: 0;
    color: #5c544b;
    line-height: 1.6;
}

#tool-xem-ngay-tot .score-number {
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #19312d;
    color: #f8ca72;
}

#tool-xem-ngay-tot .score-number span {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

#tool-xem-ngay-tot .score-number small {
    color: #fff;
    margin-top: 4px;
}

#tool-xem-ngay-tot .result-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px;
}

#tool-xem-ngay-tot .result-card {
    padding: 24px;
    margin-bottom: 24px;
}

#tool-xem-ngay-tot .facts-card dl {
    margin: 0;
}

#tool-xem-ngay-tot .facts-card dl div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f0e7d9;
}

#tool-xem-ngay-tot .facts-card dl div:last-child {
    border-bottom: none;
}

#tool-xem-ngay-tot .facts-card dt {
    color: #6d6258;
    font-weight: 700;
}

#tool-xem-ngay-tot .facts-card dd {
    margin: 0;
    color: #1f1d1b;
}

#tool-xem-ngay-tot .reason-block {
    border-radius: 8px;
    padding: 16px 18px;
    margin-top: 14px;
}

#tool-xem-ngay-tot .reason-block h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

#tool-xem-ngay-tot .reason-block ul {
    margin: 0;
    padding-left: 20px;
}

#tool-xem-ngay-tot .reason-block li {
    margin-bottom: 6px;
    line-height: 1.55;
}

#tool-xem-ngay-tot .reason-block.good {
    background: #edf7f3;
    border: 1px solid #c7e4d9;
}

#tool-xem-ngay-tot .reason-block.bad {
    background: #fff1ee;
    border: 1px solid #f0c3ba;
}

#tool-xem-ngay-tot .reason-block.note {
    background: #fff8e9;
    border: 1px solid #efd7a7;
}

#tool-xem-ngay-tot .hours-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

#tool-xem-ngay-tot .hour-item {
    border: 1px solid #d8e8e2;
    border-radius: 8px;
    padding: 14px;
    background: #f5fbf8;
    min-height: 74px;
}

#tool-xem-ngay-tot .hour-item strong {
    display: block;
    color: #2f6f63;
    font-size: 19px;
    margin-bottom: 6px;
}

#tool-xem-ngay-tot .hour-item span {
    color: #4b4640;
    font-size: 14px;
}

#tool-xem-ngay-tot .suggestions-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

#tool-xem-ngay-tot .suggestion-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-decoration: none;
    color: #1f1d1b;
    border: 1px solid #eadfce;
    border-radius: 8px;
    padding: 15px;
    background: #fffdf9;
    min-height: 138px;
    transition: transform .2s, box-shadow .2s;
}

#tool-xem-ngay-tot .suggestion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 29, 27, .12);
}

#tool-xem-ngay-tot .suggestion-item .date {
    font-size: 18px;
    font-weight: 700;
}

#tool-xem-ngay-tot .suggestion-item .label {
    color: #2f6f63;
    font-weight: 700;
}

#tool-xem-ngay-tot .suggestion-item.caution .label,
#tool-xem-ngay-tot .suggestion-item.avoid .label {
    color: #b93d35;
}

#tool-xem-ngay-tot .suggestion-item .score {
    width: fit-content;
    background: #19312d;
    color: #f8ca72;
    border-radius: 999px;
    padding: 4px 9px;
    font-weight: 700;
}

#tool-xem-ngay-tot .suggestion-item small {
    color: #6d6258;
    line-height: 1.45;
}

#tool-xem-ngay-tot .guide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    margin-top: 8px;
}

#tool-xem-ngay-tot .guide-content,
#tool-xem-ngay-tot .guide-links,
#tool-xem-ngay-tot .faq-section {
    padding: 24px;
}

#tool-xem-ngay-tot .guide-content p {
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 12px;
}

#tool-xem-ngay-tot .guide-links a {
    display: block;
    text-decoration: none;
    color: #1f1d1b;
    border: 1px solid #eadfce;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fffdf9;
    font-weight: 700;
}

#tool-xem-ngay-tot .guide-links a:hover {
    border-color: #2f6f63;
    color: #2f6f63;
}

#tool-xem-ngay-tot .faq-section {
    margin-top: 24px;
}

#tool-xem-ngay-tot details {
    border-top: 1px solid #eadfce;
    padding: 16px 0;
}

#tool-xem-ngay-tot details:first-of-type {
    border-top: none;
}

#tool-xem-ngay-tot summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
}

#tool-xem-ngay-tot details p {
    margin: 10px 0 0;
    line-height: 1.7;
    color: #4b4640;
}

@media (max-width: 992px) {
    #tool-xem-ngay-tot .good-day-hero .wrapper,
    #tool-xem-ngay-tot .result-grid,
    #tool-xem-ngay-tot .guide-grid {
        grid-template-columns: 1fr;
    }

    #tool-xem-ngay-tot .hours-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #tool-xem-ngay-tot .suggestions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    #tool-xem-ngay-tot h1 {
        font-size: 34px;
    }

    #tool-xem-ngay-tot .description {
        font-size: 16px;
    }

    #tool-xem-ngay-tot .good-day-hero .wrapper {
        padding: 36px 10px;
        gap: 24px;
    }

    #tool-xem-ngay-tot .good-day-form,
    #tool-xem-ngay-tot .score-panel,
    #tool-xem-ngay-tot .result-card,
    #tool-xem-ngay-tot .guide-content,
    #tool-xem-ngay-tot .guide-links,
    #tool-xem-ngay-tot .faq-section {
        padding: 18px;
    }

    #tool-xem-ngay-tot .score-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    #tool-xem-ngay-tot .score-panel h2,
    #tool-xem-ngay-tot .result-card h2,
    #tool-xem-ngay-tot .guide-grid h2,
    #tool-xem-ngay-tot .faq-section h2 {
        font-size: 23px;
    }

    #tool-xem-ngay-tot .score-number {
        width: 104px;
        height: 104px;
        flex-basis: 104px;
    }

    #tool-xem-ngay-tot .score-number span {
        font-size: 34px;
    }

    #tool-xem-ngay-tot .facts-card dl div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    #tool-xem-ngay-tot .hours-grid,
    #tool-xem-ngay-tot .suggestions-grid {
        grid-template-columns: 1fr;
    }
}
