/* Main lottery simulator container */
.lottery-simulator {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Form controls styling */
.form-statistic {
    margin-bottom: 20px;
}

.form-statistic select {
    padding: 8px 15px;
    margin: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 150px;
}

.btn-red {
    background-color: #d33;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: bold;
    margin: 15px 0;
    transition: background-color 0.3s;
}

.btn-red:hover {
    background-color: #c22;
}

/* Main result table styling */
.table-xsmb {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table-xsmb th {
    background: #f8f9fa;
    color: #333;
    padding: 12px;
    border: 1px solid #dee2e6;
    font-weight: bold;
}

.table-xsmb td {
    padding: 12px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.table-xsmb .special-prize {
    background: #fff9f9;
    color: #d33;
    font-weight: bold;
    font-size: 1.1em;
}

.table-xsmb .special-prize-lg span {
    color: #d33;
    font-size: 1.3em;
    font-weight: bold;
}

/* Prize rows styling */
.table-xsmb tr td:first-child {
    width: 120px;
    background: #f8f9fa;
    font-weight: bold;
}

.table-xsmb span {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    min-width: 60px;
    border-radius: 3px;
    background: #f8f9fa;
}

/* Number selection table */
.table-number {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.table-number td {
    padding: 10px;
    border: 1px solid #dee2e6;
    width: 10%;
}

/* Radio buttons styling */
.radio-stick {
    display: inline-block;
    margin: 0 15px;
}

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

.radio-stick label {
    cursor: pointer;
}

/* Loto table styling */
.table-loto {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.table-loto td {
    padding: 8px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.table-loto tr:first-child td {
    background: #f8f9fa;
    font-weight: bold;
}

/* Loading animation */
.btn-loading {
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.img-loading {
    height: 16px;
    vertical-align: middle;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-statistic select {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .table-xsmb span {
        display: block;
        margin: 5px auto;
    }
    
    .radio-stick {
        display: block;
        margin: 10px 0;
    }
}

/* Hover effects */
.table-xsmb tr:hover {
    background-color: #f5f5f5;
}

mark {
    background-color: #fff3cd;
    padding: 2px;
    border-radius: 2px;
}

/* Link styling */
.a-link-default {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 0;
    display: inline-block;
}

.link-pad-left {
    padding-left: 10px;
}