body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: #1b120b;
    color: #F5F5DC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

input[type="date"]:not(:valid):before {
    content: "Chọn ngày sinh";
    color: #9ca3af; 
}

.prose.prose-invert h3 {
    color: #ffeb3c;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.prose.prose-invert ul {
    list-style-type: disc;
    padding-left: 1.5em;
}

.prose.prose-invert li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose.prose-invert strong {
    color: #F5F5DC;
}

.prose.prose-invert a {
    color: #ffeb3c;
}

.plot-diagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    aspect-ratio: 1 / 1;
    max-width: 400px;
    margin: auto;
    border: 2px solid #6a4113;
    border-radius: 0.5rem;
    overflow: hidden;
    font-size: 0.875rem;
    background-color: #1b120b;
}

.plot-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #6a4113;
    padding: 0.5rem;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.plot-cell .direction {
    font-weight: 700;
    font-size: 1rem;
}

.plot-cell .cung {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.plot-cell.good {
    background-color: rgba(106, 65, 19, 0.3);
    color: #ffeb3c; 
}

.plot-cell.bad {
    background-color: rgba(153, 27, 27, 0.4);
    color: #fecaca;
}

.plot-cell.center {
    background-color: #374151;
    color: #d1d5db; 
    font-weight: bold;
}

.plot-cell .marker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 99px;
    color: white;
}

.marker.toa {
    background-color: #b91c1c; 
}
.marker.huong {
    background-color: #6a4113; 
    color: white;
}
.marker.mat-tien {
    background-color: #ffeb3c; 
    color: #1b120b;
}
