html {
    /*
    background-image: linear-gradient(0deg, #fbf5fe 0%, #e6b5ff 100%);
    */
    background-image: url(https://oreat.nic.in/wp-content/themes/oreat/assets/custom/images/bg1.jpg); 
    background-size: cover;
    height: 100%;
    margin: 0;
    padding: 0;



}
body {
    font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    color: #4B0082;
    height: 100%;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

td, th {
    padding: 5px;
}

/* Header styles */
#display-header {
    color: #4B0082;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#display-header img {
    width: 150px;
    height:150px;
    margin-bottom: 10px;
}

.court-title {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}

#display-board {
    font-size: 1.75em;
    margin: 10px 0;
}

.dateinfo {
    font-size: 1.75em;
    margin: 5px 0;
}

.title {
    font-size: 1.5em;
    text-align: center;
    margin: 10px 0;
    font-weight: bold;

}

/* Ticker table */
.theadtable th {
    background-color: #4B0082;
    color: white;
    padding: 10px;
    border: 1px solid #F3DDFF;
}

.theadtable td {
    text-align: center;
    padding: 10px;
    font-size: 1.2em;
    border: 1px solid #4B0082;
}

/* Ticker content area */
#table_content {
    padding: 10px;
    list-style: none;
    font-size: 1.2em;
    border-radius: 5px;
}

#table_content {
    margin-bottom: 20px;
}

.itemno,
.case_no,
.inprogress {
    font-weight: bold;
    font-size: 1.5em;
}

.inprogress {
    color: #006600;
}
.nosession,
.red {
    color: #CC0000;
    font-weight: bold;
}

#disclaimer {
    font-size: 1em;
    color: #4B0082;
    text-align: center;
    margin: 20px 0;
}

/* Responsive adjustments for mobile */
@media only screen and (max-width: 768px) {
    .court-title,
    .dateinfo {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .title {
        font-size: 1.3em;
    }

    #display-header {
        padding: 15px;
        flex-direction: column;
        align-items: center;
    }

    #display-header img {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }

    .theadtable th, .theadtable td {
        font-size: 1em;
        padding: 10px;
    }

    .itemno,
    .case_no,
    .inprogress {
        font-size: 1.2em;
        font-weight: bold;
    }

    #disclaimer {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 480px) {
    .court-title,
    .dateinfo {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .title {
        font-size: 1.2em;
    }

    #display-header {
        padding: 10px;
    }

    .theadtable th, .theadtable td {
        font-size: 0.9em;
        padding: 8px;
    }

    #disclaimer {
        font-size: 0.8em;
    }
}
