body {
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding-bottom: 100px;
    box-sizing: border-box;
    color: #000;
}

.wrapper {
    max-width: 960px;
}

.chart-line {
    margin: 0;
    padding: 0;
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
}

.chart-container {
    box-sizing: border-box;
    width: 33.33%;
    padding: 20px;
    margin: 0px !important;


}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px;
    gap: 20px;
    /* Add a vertical gap between rows */
}

/* ApexCharts resolves 100% against a canvas that is slightly taller than the
   fixed card. Keep the chart geometry unchanged and anchor wrapping legends
   inside the card instead of letting them overlap the following row. */
#charts-donuts-container .apexcharts-legend {
    top: auto !important;
    bottom: 42px !important;
    padding-inline: 8px;
}


.wide-container {
    gap: 20px;
}

.chart {
    width: 100%;
    height: 400px;
    /*background-color: #f0f0f0;*/
    background-color: #fff;
    /*border: 1px solid #ccc;*/
    box-shadow: 0px 1px 22px -12px #607D8B;
    padding: 15px 25px 25px 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 10px
}

footer {
    position: absolute;
    bottom: 0;
    height: 100px;
    padding-top: 50px;
}

.responsive {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

form {
    margin: 0;
}

td form {
    padding-top: 0px;
}

.bottom-nav {
    position: absolute;
    left: 0px;
    bottom: 0;
    width: 100%;
    margin-bottom: 0;
    height: 50px;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -60px;
    margin-top: -60px;
}

/* Styles for the popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
    /* Ensure the popup is on top */
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* CSS for blur effect */
#parentDiv.blur {
    filter: blur(5px);
}

#chart_2_Container {
    display: flex;
}

#radarChart {
    flex: 1;
    width: 30%;
    padding: 20px;
}

#scatterChart {
    flex: 1;
    width: 70%;
    padding: 20px;
}

/* ==========================================================================
    A bulk of the following CSS came from pea.rs - http://pea.rs
========================================================================== */

form {
    margin: 0;
}

form fieldset {
    border: none;
}

label {
    float: left;
    width: 100%;
    margin: 4px 0 5px;
    color: #2a2a2a;
    font-weight: 450;
    padding-top: 1%;
    padding-bottom: 1%;
}

.clonedInput+.clonedInput {
    border-top: 2px solid #2a2a2a;
    background-color: rgb(213, 213, 213);

    padding-top: 20px;
}

.sign-up_box input[type="text"] {
    padding: 10px;
    max-width: 100%;
}

input {
    padding: 10px;
    max-width: 100%;
}

select {
    padding: 10px;
    max-width: 100%;
}

input[type=file] {
    max-width: 100%;
}


form fieldset.check,
form fieldset.form-actions {
    padding-left: 20%;
}

form fieldset.check label {
    display: inline;
    float: none;
    width: auto;
    font-weight: 400;
}

form fieldset.entrylist ul li label {
    display: inline;
    float: none;
    width: auto;
    /*font-weight:400;*/
}

form fieldset select {
    min-width: 25%;
    margin: 0;
}


form fieldset.entrylist ul {
    margin: 5px 0 0 15%;
    list-style: none;
}

form fieldset.entrylist ul li {
    margin: 0 0 5px;
}

form fieldset.entrylist ul li:last-child {
    margin: 0;
}

form fieldset p.form-help {
    margin: 5px 0 0 20%;
    font-size: 12px;
    color: #999;
}

/*
form input[type="submit"] {
    color: #fff;
    margin:0;
    padding:5px 10px;
    font-size:12px;
    font-weight:700;
    background:-moz-linear-gradient(top,#42fcff 0%,#006466);
    background:-webkit-gradient(linear,left top,left bottom,from(#42fff9),to(#00665a));
    border:1px solid #1c4373;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4281ff', endColorstr='#004266'); /* IE6 & IE7 */
/*   -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4281ff', endColorstr='#004266')"; /* IE8 */
/*   -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
}*/
/*
form input[type="submit"]:active {
    border:1px solid #ccc;
    background:#eee;
}
*/

form input[type="checkbox"]:checked {
    background-color: #0fd0a6;
    border-color: #0fd0a6;
}


#addDelButtons {
    margin: 5px 0 20px 20%;
}

#btnAdd,
#btnDel {
    color: rgb(255, 250, 250);
    padding: 3px 18px 5px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 1px 2px rgba(000, 000, 000, 0.5), inset 0 0 0 rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 1px 2px rgba(000, 000, 000, 0.5), inset 0 0 0 rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 2px rgba(000, 000, 000, 0.5), inset 0 0 0 rgba(255, 255, 255, 0.9);
}

#btnAdd {
    background: solid #0fd0a6;
    border: 1px solid #0d695b;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#4281ff', endColorstr='#004266');
    /* IE6 & IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4281ff', endColorstr='#004266')";
    /* IE8 */
}

#btnDel {
    background: solid #f04856;
    border: 1px solid #731c20;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f04856', endColorstr='#600');
    /* IE6 & IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#f04856', endColorstr='#600')";
    /* IE8 */
}

button[disabled],
input[disabled] {
    background: #d8dadd !important;
    color: #83868a !important;
    border: 1px solid #b5b7bb !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/*
form input[type="submit"]:hover,form input[type="submit"]:focus, #btnAdd:hover {
    background:#22e2cc;
    box-shadow: none;
}*/

#btnDel:hover {
    background: rgb(175, 0, 0);
    box-shadow: none;
}

.fa-times-thin:before {
    content: '\00d7';
}

@media screen and (max-width: 600px) {

    #wrapper {
        width: 90%;
        margin: 0 auto;
    }

    form fieldset label {
        display: block;
        float: none;
        width: auto;
        margin: 0 0 5px;
    }

    form fieldset.form-actions,
    form fieldset.check,
    form fieldset.entrylist ul,
    form fieldset p.form-help {
        margin-left: 0;
        padding-left: 0;
    }


    #addDelButtons {
        margin: 5px 0 20px;
        font-size: 12px;
    }

    .clonedInput_1 {
        padding: 10px;
        margin-bottom: 10px;
        border-color: #2a2a2a;
        border: 2px;
        border-radius: 10px;
        border-width: 5px 5px;
    }
}

.text-right {
    text-align: right;
}

.wrapper-entry {
    padding: 10px;
    margin-bottom: 2%;
    border: 1px solid rgb(179, 179, 179);
    border-radius: 10px;
}

#wrapper-file-upload {
    margin-top: 200px;
    width: 15%;
    position: fixed;
    z-index: 8;
    top: 0;
    right: 0.5%;
}

#popup {
    display: none;
    position: fixed;
    bottom: 10%;
    right: 0.5%;
    width: 15%;
    max-height: 40%;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 50px;
    padding-bottom: 5px;
    background-color: #f8f9fa;
    border: 1px solid rgb(179, 179, 179);
    border-radius: 10px;
    z-index: 9;
}

#close_popup {
    position: absolute;
    top: 2%;
    left: 2%;
}

#submit_area {
    position: fixed;
    bottom: 6.5%;
    right: 1%;
    z-index: 8;

}

#form_page {
    padding-left: 10%;
    padding-right: 10%;
}

#pdf_update {
    position: fixed;
    bottom: 6.5%;
    right: 15px;
    z-index: 10;
    min-width: 0;
}

#back_to_form {
    position: fixed;
    bottom: 6.5%;
    right: 150px;
    z-index: 10;
}

/*
    DEMO STYLE
    https://bootstrapious.com/p/bootstrap-sidebar
*/

@font-face {
    font-family: Faktum;
    src: "../../resources/fonts/Faktum-Regular.otf"

}

body {
    font-family: 'Faktum', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Faktum', sans-serif;
    ;
    font-size: 1.3em;
    font-weight: 300;
    line-height: 1.7em;
    color: #000;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.parent-div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Use flexbox */
}

.child-div {
    flex: 1;
    min-width: min(100%, 280px);
    /* Distribute available space equally between the two child divs */
    padding: 10px;
    /* Optional: Add padding for spacing */
}

.child-div:first-child {
    margin-right: 0;
    /* Optional: Add margin between the child divs */
}

.navbar {
    padding: 2% 2%;
    width: 100%;
    background: rgb(0, 0, 0);
    border: none;
    border-radius: 0;
    /*box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);*/
}

.navbar-top {
    margin-bottom: 40px;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.btn {
    margin-bottom: 1% !important;
}

.btn-primary {
    min-width: 10%;
    background-color: #0fd0a6b4 !important;
    border-color: #0fd0a6b4 !important;
}

.btn-primary:hover {
    background-color: #0fd0a6 !important;
    border-color: #0fd0a6 !important;
}


.btn-secondary {
    min-width: 10%;
    background-color: #6f6f6faf !important;
    border-color: #6f6f6faf !important;

}

.btn-secondary:hover {
    background-color: #6f6f6f !important;
    border-color: #6f6f6f !important;
}


.btn-outline-primary {
    color: #0fd0a6 !important;
    border-color: #0fd0a6 !important;
}

.btn-outline-primary:hover {
    color: #ffffff !important;
    background-color: #0fd0a6 !important;
    border-color: #0fd0a6 !important;
}


.btn-start {
    min-width: 25% !important;
    font-size: large;

}

div #loading {
    width: 200px;
    height: 200px;
    margin: auto;
    display: none;
    background: url('../images/loading.gif') no-repeat;
    cursor: wait;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    /*padding: 20px;*/
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

#content_page {
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 100px;
}


/* Nav */
.navbar-nav {
    justify-content: end;
    width: 100%;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.nav-link:hover {
    color: #0fd0a6 !important;
    font-weight: 500 !important;
}


textarea {
    resize: none;
}

/* Microsoft login button */
.bsk-container {
    margin-top: 15px;
}

.x-icon {
    height: 1em;
    width: 1em;
    top: .125em;
    position: relative;
}

.x-alt {
    color: #777;
}

.login-wrapper {
    padding: 10px;
    display: block;
    width: 25%;
    margin: auto;
    border: 1px solid rgb(179, 179, 179);
    border-radius: 10px;
}

.text-center {
    margin: 1rem;
}

#image_preview {
    width: 5%;
}

.form_edit_pdf {
    margin: 0;
    padding: 0;
    display: inline;
}

#page_header {
    position: relative;
}

.contacts {
    color: #03cfaf;
}

#search_wrapper {
    margin-left: 50%;
}

#search_icon {
    position: absolute;
    padding: 10px;
    z-index: 5;
}

#search_input {
    margin-right: 5px;
    padding-left: 35px;
}

.syoner_name_list {
    font-weight: bold
}

.syoner_btn_list {
    margin: 0;
    padding: 0;
    display: inline;
}


.clone_check {
    max-width: 100%;
    padding-top: 1%;
    display: flex;
}

.clone_label_check {
    font-weight: normal;
    margin-right: 2em;
    margin-left: auto;
    padding: 0;
}

.clone_block {
    padding: 10px;
    margin-top: 1%;
    margin-bottom: 2%;
    border: 1px solid rgb(179, 179, 179);
    border-radius: 10px;
}

.delete_btn_matching {
    width: 100%;
    margin-top: 40px;
    margin-left: 0px
}

.add_btn_matching {
    padding-top: 2%;
}

#upload_header {
    position: relative;
}

.btn_minimize {
    text-align: right;
    position: absolute;
    right: 0;
}

#or_text {
    margin-top: 15px;
}

#upload_button_form {
    margin-top: 20px;
}

.form_header {
    position: relative;
}

.btn_minimize_section {
    text-align: right;
    position: absolute;
    right: 0;
    bottom: 0;
}

#profile_matching_icon {
    width: 70px
}

.option_pdf_wrapper {
    padding: 0
}

.option_pdf_label {
    margin-right: 20px
}

.option_pdf_input {
    margin-top: 7.5px
}

#bottom_bar_text {
    width: 100%;
    color: white;
}

#top_bar_logo {
    width: 20%
}

#top_logout_btn {
    margin: 5px
}

.stored-model-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

#stored_model_div label {
    display: block;
    margin-top: 8px;
}

#stored_model_div input,
#stored_model_div select {
    width: 100%;
    max-width: 360px;
}

.prediction-status {
    margin: 18px 0 0;
    color: #475569;
}

.prediction-status--error {
    color: #b42318;
}

.prediction-result {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 190px;
    margin-top: 18px;
    padding: 16px 20px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #f8fafc;
}

.prediction-result__label {
    color: #475569;
    font-size: 14px;
}

.prediction-result__value {
    color: #15294b;
    font-size: 32px;
    line-height: 1.1;
}
