/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.table-container1 {
    width: 100%;
    margin: 20px auto;
}

.entry-content th, .entry-content td, .comment-content th, .comment-content td {
    padding: 3px 10px !important;
}

.draw-table1 {
    width: 100%;
    border-collapse: collapse;
    min-width: 550px; 
    text-align: center;
}

.draw-table1 th, .draw-table1 td {
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.draw-table1 thead {
    background-color: #f2f2f2;
    font-weight: bold;
}

.date {
    color: black;
    text-align: center !important;
    font-weight: bold;
    font-size: 18px;
}

.market-btn {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background: linear-gradient(to bottom, #ce0000, #870000);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    width: 100%;
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

a {
    text-decoration: none !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.triangle-down {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;
    margin-left: 8px;
}

.dropdown-content a {
    font-size: 14px;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.draw-number1 .ball {
    display: inline-block;
    background: radial-gradient(circle at 65% 15%, #fff 1px, #89000052 1%, #bd0000 60%, #4f0000 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    margin: 5px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .draw-table1 {
        min-width: 100%;
    }

    td.td2 { 
        border-radius: 0px 0px 20px 20px;
    }

    td.td1 { 
        border-radius: 20px 20px 0px 0px;
    }

    .draw-table1 thead {
        display: none;
    }

    .draw-table1 tr {
        display: block;
        margin-bottom: 10px;
    }

    .draw-table1 td {
        display: block;
        width: 100%;
        padding: 5px !important;
        background: #e1e1e1;
        position: relative;
    }
    .entry-content td1 {
        padding: 3px 10px !important;
    }

}