
.seo-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-title {
    font-size: 2.5em;
    color: #d32f2f;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: none;
}

.sapo-section {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.content-section {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.content-section h2 {
    color: #d32f2f;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-section h4 {
    color: #388e3c;
    margin-bottom: 10px;
}

.content-section h5 {
    color: #f57c00;
    margin-top: 15px;
    margin-bottom: 8px;
}

.yesterday-result {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.result-table {
    margin-bottom: 20px;
}

.analysis-summary {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
}

.frequency-stats {
    margin-top: 15px;
}

.dau-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.dau-item {
    background: #e3f2fd;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
}

.no-result {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.cau-analysis {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.prediction-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.prediction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.prediction-item:last-child {
    border-bottom: none;
}

.prediction-label {
    font-weight: 600;
    font-size: 1.1em;
}

.prediction-value {
    font-weight: bold;
    background: linear-gradient(135deg, #f73b3b 0%, #d19e0a 100%);
    padding: 8px 15px;
    border-radius: 6px;
}

.prediction-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.lo-gan-analysis {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.lo-gan-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.lo-gan-item {
    background: #ffcdd2;
    color: #d32f2f;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    
}

.top-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.top-number-item {
    background: #e8f5e8;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #c8e6c9;
}

.top-number-item .number {
    
    font-size: 1.2em;
    font-weight: bold;
    color: #2e7d32;
    display: block;
}

.top-number-item .frequency {
    font-size: 0.9em;
    color: #666;
}

.conclusion {

}

.internal-links {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
}

.internal-links h3 {
    color: #1976d2;
    margin-top: 0;
}

.internal-links ul {
    list-style-type: disc;
    padding-left: 20px;
}

.internal-links a {
    color: #1976d2;
    text-decoration: none;
}

.internal-links a:hover {
    text-decoration: underline;
}

/* Pascal Triangle Styles - Updated */
.pascal-data {
    margin-top: 15px;
}

.lottery-source-data {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border: 1px solid #e1e5e9;
}

.source-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.source-item:last-child {
    border-bottom: none;
}

.source-label {
    font-weight: 600;
    color: #333;
}

.source-value {
    font-weight: 700;
    color: #007cba;
    font-size: 16px;
}

.pascal-triangle-section {
    margin: 20px 0;
    text-align: center;
}

.pascal-triangle-display {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    overflow-x: auto;
    text-align: center;
}

.triangle-row {
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.triangle-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: linear-gradient(256.93deg, #8172ee 5.92%, #e46ecc 74.35%);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin: 0 2px;
}
.triangle-row:last-child .triangle-number {
    background: linear-gradient(135deg, #f73b3b 0%, #d19e0a 100%);
    border: 2px solid #fff;
    font-size: 16px;
    width: 35px;
    height: 35px;
    line-height: 35px;
}
.pascal-result {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    margin: 15px 0;
}

.pascal-main-result {
    margin: 20px 0;
}

.main-numbers {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.result-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.pascal-number {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    min-width: 50px;
}

.pascal-number.primary {
    background: linear-gradient(135deg, #f73b3b 0%, #d19e0a 100%);
    color: #fff;
    font-size: 20px;
}

.pascal-number.reversed {
    background: #cce7ff;
    color: #004085;
    border: 2px solid #99d6ff;
    font-size: 20px;
}

.pascal-number.additional {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    font-size: 16px;
    padding: 8px 15px;
}

.pascal-additional {
    margin: 15px 0;
}

.additional-numbers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pascal-note {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: #f0f8ff;
    border-radius: 4px;
}

.no-pascal-data {
    text-align: center;
    padding: 20px;
    color: #666;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px dashed #ccc;
}

/* Responsive Design for Pascal */
@media (max-width: 768px) {
    .pascal-triangle-display {
        padding: 10px;
        font-size: 14px;
    }
    
    .triangle-number {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 12px;
    }
    
    .main-numbers {
        flex-direction: column;
        gap: 10px;
    }
    
    .additional-numbers {
        justify-content: center;
    }
    
    .source-item {
        align-items: flex-start;
        gap: 5px;
    }
}
@media (max-width: 768px) {
    
    .page-title {
        font-size: 1.8em;
    }
    
    .prediction-item {
        gap: 8px;
    }
        
    .top-numbers {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
}

/* XSMT Specific Styles - Thêm vào cuối file */

/* Container cho XSMT */
.dudoan-xsmt-container {
    /* Có thể để trống hoặc thêm style riêng cho XSMT */
}

/* Bach thu grid */
.bach-thu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.province-bach-thu {
    background: #e8f5e8;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #c8e6c9;
}

.province-bach-thu .number {
    font-weight: bold;
    color: #2e7d32;
    font-size: 1.2em;
    margin-left: 8px;
}

/* Song thu grid */
.song-thu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.province-song-thu {
    background: #fff3e0;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ffcc02;
}

.province-song-thu .number {
    background: #ff9800;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0 4px;
    font-weight: bold;
}

/* Lo xien analysis */
.lo-xien-analysis {
    margin: 20px 0;
}

.province-lo-xien {
    background: #f3e5f5;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #e1bee7;
}

.lo-xien-item {
    margin: 10px 0;
}

.lo-xien-item .number {
    background: #9c27b0;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0 4px;
    font-weight: bold;
}

/* Province prediction */
/* Lo gan stats */
.province-lo-gan {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lo-stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.lo-gan-section,
.lo-ve-nhieu-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.numbers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.lo-number {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    min-width: 50px;
}

.lo-gan-number {
    background: #ffcdd2;
    color: #d32f2f;
    border: 1px solid #f8bbd9;
}

.lo-hot-number {
    background: #c8e6c9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.lo-number small {
    display: block;
    font-size: 0.8em;
    font-weight: normal;
}

/* Pascal analysis */
.pascal-analysis {
    margin: 20px 0;
}

.pascal-province {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.pascal-triangle {
    text-align: center;
    margin: 20px 0;
}

.triangle-level {
    margin: 10px 0;
}

.pascal-bridges {
    text-align: center;
    margin-top: 15px;
}

.bridge-number {
    background: #17a2b8;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    margin: 0 5px;
    font-weight: bold;
    display: inline-block;
}

/* Warning box */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    border-radius: 8px;
    margin: 20px 0;
}

.warning-box h4 {
    color: #856404;
    margin-top: 0;
}

.warning-box ul {
    margin: 10px 0;
    padding-left: 20px;
}

.warning-box li {
    margin: 5px 0;
    color: #856404;
}

/* Related links */
.related-links {
    list-style: none;
    padding: 0;
}

.related-links li {
    margin: 8px 0;
}

.related-links a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
}

.related-links a:hover {
    text-decoration: underline;
}

/* Responsive cho XSMT */
@media (max-width: 768px) {
    .lo-stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bach-thu-grid,
    .song-thu-grid {
        flex-direction: column;
    }
    
    .numbers-grid {
        justify-content: center;
    }
    
    .prediction-numbers .prediction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.loto-section {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.loto-section .firstlast-mb {
    width: 45%;
    border-collapse: collapse;
}

.loto-section .firstlast-mb th,
.loto-section .firstlast-mb td {
    border: 1px solid #dee2e6;
    padding: 6px;
    text-align: center;
}

/* Province-specific prediction boxes */
.prediction-box h3 {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}


/* Additional styling for better UX */
.lottery-live-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 20px;
}


.prediction-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}