/* Tiện Ích Dàn Lô Đẹp 6 Số - CSS Styles */
.ti-danlodep-container {margin-bottom:20px}
/* Phần dự đoán */
.ti-prediction-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* color: white; */
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.ti-prediction-section h3 {color:#fff}
.date {color:#fff}
.ti-prediction-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    margin: 15px 0;
    justify-items: center;
}


.ti-prediction-number {
    padding: 10px;
    background: linear-gradient(135deg, #f73b3b 0%, #d19e0a 100%);
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    width: 50px;
    color: #fff;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Bảng thống kê */
.ti-stats-table {
    box-shadow: none !important;
    margin: 0 !important;
}

.ti-stats-table th,
.ti-stats-table td {
    padding: 6px;
    text-align: center;
    border: 1px solid #ddd;
}

.ti-stats-table th {
}

/* Phần kiểm tra kết quả */
.ti-verification-section {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}
.ti-verification-section .ti-danlodep-bold {
    color: #790000;
    font-weight: 600;
    font-size: 14px;
}
.ti-verification-section .kqdd {    font-weight: 600;
    color: #790000;
}
/* Màu sắc trạng thái */
.ti-success, .ti-fail, .ti-info {    padding: 5px 10px;
    border: 1px solid;
    border-radius: 5px;}
.ti-success { 
    color: #28a745; 
    font-weight: bold; 
}

.ti-fail { 
    color: #dc3545; 
    font-weight: bold; 
}

.ti-info { 
    color: #6cebff; 
}

/* Styles cũ được giữ lại */
.statistics-summary {
    margin-bottom: 20px;
}

.statistics-summary h2 {
}

.statistics-summary p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.province-section {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.province-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 10px;
    font-weight: bold;
    margin: 0;
}

.province-content {
    padding: 10px;
    background: #fff;
}

.goiy {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin: 0 !important;
    box-shadow: none !important;
}

.goiy thead {
    background: #f1f1f1;
}

.goiy th {
    padding: 6px;
    text-align: center;
    border: 1px solid #ddd;
}

.goiy td {
    padding: 6px;
    text-align: center;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.goiy tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.goiy tbody tr:hover {
    background: #f0f8ff;
}

.dan-lo-numbers {
    font-weight: bold;
    color: #007cba;
    font-size: 16px;
    letter-spacing: 2px;
}

.sotrung {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    margin: 0 2px;
}

.ketquastl {
    background: #ffc107;
    color: #212529;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    margin-left: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ti-danlodep-container {
    }
    
    .ti-prediction-numbers {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 8px;
    }
    
    .ti-prediction-number {
        padding: 12px;
        font-size: 16px;
    }
    
    .province-header {
        font-size: 16px;
        padding: 12px;
    }
    
    .province-content {
        padding: 15px;
    }
    
    .goiy {
        font-size: 12px;
    }
    
    .goiy th,
    .goiy td {
        padding: 8px 4px;
    }
    
    .dan-lo-numbers {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .statistics-summary h2 {
        font-size: 20px;
    }
    
    .ti-stats-table th,
    .ti-stats-table td {
        padding: 8px 4px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    
    .ti-prediction-numbers {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ti-prediction-number {
        padding: 10px;
        font-size: 14px;
    }
    
    .goiy th,
    .goiy td {
        padding: 6px 2px;
        font-size: 11px;
    }
    
    .dan-lo-numbers {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .province-header {
        font-size: 14px;
        padding: 10px;
    }
    
    .ti-stats-table th,
    .ti-stats-table td {
        padding: 6px 2px;
        font-size: 12px;
    }
}
.ti-history-section {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.ti-prediction-table {
    box-shadow: none !important;
}

.ti-prediction-table th,
.ti-prediction-table td {
    padding: 6px;
    text-align: center;
    border: 1px solid #ddd;
}
.ti-prediction-table thead tr {background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);}
.ti-prediction-table th {
    color: white;
}

.ti-prediction-number-small {
    display: inline-block;
    padding: 2px 6px;
    margin: 2px;
    background: #aa0000;
    color: white;
    border-radius: 3px;
}

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

.ti-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #aa0000
}