/* --------------------------- content --------------------------- */

div.external_container{
    background-image: url('../images/background.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    background-size: cover;
    position: absolute;
    min-height: 100vh;
    right: 0px;
    left: 0px;
    top: 0px;
}

div.side_column_layout div.external_container{
    background-image: none;
    left: 250px;
}

div.external_container div.content_top{padding: 30px 45px 20px 45px;}
div.external_container div.content_data{padding: 30px 45px 40px 45px;}

div.side_column_layout header + div.external_container{top:65px !important;}

div.content_data{
    color: var(--gray-basic-text);
    background-color: #f7f7f7;
}

/* --------------------------- footer -------------------------- */

footer{padding: 20px 0;}

footer p{
    color: var(--white-color);
    text-align: center;
    margin: auto 20px;
    font-size: 11px;
}

div.side_column_layout footer p{
    color: var(--gray-basic-text);
    text-align: left;
}

/* ------------------------------ login / registration  -------------------------------- */

div.login_box{
    margin: 100px auto;
    max-width: 700px;
    width: 100%;
}

div.login_box a.logo_container{
    margin: 0 auto 50px auto;
    width: 150px;
}

div.login_box form{
    background-color: rgba(0,0,0, 0.3);
    padding: 30px;
    margin: 20px;
}

ul.errorlist{margin-bottom: 20px;}

ul.errorlist li{
    font-weight: 500;
    font-size: 15px;
    color: #e52860;
}

div.login_box input[type="text"],
div.login_box input[type="email"],
div.login_box input[type="password"]{
    background-color: #fff;
}


div.login_box input[type="text"]:focus-visible,
div.login_box input[type="email"]:focus-visible,
div.login_box input[type="password"]:focus-visible{
    background-color: #ddd;
}

div.login_box div.form_field label{
    font-family: "Barlow Condensed", sans-serif;
    color: var(--white-color);
    font-size: 15px;
}

div.login_box p{
    font-size: 13px;
    color: #fff;
}

a.forgot_pwd{
    margin: -10px 0 10px 0;
    font-size: 13px;
    float: right;
}

div.login_box div.action_container{margin: 20px 0 0 0;}

div.login_box h2{
    font-family: "Barlow Condensed", sans-serif;
    margin: 50px 0 20px 0;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

div.login_box .btn-secondary{
    background-color: transparent;
    margin: 0 auto;
    display: block;
    width: 130px;
    color: #fff;
}

div.login_box .btn-secondary:hover{
    background-color: #fff;
    color: #575756;
}

div.privacy_field{margin-bottom:10px;}

div.privacy_field label{
    font-size: 13px;
    cursor: pointer;
    display: inline;
}

/* --------------------------- menu --------------------------- */

div.side_column{
    background-color: var(--primary-color);
    position: fixed;
    width: 250px;
    z-index: 10;
    bottom: 0px;
    left: 0px;
    top: 0px;
}

div.side_column a.logo_container{
    padding: 30px 20px 10px 20px;
    width: 200px;
}

div.side_column nav ul li.menu_section_title{
    font-family: "Barlow Condensed", sans-serif;
    margin: 35px 15px 15px 20px;
    text-transform: uppercase;
    color: var(--gray-text);
    font-weight: 400;
    font-size: 15px;
}

div.side_column nav ul li {margin: 0;}

div.side_column nav ul li a,
div.side_column nav ul li.disabled{
    border-left: 4px solid transparent;
    color: var(--gray-text);
    padding: 12px 10px;
    font-weight: 400;
    display: block;
}

div.side_column nav ul li a i,
div.side_column nav ul li.disabled i{
    text-align: center;
    font-size: 15px;
    width: 30px;
}

div.side_column nav ul li a:hover{
    border-left: 4px solid var(--secondary-color);
    background-color: #f6b06a;
}

div.side_column nav ul li.disabled:hover{
    cursor: not-allowed;
}

div.side_column nav ul li.active a{
    border-left: 4px solid var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    background-color: #f6b06a;
    color: var(--white-color);
}

div.menu_bottom_fixed_section{
    border-top: 1px solid #f6b06a;
    flex-direction: row;
    align-items: center;
    position: fixed;
    display: flex;
    width: 250px;
    z-index: 10;
    bottom: 0px;
    left: 0px;
}

a.user_name{
    color: var(--gray-text);
    flex-direction: row;
    align-items: center;
    line-height: 15px;
    font-weight: 400;
    font-size: 13px;
    display: block;
    display: flex;
    padding: 20px;
    width: 180px;
}

a.user_name div.user_custom_icon{
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 20px;
    text-align: center;
    line-height: 40px;
    font-weight: 300;
    height: 40px;
    width: 40px;
    color: #fff;
}

div.menu_bottom_fixed_section a.action_btn{
    color: var(--gray-text);
    text-align: center;
    line-height: 80px;
    height: 80px;
    width: 70px;
}

a.user_name.active,
a.user_name:hover,
div.menu_bottom_fixed_section a.action_btn:hover{
    background-color: rgba(0,0,0,0.07);
}

/* ------------------------------ common -------------------------------- */

div.white_box{
    background-color: #fff;
    padding: 20px;
}

h1{
    font-family: "Barlow Condensed", sans-serif;
    color: var(--primary-color);
    font-weight: 400;
    font-size: 30px;
}

h2{
    font-family: "Barlow Condensed", sans-serif;
    color: var(--gray-basic-text);
    font-weight: 400;
    font-size: 25px;
}

h3,
h2.price_title{
    font-family: "Barlow Condensed", sans-serif;
    color: var(--secondary-color);
    margin: 10px 0 40px 0;
    font-weight: 400;
    font-size: 20px;
}

h2.price_title{
    margin: 10px 0 20px 0;
}

ul.breadcrumb li * {
  display: inline-block;
  padding: 0 5px;
}

ul.breadcrumb li a{color: var(--secondary-color);}

/* --------------------------- alerts -------------------------- */

ul.messages{
    margin: 20px 20px 0px 20px;
    display: block;
}

ul.messages li{
    background-color: #e2e3e5;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 15px;
    color: #383d41;
    display: flex;
}

ul.messages li.info{
    background-color: #d1ecf1;
    color: #0c5460;
}

ul.messages li.success{
    background-color: #d4edda;
    color: #155724;
}

ul.messages li.warning{
    background-color: #fff3cd;
    color: #856404;
}

ul.messages li.error{
    background-color: #f8d7da;
    color: #721c24;
}

ul.messages li.button_content{padding: 10px 20px;}
ul.messages li.button_content .btn{margin-left: auto;}

/* --------------------------- form -------------------------- */

div.verify_image{position: relative;}

.loading-container {
    padding-top: 150px;
    position: absolute;
    display: none;
    height: 95%;
    z-index: 2;
    width: 98%;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select{
    font-family: 'Barlow', sans-serif;
    background-color: #eee;
    margin-bottom: 20px;
    padding: 10px 15px;
    font-size: 15px;
    border: none;
    width: 100%;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="password"]:focus-visible,
input[type="number"]:focus-visible,
input[type="date"]:focus-visible,
textarea:focus-visible,
select:focus-visible{
    background-color: #ddd;
    outline: none;
}

input:disabled,
select:disabled{
    background-color: rgba(0,0,0,0.03);
    cursor: not-allowed;
}

textarea{
    min-height: 100px;
    padding: 5px 10px;
}

div.form_field label,
label.form-label.h6{
    font-family: "Barlow Condensed", sans-serif;
    color: var(--gray-basic-text);
    font-weight: 400;
    font-size: 15px;
}

div.form_field span{color: #dc3545;}

/* password visualiser */
span.password_visualiser{
    color: var(--gray-basic-text) !important;
    margin: -53px 15px 0 0;
    position: relative;
    cursor: pointer;
    float: right;
}

/* --------------------------- upload image form -------------------------- */

/* custom upload button */
form.upload_form .file-field{position: relative;}

form.upload_form .file-field input[type=file] {
    filter: alpha(opacity=0);
    margin-bottom: -200px;
    position: relative;
    cursor: pointer;
    height: 200px;
    width: 100%;
    top: -200px;
    z-index: 2;
    opacity: 0;
}

form.upload_form .file-field input[type=file]::-webkit-file-upload-button {display: none;}

form.upload_form div.new_upload_area{
    background-color: #f8f8f8;
    border: 2px dotted #ccc;
    padding: 50px 0 0 0;
    text-align: center;
    position: relative;
    height: 200px;
}

form.upload_form div.new_upload_area i{
    margin-bottom: 20px;
    font-size: 60px;
    color: #e3e3e3;
}

form.upload_form div.new_upload_area p{
    color: var(--gray-basic-text);
    font-size: 14px;
}

form.upload_form .file-path-wrapper {overflow: hidden;}

#file-preview {
    transition: background-image 0.3s;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-height: 270px;
    width: 100%;
}

form.upload_form input.file-path {
    background-color: transparent;
    border: 1px solid transparent;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

form.upload_form input.file-path.invalid {
    background-color: #d4edda;
    color: #155724;
}

/* ------------------------ result ------------------------ */

/* loading */
.spinner {
    margin: 30px auto 0;
    text-align: center;
    width: 70px;
}

.spinner > div {
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    background-color: var(--primary-color);
    display: inline-block;
    border-radius: 100%;
    height: 18px;
    width: 18px;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

div.result_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result_content_wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

div.result_container div.image_container{
    margin: 20px auto;
    width: 200px;
}

.result_main_content {
    /* Contains evaluation result and image */
}

.result_info_boxes {
    /* Contains score and social info containers */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.retry_btn{
    margin: 40px auto 0px auto;
    display: block;
    width: auto;
    max-width: 300px;
}

.submit_button_container {
    text-align: center;
    margin-top: 20px;
}

/* --------------------------- info icon -------------------------- */
.info-icon {
    cursor: pointer;
    margin-left: 5px;
    color: #6c757d;
    font-size: 0.85em;
    opacity: 0.6;
}

/* --------------------------- API -------------------------- */

div.content_data ul{
    margin: 20px 20px 20px 25px;
    list-style-type: number;
}

div.content_data ul li{margin-bottom: 10px;}

.curl{
    background-color: black;
    display: inline-flex;
    border-radius: 4px;
    color: white;
    padding: 1%;
}

p.api_external_links a.simple_link{
    display: inline-block;
    margin: 10px 0 0 0;
}

p.api_external_links a.simple_link:first-of-type{margin-right: 10px;}
p.api_external_links a.simple_link:last-of-type{margin-left: 10px;}

div.table_container.scroller{overflow-x: scroll;}
div.table_container table{vertical-align: middle;}

code{
    margin: 5px 0 15px auto;
    display: block;
}

/* --------------------------- responsive -------------------------- */

@media screen and (max-width: 450px){
    div.login_box {max-width: 370px;}
}

@media screen and (min-width: 992px) {
    .result_content_wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .result_main_content {
        flex: 0 0 auto;
        width: auto;
    }

    .result_info_boxes {
        flex: 1;
        margin-left: 20px;
    }
}

/* --------------------------- image progress items -------------------------- */

.image-progress-item {
    padding: 15px;
    margin-bottom: 10px;
    /* border-radius: 5px; */
}

.image-progress-item.processing {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
}


.image-progress-item.completed.fake {
    border: 1px solid #dee2e6;
    border-left-width: thick;;
    border-left-color: var(--fake-color);
    /* border-left-color: var(--primary-color); */
    background-color: #ffffff;
    /* color: rgba(87, 87, 86); */
    /* color: #ef4444;                 /* Red text */
    /* opacity: 0.8; */
}


.image-progress-item.completed.real {

    border: 1px solid #dee2e6;
    border-left-width: thick;;
    border-left-color: var(--real-color);
    /* border-left-color: var(--primary-color); */
    background-color: #ffffff;
    /* color: var(--white-color); */
    /* color: rgba(87, 87, 86); */
    /* color: #ef4444;                 /* Red text */
    /* opacity: 0.8; */
}



.image-progress-item.failed {
    background-color: #e9ecef;
    border: 2px dashed #ef4444;
    color: #ef4444;                 /* Red text */
    opacity: 0.8;
}

.image-progress-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-progress-item-info {
    flex: 1;
}

.image-progress-item-actions {
    margin-left: 15px;
}
