/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
}

/* ================ Header Styles ================*/
.header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 9px 20px;
    gap: 10px;
    background: linear-gradient(89deg, #5f16a9 0%, #cf15f8 100%);
    background: -webkit-linear-gradient(89deg, #5f16a9 0%, #cf15f8 100%); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(89deg, #5f16a9 0%, #cf15f8 100%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(89deg, #5f16a9 0%, #cf15f8 100%); /* For Firefox 3.6 to 15 */
}

.header .column {
    flex: 1;
    text-align: center;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
}

.header .counter, .header .next-refresh-timer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.next-refresh-timer {
    background-color: #ffffff;
    border-radius: 20px;
    color: #544590;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 10px 9px 0px rgba(26, 15, 63, 0.26);
    padding: 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === timer === */

.counter-item .next-refresh-timer{
    font-size: 24px;
    font-weight: bold;
}

.counter-item .label, .next-refresh-timer .next-label {
    font-size: 14px;
    margin-left :5px;
}

/* === end timer === */

.counter-item, .refresh-time {
    margin: 0 10px;
}

.counter-item .time {
    font-size: 34px;
    font-weight: bold;
    color:#ff3157;
}

.counter-item .refresh-timer .refresh-time {
    font-size: 24px;
    font-weight: bold;
}

.counter-item .label, .refresh-timer .label {
    font-size: 18px;
}

@media (max-width: 768px) {
    .header {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
    }

    .header .logo {
        margin-bottom: 0px;
    }

    .header .counter {
        flex-direction: row;
        flex-wrap: nowrap;
        margin-bottom: 10px;
    }

    .header .counter-item {
        flex: 1 1 45%;
        min-width: 80px;
    }

    .header .refresh-timer {
        text-align: center;
    }

    .header .column {
        margin-bottom: 00px;
    }
}

@media (max-width: 480px) {
    .header {
        gap: 10px;
    }

    .header .logo {
        font-size: 18px;
    }

    .refresh-timer {
        font-size: 14px;
        padding: 8px 15px;
    }

    .counter-item .time, .refresh-timer .refresh-time {
        font-size: 28px;
    }

    .counter-item .label {
        font-size: 16px;
        color:#f1d190;
    }
    
    .counter-item .refresh-timer .label {
        font-size: 16px;
    
    }

    .header .counter-item {
        flex: 1 1 100%;
        min-width: auto;
        margin: 5px 0;
    }
    
}

 @media (max-width: 340px) {
    .header {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 5px;
        padding: 12px;
        width:100%;
    }

    .header .logo {
        font-size: 16px;
    }

    .header .counter-item .time {
        font-size: 20px;
    }

    .header .counter-item .label {
        font-size: 12px;
    }

    .refresh-timer {
        font-size: 12px;
        padding: 3px;
    }
}

/* =============== Major Container Styles =============== */

.major-container {
    width: 100%;
    height: 100px;
    background-color: #000033;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* Minor Container Styles */
.minor-container {
    text-align: center;
    padding: 20px 30px;
    background-image: linear-gradient(89deg, #5f16a9 0%, #cf15f8 100%);
    box-shadow: 0px 12px 43px 0px rgba(48, 29, 117, 0.96);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 60px);
    max-width: 80%;
    margin: auto;
    position: relative;
}

/* Page Button Styles */
.pagebtn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 999px;
    background-image: -moz-linear-gradient(0deg, #e2906e 0%, #e83a99 100%);
    background-image: -webkit-linear-gradient(0deg, #e2906e 0%, #e83a99 100%);
    background-image: -ms-linear-gradient(0deg, #e2906e 0%, #e83a99 100%);
    box-shadow: 2.419px 9.703px 12.48px 0.52px rgba(232, 58, 153, 0.5);
    transition: all 0.3s;
}

.tablepagebtn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 999px;
    background-image: -moz-linear-gradient(0deg, #e2906e 0%, #e83a99 100%);
    background-image: -webkit-linear-gradient(0deg, #e2906e 0%, #e83a99 100%);
    background-image: -ms-linear-gradient(0deg, #e2906e 0%, #e83a99 100%);
    box-shadow: 2.419px 9.703px 12.48px 0.52px rgba(232, 58, 153, 0.5);
    transition: all 0.3s;
}

.pagebtn:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 992px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 768px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 576px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 480px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

/* ===============  Table Styles  =============== */

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    table-layout: fixed;
}

.data-table th, .data-table td {
    border: 1px solid #a7a7a7;
    padding: 8px;
    text-align: center;
    
}

.data-table th {
    font-weight: bold;
    background-color: #785ce7;
    font-size: 20px;
}


#datetime-row {
    background-image: -webkit-linear-gradient(-45deg, #c165dd 0%, #5c27fe 100%);
    background-image: -ms-linear-gradient(-45deg, #c165dd 0%, #5c27fe 100%);
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.53);
    color: #ffffff;
    border-radius: 999px;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    -ms-border-radius: 999px;
    -o-border-radius: 999px;
    margin-left: -45px;
    font-size: 24px;
}

.data-table tbody tr {
    font-size: 20px;
}

.data-table tbody tr:nth-child(even) {
    background-color: #ffe0ef;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .data-table {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 992px) {
    .data-table {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 768px) {
    .data-table {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 576px) {
    .data-table {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 480px) {
    .data-table {
        font-size: 15px;
        padding: 9px 11px;
    }
    
    .data-table th, .data-table td {
    border: 1px solid #a7a7a7;
    padding: 8px 0px;
    text-align: center;
    font-size: 12px;
    }
}

/* ================  Disclaimer  ================ */

.disclaimer-container {
    text-align: center;
    margin: 0px;
    padding: 20px;
    background-color: #311a83;
    border: 1px solid #ccc;
    border-radius: 8px;
    
}

.disclaimer-heading {
    background-color: #220a81;
    color: #ffffff;
}

.disclaimer-text {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    padding: 10px 20px;
    background-color: #220a81;
    box-shadow: 0px 4px 15px 7px rgba(0, 162, 255, 0.49), inset 0px 0px 6px 3px #30a8db;
    position: relative;
    z-index: 9;
    line-height: 1.6;
    color: #ffffff;
    border-radius: 30px;
    font-size: 20px;
}

@media (max-width: 1200px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 992px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
    
    .tablepagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 768px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
    
    .tablepagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
}

@media (max-width: 576px) {
    .pagebtn {
        font-size: 15px;
        padding: 9px 11px;
    }
    
    .tablepagebtn {
        font-size: 14px;
        padding: 6px;
        margin-left: 0px
    }
}

@media (min-width: 230px) and (max-width: 320px) {
    .disclaimer-container {
        min-width:304px;
        max-width:350px;
    }
    .header
    {
        min-width:322px;
        max-width:350px;
    }
    
    .data-table {
        min-width:345px;
        max-width:350px;
        width:290px;
    }
    
    .major-container {
        min-width:338px;
        max-width:350px;
        width:290px;
    }
    
    .data-table th, .data-table td {
    border: 1px solid #a7a7a7;
    padding: 8px 0px;
    text-align: center;
    font-size: 12px;
    }
    
}

.number {
    display: block;
}

.loader-container {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.loader {
    font-size: 48px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    display: inline-block;
    color: #FF3D00;
    letter-spacing: 2px;
    position: relative;
    box-sizing: border-box;
}

.loader::after {
    content: 'Result Loading';
    position: absolute;
    left: 0;
    top: 0;
    color: #FFF;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    animation: animloader 12s linear infinite;
}

@keyframes animloader {
    0% {
        height: 100%;
    }
    100% {
        height: 0%;
    }
}