.ti-bacnho-container {
}

.ti-bacnho-form {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.form-row label {
    min-width: 150px;
    font-weight: bold;
    color: #333;
}

.form-row select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.ti-btn-bacnho {
    background: linear-gradient(45deg, #007cba, #0096d6);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ti-btn-bacnho:hover {
    background: linear-gradient(45deg, #005a87, #007bb5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,186,0.3);
}

#ti-loading {
    text-align: center;
    padding: 10px;
    font-style: italic;
    color: #666;
}

.ti-bacnho-summary {
    background: #e8f4fd;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ti-bacnho-summary h3 {
    margin: 0 !important;
    text-align: center;
}

.prediction-highlight {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #007cba;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
}

.ti-bacnho-history {
    margin-bottom: 20px;
}
.result strong {
    color: #d9534f;
}
.bacnho-history-list {
    height: 300px;
    overflow: hidden;
    overflow-y: auto;
    border: 1px solid;
    border-radius: 10px;
    padding: 5px;
}
.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

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

.history-table th {
    background: #007cba;
    color: white;
    font-weight: bold;
}

.history-table tr:nth-child(even) {
    background: #f8f9fa;
}

.history-table tr:hover {
    background: #e8f4fd;
}

.prediction-numbers {
    font-weight: bold;
    color: #d63384;
}

.de-number {
    background: #007cba;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.ti-bacnho-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 10px;
    margin: 20px 0;
}

.ti-bacnho-note p {
    margin: 0;
    color: #856404;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-row label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .history-table {
        font-size: 12px;
    }
    
    .history-table th,
    .history-table td {
        padding: 8px 4px;
    }
}