/*
    global stylesheet for website
    this css file contains styles intended for reuse across multiple pages
*/
* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

:root {
    --eduLithanColorCode: #892068;
    --eduLithanColorCodeLight: #89206873;
    --eduLithanColorCodeLightGradient: #892068ce;
}

html {
    font-size: 62.5%;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 100dvh;
    width: 100dvw;
    padding: 1rem;
}

main {
    height: calc(100vh - 2rem);
    width: calc(100vw - 2rem);
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0.5rem 0.1rem var(--eduLithanColorCode);
}

/* navigation bar start */
main nav {
    height: 4rem;
    width: calc(100vw - 2rem);
    display: flex;
    align-self: center;
    align-items: center;
}

main nav img {
    width: 15rem;
    margin-left: 2rem;
    margin-bottom: -3rem;
}

main nav h1 {
    margin: auto;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--eduLithanColorCode);
}
/* navigation bar end */

/* sidebar panel start */
main aside {
    height: calc(100vh - 6rem);
    overflow-y: scroll;
    scrollbar-width: none;
    width: 21rem;
    margin-top: 3rem;
    padding: 0.4rem;
}

main aside ul {
    padding: 0;
}

main aside li {
    padding: 0.5rem 0.9rem;
    font-size: 1.6rem;
    color: black;
    list-style: none;
}

main aside li:not(:last-child) {
    margin-bottom: 1rem;
}

main aside li:hover {
    color: var(--eduLithanColorCode);
    cursor: pointer;
}

main aside li.active {
    background-color: var(--eduLithanColorCode);
    color: white;
    font-weight: bold;
    border-radius: 0.5rem;
}

main aside li i {
    margin-right: 0.2rem;
}
/* sidebar panel end */

/* main section start */
main section {
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100vw - 23rem);
    height: calc(100vh - 6rem);
    border-radius: 2rem 0 0rem 0;
    box-shadow: inset 0.1rem 0.1rem 0.3rem var(--eduLithanColorCode);
    padding: 2rem;
    /* overflow: hidden; */
}

/* dashboard css start */
main section div.dashboard_content_wrapper {
    width: calc(100vw - 27rem);
    height: calc(100vh - 10rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

main section div.dashboard_content_wrapper img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: contain;
    padding: 0.5rem;
    box-shadow: 0 0 1rem rgba(137, 32, 98, 0.4);
}

main section div.dashboard_content_wrapper h2 {
    font-size: 2.5rem;
    color: #666;
    opacity: 0;
    margin: 1.2rem 0;
    animation: dashboardTitleAnimationFadeIn 2s ease-in-out forwards;
    font-weight: 600;
}

main section div.dashboard_content_wrapper p {
    font-size: 1.8rem;
    color: #666;
}

@keyframes dashboardTitleAnimationFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* dashboard css end */

/* common listing page start */
main section div.common_listing_page {
    width: calc(100vw - 27rem);
    height: calc(100vh - 10rem);
    border-radius: 1.7rem;
    padding: 0.7rem;
    box-shadow: 0 0 0.5rem rgba(137, 32, 98, 0.4);
}

main section div.common_listing_page .btn_new_record {
    background-color: var(--eduLithanColorCode);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    border: none;
}

main section div.common_listing_page .btn_new_record:hover {
    background: linear-gradient(
        to right,
        var(--eduLithanColorCode),
        var(--eduLithanColorCodeLightGradient)
    );
    color: white;
}

main section div.common_listing_page .table_responsive {
    height: calc(100vh - 15rem);
    overflow: auto;
    border-radius: 1rem;
}

main section div.common_listing_page .table_responsive::-webkit-scrollbar {
    width: 0.6rem;
    height: 0.6rem;
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-thumb {
    border-radius: 5rem;
    background: linear-gradient(
        180deg,
        var(--eduLithanColorCodeLight),
        var(--eduLithanColorCode)
    );
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        var(--eduLithanColorCode),
        var(--eduLithanColorCodeLight)
    );
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-button:single-button {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0;
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-button:single-button:horizontal:decrement {
    border-style: solid;
    border-color: transparent rgb(96, 96, 96) transparent transparent;
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
    border-color: transparent rgb(112, 112, 112) transparent transparent;
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-button:single-button:horizontal:decrement:active {
    border-color: transparent rgb(128, 128, 128) transparent transparent;
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-button:single-button:horizontal:increment {
    border-style: solid;
    border-color: transparent transparent transparent rgb(96, 96, 96);
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
    border-color: transparent transparent transparent rgb(112, 112, 112);
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-button:single-button:horizontal:increment:active {
    border-color: transparent transparent transparent rgb(128, 128, 128);
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-corner {
    display: none;
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar-track-piece {
    background: linear-gradient(180deg, gainsboro, #e0e0e0);
}

main
    section
    div.common_listing_page
    .table_responsive::-webkit-scrollbar:vertical {
    display: none;
}

main section div.common_listing_page table {
    min-width: max-content;
    font-size: 1.5rem;
    width: 100%;
    vertical-align: top;
    color: #fff;
    border-collapse: collapse;
    box-shadow: 0 0 0.5rem rgba(137, 32, 98, 0.2);
}

main section div.common_listing_page table,
main section div.common_listing_page thead,
main section div.common_listing_page tbody,
main section div.common_listing_page tr,
main section div.common_listing_page th,
main section div.common_listing_page td {
    border: 1px solid #dedede;
}

main section div.common_listing_page table thead th {
    position: sticky;
    top: 0rem;
    width: max-content;
    background-color: var(--eduLithanColorCode);
    color: #fff;
    padding: 1rem;
    text-align: center;
}

main section div.common_listing_page table tbody tr th {
    width: 5rem;
    font-weight: bold;
    text-align: center;
}

main section div.common_listing_page table td {
    padding: 1rem;
    vertical-align: middle;
    max-width: 200px;
    word-wrap: break-word;
    text-align: center;
}

main section div.common_listing_page table tbody tr:nth-child(odd) {
    background-color: #5e0a3f8c;
}

main section div.common_listing_page table tbody tr:nth-child(even) {
    background-color: #691149a1;
}

main section div.common_listing_page table tbody tr:hover {
    background-color: var(--eduLithanColorCode);
    color: white;
}

main section div.common_listing_page table tbody tr i.fa-file-lines {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    background-color: var(--eduLithanColorCodeLightGradient);
    cursor: pointer;
    box-shadow: 0 0 0.1rem 0.2rem rgba(247, 246, 246, 0.3);
}

/* common listing page end */

/* common form desing start */
main section div.common_form_design {
    width: calc(100vw - 27rem);
    height: calc(100vh - 10rem);
    border-radius: 1.7rem;
    padding: 0.7rem;
    box-shadow: 0 0 0.5rem rgba(137, 32, 98, 0.4);
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

main section div.common_form_design form .form_container {
    margin: 2rem;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

main section div.common_form_design form .form_container .form_group {
    margin-bottom: 1.5rem;
}

main section div.common_form_design form .form_container .form_group label {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: black;
    margin-bottom: 1rem;
}

main
    section
    div.common_form_design
    form
    .form_container
    .form_group
    label
    i.fa-question-circle {
    font-size: 1.4rem;
    margin-left: 0.7rem;
    color: var(--eduLithanColorCode);
    cursor: pointer;
}

main section div.common_form_design form .form_container .form_group input,
main section div.common_form_design form .form_container .form_group textarea,
main section div.common_form_design form .form_container .form_group select {
    font-size: 1.4rem;
    color: black;
    border: none;
    box-shadow: 0 0 0.1rem 0.1rem rgba(0, 0, 0, 0.1);
    width: 100%;
    border-radius: 0.7rem;
    padding: 0.5rem 1rem;
}

main section div.common_form_design form .form_container .form_group textarea {
    height: 15rem;
}

main
    section
    div.common_form_design
    form
    .form_container
    div.prompt_generate_btn_wrapper {
    text-align: right;
}

main
    section
    div.common_form_design
    form
    .form_container
    button.prompt_generate_btn,
main section div.common_form_design form button.form_submit_btn {
    background-color: var(--eduLithanColorCode);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    border: none;
    margin: -0.7rem 0 1.5rem 0;
}

main
    section
    div.common_form_design
    form
    .form_container
    button.prompt_generate_btn:hover,
main section div.common_form_design form button.form_submit_btn:hover {
    background: linear-gradient(
        to right,
        var(--eduLithanColorCode),
        var(--eduLithanColorCodeLightGradient)
    );
    color: white;
}

main section div.common_form_design form div.form_submit_btn_wrapper {
    text-align: center;
}

main
    section
    div.common_form_design
    form
    .form_container
    .form_group
    .drop-zone {
    border: 0.1rem solid #ddd;
    border-radius: 0.7rem;
    width: 100%;
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    position: relative;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    margin: 0 auto;
}

main
    section
    div.common_form_design
    form
    .form_container
    .form_group
    .drop-zone.dragover {
    border-color: #8a194f;
    background-color: #f0f0f0;
}

main
    section
    div.common_form_design
    form
    .form_container
    .form_group
    .drop-zone
    p {
    margin: 0;
    color: #8a194f;
    font-weight: 600;
}

main section div.common_form_design form .form_container .form_group #preview {
    max-width: 90%;
    max-height: 15rem;
    border-radius: 0.7rem;
    margin-top: 10px;
    object-fit: contain;
    display: block;
    position: relative;
}
/* common form desing end */

/* common view page start */
main section div.common_view_page {
    width: calc(100vw - 27rem);
    height: calc(100vh - 10rem);
    border-radius: 1.7rem;
    padding: 2rem;
    box-shadow: 0 0 0.5rem rgba(137, 32, 98, 0.4);
}

main section div.common_view_page h2 {
    font-weight: bold;
    font-size: 1.8rem;
}

main section div.common_view_page pre {
    font-size: 1.4rem;
    line-height: 2.3rem;
    color: rgb(78, 76, 76);
    font-weight: bold;
    text-align: justify;
    width: calc(100vw - 31rem);
    height: calc(100vh - 17rem);
    padding: 2rem 0;
}

main section div.common_view_page pre::-webkit-scrollbar {
    width: 0.6rem;
    height: 0.6rem;
}

main section div.common_view_page pre::-webkit-scrollbar-thumb {
    border-radius: 5rem;
    background: linear-gradient(
        180deg,
        var(--eduLithanColorCodeLight),
        var(--eduLithanColorCode)
    );
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

main section div.common_view_page pre::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        var(--eduLithanColorCode),
        var(--eduLithanColorCodeLight)
    );
}

main section div.common_view_page pre::-webkit-scrollbar-button:single-button {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0;
}

main
    section
    div.common_view_page
    pre::-webkit-scrollbar-button:single-button:horizontal:decrement {
    border-style: solid;
    border-color: transparent rgb(96, 96, 96) transparent transparent;
}

main
    section
    div.common_view_page
    pre::-webkit-scrollbar-button:single-button:horizontal:decrement:hover {
    border-color: transparent rgb(112, 112, 112) transparent transparent;
}

main
    section
    div.common_view_page
    pre::-webkit-scrollbar-button:single-button:horizontal:decrement:active {
    border-color: transparent rgb(128, 128, 128) transparent transparent;
}

main
    section
    div.common_view_page
    pre::-webkit-scrollbar-button:single-button:horizontal:increment {
    border-style: solid;
    border-color: transparent transparent transparent rgb(96, 96, 96);
}

main
    section
    div.common_view_page
    pre::-webkit-scrollbar-button:single-button:horizontal:increment:hover {
    border-color: transparent transparent transparent rgb(112, 112, 112);
}

main
    section
    div.common_view_page
    pre::-webkit-scrollbar-button:single-button:horizontal:increment:active {
    border-color: transparent transparent transparent rgb(128, 128, 128);
}

main section div.common_view_page pre::-webkit-scrollbar-corner {
    display: none;
}

main section div.common_view_page pre::-webkit-scrollbar-track-piece {
    background: linear-gradient(180deg, gainsboro, #e0e0e0);
}

main section div.common_view_page pre::-webkit-scrollbar:vertical {
    display: none;
}

/* common view page end */

/* banner view page */

main section div.banner_design {
    width: calc(100vw - 27rem);
    height: calc(100vh - 10rem);
    border-radius: 1.7rem;
    padding: 0.7rem;
    box-shadow: 0 0 0.5rem rgba(137, 32, 98, 0.4);
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

main section div.banner_design #banner_container {
    height: 60rem;
    width: 60rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: auto;
    padding: 3rem;
    position: relative;
}

main section div.banner_design #banner_container h1 {
    font-size: 4.5rem;
    /* background: linear-gradient(
        to right,
        var(--eduLithanColorCodeLightGradient),
        skyblue,
        var(--eduLithanColorCode),
        rgba(245, 59, 3, 0.986)
    ); */
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--eduLithanColorCode);
}

main section div.banner_design #banner_container .title_wrapper {
    height: 15.5rem;
    width: 35rem;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 3rem;
}

main section div.banner_design #banner_container h2 {
    color: white;
}

main section div.banner_design #banner_container p.datetime {
    font-size: 4rem;
    font-weight: bolder;
    color: #600e2d;
}

main section div.banner_design #banner_container p.complementary_btn {
    font-size: 1.8rem;
    color: #600e2d;
    border: 0.1rem solid #600e2d;
    border-radius: 50rem;
    /* width: 17.5rem; */
    width: max-content;
    padding: 1rem 2rem;
    font-weight: bold;
    text-align: center;
}

main section div.banner_design #banner_container img {
    position: absolute;
    bottom: 0.1rem;
    right: 0rem;
    width: 25rem;
}

main section div.banner_design #download_button {
    background-color: var(--eduLithanColorCode);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 1.4rem;
    border-radius: 0.5rem;
    border: none;
    margin-top: 3rem;
}

main section div.banner_design #download_button {
    background: linear-gradient(
        to right,
        var(--eduLithanColorCode),
        var(--eduLithanColorCodeLightGradient)
    );
    color: white;
}

/* main section end */
