/* File: css/lottery-north.css */

.troy-lottery-container  {
	max-width: 1000px;
	padding: 0 20px;
	margin: 0 auto;
}

.lottery-north-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.lottery-button {
    display: block;
    margin: 20px auto;
    padding: 5px 20px;
    font-size: 14px;
    background-color: #cc0000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.lottery-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.lottery-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.lottery-table td, .lottery-table th {
    border: solid 1px #dddfe2;
    padding: 10px 10px !important;
    color: black;
    text-transform: inherit;
    letter-spacing: normal;
    font-size: 15px;
    font-weight: normal;
}

.lottery-table tr:nth-of-type(2n) {
    background-color: #f0f8ff;
}

.lottery-table td:nth-child(2), .lottery-table th:nth-child(2), .lottery-table td:nth-child(3), .lottery-table th:nth-child(3) {
	text-align: center;
	font-weight: bold;
	font-size: 20px !important;
	color: black;
}

.lottery-table tr:nth-child(1) td:nth-child(2), .lottery-table tr:nth-child(1) td:nth-child(3) {
    font-size: 30px !important;
    font-weight: bolder;
    color: #E91E63 !important;
}

.lottery-table td:nth-child(2):hover {
    background-color: #fff4c3;
}

.display-options {
    margin: 0 !important;
    text-align: center;
    display: flex;
    background: #f1f1f1;
    padding: 12px 0 0;
}

.display-options label {
    margin: 0 15px;
    cursor: pointer;
}

.display-options input[type="radio"] {
    margin-right: 5px;
}

/* Styling cho grid số */
.number-compare {
    margin: 20px 0;
}

.number-grid {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.number-cell {
    flex: 0 0 10%;
    height: 40px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.number-cell:hover {
    background-color: #f0f0f0;
}

.number-cell.highlighted {
    background-color: #ffeb3b;
    border-color: #fdd835;
}

/* Styling cho số được highlight */
.lottery-table td .highlight {
    background-color: #ffeb3b;
    padding: 2px 4px;
    border-radius: 3px;
}

.lottery-table .number .highlight {
    background-color: #ffeb3b;
    border-radius: 2px;
    padding: 0 2px;
}

/* Bỏ background-color từ class .number.highlighted vì không còn dùng nữa */
.lottery-table .number {
    display: inline-block;
    padding: 2px 5px;
    margin: 0 3px;
    border-radius: 3px;
}


/* Styles cho bảng lô tô */
.loto-section {
    margin: 30px 0;
}

.loto-section>div:nth-child(1) {
    text-align: center;
    font-weight: bold;
}


.loto-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.loto-number {
    background: white;
    padding: 5px 10px;
    border: 1px solid #ddd;
    width: 10%;
	text-align: center;
}

/* Styles cho bảng đầu - đuôi */
.head-tail-section {
    margin: 30px 0;
}

.head-tail-section>div:nth-child(1) {
	font-weight: bold;
	text-align: center;
}

.head-tail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.head-tail-table th,
.head-tail-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.head-tail-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}


/* Styles cho bảng xổ số miền Trung */
.lottery-central-container .lottery-table {
    width: 100%;
    margin-bottom: 20px;
}

.lottery-central-container .lottery-table th:first-child {
    width: 100px;
}

.lottery-central-container .lottery-table td {
    text-align: center;
}

.lottery-central-container .number {
    display: inline-block;
    padding: 2px 5px;
    margin: 2px;
    border-radius: 3px;
}

/* Styles cho bảng phân tích đầu số */
.head-analysis-section {
    margin-top: 30px;
}

.head-analysis-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.head-analysis-table th,
.head-analysis-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    color: black;
}

.head-analysis-table th {
    background-color: #ffeca0;
    font-weight: bold;
}


/* Highlight styles */
.highlight {
    background-color: #ffeb3b;
    padding: 0 2px;
    border-radius: 2px;
}

.troy-lottery-menu {
    max-width: 800px;
    margin: 0 auto;
	padding: 0 20px;
}

 .troy-lottery-select {
            width: 100%;
            font-size: 16px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
            cursor: pointer;
	 		margin-bottom: 0;
        }
        
        .troy-lottery-select:focus {
            outline: none;
            border-color: #4CAF50;
            box-shadow: 0 0 5px rgba(76, 175, 80, 0.2);
        }
        
        .troy-lottery-select option {
            padding: 10px;
        }