/*----------------------------*/
/*----- GLOBAL / GENERAL -----*/
/*----------------------------*/
:root
{
    --text-color: #fff;
    --text-color-black: #100C0C;
    --primary-color: #CA138A;
    --secondary-color: #EF5023;
    --background-secondary-color: #F1D9CF;
    --background-color: #CFCDCC;
    --footer-shadow-color: 202, 19, 138;
}

.navbar-white {
    background-color: #ffffff00;
    color: #1f2d3d;
}

.main-header {
    border-bottom: 1px solid #ffffff00;
    z-index: 1034;
}

body {
    font-family: "Montserrat", sans-serif !important;
}

h1 {
    font-size: 36px;
}

h4 {
    font-size: 16px;
}

.content {
    position: relative;
    z-index: 0;
}
.content-wrapper{
    background-color: transparent !important;
}

.btn.btn-action, .overlay-btn, .btn.btn-action:hover, .overlay-btn:hover{
    border: none;
    border-radius: 100px;
    background-color: var(--secondary-color);
    color: #fff;
    width: 200px;
    min-width: 200px;
    height: 45px;
    text-align: center;
    align-content: center;
}

.btn.btn-back, .btn.back:hover{
    border: none;
    border-radius: 100px;
    background-color: #bdbbba;
    color: #fff;
    width: 200px;
    min-width: 200px;
    height: 45px;
    text-align: center;
    align-content: center;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    font-family: "Montserrat", sans-serif !important;
    border-radius: 40px !important;
    color: var(--primary-color) !important;
}
div:where(.swal2-container) div:where(.swal2-loader){
    border-color: #EF5023 rgba(0, 0, 0, 0) #EF5023 rgba(0, 0, 0, 0);
}

@media (min-width: 1024px) {
.sidebar {
        width: 100%;
    }
.nav-link.active{
    background-color: var(--primary-color) !important;
}
.brand-link .brand-image
 {
    width: 86%;
    max-height: 100% !important;
 }
 .icon-table{
    color: var(--primary-color);
 }
 .content-wrapper{
    background-color: #fff1fa !important;
 }
 .col-2.text-left .btn.btn-action {
    width: 46px;
    min-width: auto;
 }

/* === Pagination === */

.dataTables_wrapper .dataTables_paginate .paginate_button{
    padding: 5px !important;
}

.paginate_button.page-item,
.paginate_button.page-item:hover,
.paginate_button.page-item:focus,
.paginate_button.page-item:active {
    color: var(--text-color) !important;
    border: 1px solid transparent !important;
    background-color: transparent;
    background: -webkit-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: -moz-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: -ms-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: -o-linear-gradient(top, transparent 0%, transparent 100%) !important;
    background: linear-gradient(to bottom, transparent 0%, transparent 100%) !important;
    box-shadow: none !important;
}

a.page-link {
    width: 40px;
    height: 40px;
    font-weight: 500;
    border: 1px solid var(--primary-color) !important;
    border-radius: 3px !important;
    color: var(--primary-color) !important;
}

a.page-link:hover {
    background-color: var(--sixth-color) !important;
    color: var(--text-color) !important;
}

.paginate_button.page-item.active > a{
    color: var(--text-color) !important;
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    width: 40px;
    height: 40px;
    border-radius: 3px;
}


}

@media (max-width: 512px) {
.wrapper {
background:
    radial-gradient(circle at top right, rgb(146 90 143 / 65%) 0%, transparent 8%),
    radial-gradient(circle at top left, rgb(232 167 114 / 55%) 0%, transparent 8%),
    radial-gradient(circle at top center, rgb(186 97 154 / 60%) 0%, transparent 8%),
    linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 18%,
        rgba(255, 255, 255, 0.55) 30%,
        #ffffff 38%
    ),
    linear-gradient(
        to right,
        rgb(232 167 114 / 70%) 0%,
        rgb(146 90 143 / 75%) 100%
    );
    }

.wrapper.bg-custom {
    background:
        radial-gradient(circle at top right, rgb(146 90 143 / 65%) 0%, transparent 8%),
        radial-gradient(circle at top left, rgb(232 167 114 / 55%) 0%, transparent 8%),
        radial-gradient(circle at top center, rgb(186 97 154 / 60%) 0%, transparent 8%),
        linear-gradient(to bottom, rgb(158 24 208 / 57%) 0%, rgb(208 122 190 / 96%) 15%, rgba(244, 74, 222, 0) 93%),
        url('/img/girlface.jpg');

    background-size: cover;
    background-position: right;
    height: 100vh;
}
.wrapper.bg-custom-analysis {
    background-attachment: fixed !important;
    min-height: 100vh;
    background:
        url('/img/profile2.png') center 32% / 100% no-repeat,

        radial-gradient(circle at top right, rgb(146 90 143 / 65%) 0%, transparent 8%),
        radial-gradient(circle at top left, rgb(232 167 114 / 55%) 0%, transparent 8%),
        radial-gradient(circle at top center, rgb(186 97 154 / 60%) 0%, transparent 8%),

        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 18%,
            rgba(255, 255, 255, 0.55) 30%,
            #ffffff 38%
        ),

        linear-gradient(
            to right,
            rgb(232 167 114 / 70%) 0%,
            rgb(146 90 143 / 75%) 100%
        );
}

.table-result {
    width: 100%;
    padding-bottom: 150px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-row .label {
    flex: 0 0 40%;
    font-weight: 700;
    color: #ef5023;
}

.info-row .value {
    flex: 1;
    word-break: break-word;
    font-weight: 600;
}

.info-row .color-dot,
.info-row .dot-placeholder {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.info-row .color-dot {
    border-radius: 50%;
    box-shadow: 0px 0px 8px #000;
}

.info-row .dot-placeholder {
    visibility: hidden;
}

.icon-table{
    width: 32px;
 }
 .icon-button{
    width: 24px;
 }
 .news-link{
 position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4); /* grigio trasparente */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
 }

 .icon-slider{
    width: 30px;
    position: absolute;
    top:44px;
 }
 .icon-slider.stp1{
    filter: invert(1);
 }
/*------------------------*/
/*----- CAMERA STYLE -----*/
/*------------------------*/

#camera-header, #camera-top {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
}

#camera-header:not(.hidden-by-camera),
#camera-top:not(.hidden-by-camera) {
    opacity: 1;
    transform: translateY(0);
}

.hidden-by-camera {
    display: none !important;
    opacity: 0;
    transform: translateY(-10px);
}

/*------------------------*/

/*------------------------*/
/*----- LOGOUT MENU ------*/
/*------------------------*/

.dropdown.custom {
    position: absolute;
    top: 20px;
    right: 20px;
}

.dropdown.custom .dropdown-menu {
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 10px;
    min-width: 200px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transform-origin: top right;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown.custom .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.dropdown-item {
    font-family: 'Montserrat', sans-serif;
    color: #ca138a !important;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item:focus, .dropdown-item:active {
    background-color: #f8f9fa;
    outline: none;
}


/*------------------------*/

/*-----------------*/
/*----- TITLE -----*/
/*-----------------*/

.title-home-color-one {
    color: var(--text-color-black);
    font-weight: 900;
    font-family: 'Lora';
}

.title-home-color-two {
    color: var(--secondary-color);
    font-weight: 900;
    font-family: 'Lora';
}

.text-home-pink {
    color: var(--primary-color);
    line-height: 16px;
    font-weight: 400;
    font-size: 14px;
}

.title-box-info {
    font-size: 16px;
    justify-self: center;
    color: var(--text-color-black);
    font-weight: 700;
}

.title-splash-page {
    color: #ffefea;
    font-weight: 900;
    font-family: 'Lora';
    font-style: italic;
    letter-spacing: 0.1rem;
    word-spacing: 0.3rem;
}
h1.title-splash-page {
    font-size: 3rem;
}

.select2-selection, .form-control
{
    border-radius: 20px !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection
{
    border-color: #e59f99 !important;
    box-shadow: 0 0 0 .2rem rgba(244, 67, 54, 0.263) !important;
}
/*---------------------*/
/*----- CONTAINER -----*/
/*---------------------*/

.card.extend{
    border-radius: 20px;
    background-color: transparent;
    box-shadow: 0px 0px 0px;
}






.main-header{
        display: none;
    }

.content-wrapper {
    background-color: #fff;
}

.box-title-home {
    background-color: transparent;
    padding: 8px 16px;
    width: 100%;
    position: relative;
    z-index: 1050;
}

.box-title-home h1{
    padding-left: 20px;
}

.cord-box-top-home{
    border-radius: 28px;
    box-shadow: 0 0 8px rgb(0 0 0 / 19%);
    background-image: url(/img/analyze_skin.png);
    background-position: top;
    background-size: cover;
}

.cord-box-left-home {
    background: #EBC8DB;
    border: none;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 0 8px rgb(0 0 0 / 19%);
}

.cord-box-right-home {
    background: #EEB799;
    border: none;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 0 8px rgb(0 0 0 / 19%);
}

.title-box {
    color: var(--text-color-black);
    font-weight: 600;
}
h2.title-box {
    font-size: 1.2rem;
    font-family: 'Lora';
    
}
.description-text {
    color: #A69FA6;
    font-weight: 600;
    font-size: 14px;
}

small.description-text {
    color: #ffffff;
}

.cord-box-bottom-img {
    height: 180px;
    width: 100%;
    background-image: url(/img/group-girl-home.jpg);
    background-size: cover;
    background-position-y: center;
    border-radius: 28px;
}

.row.chk {
    display: flex;
    gap: 12px;
}

.question-slide h4{
    font-size: 1.6rem
}
textarea.form-control{
    background-color: #ffffffc2;
}
textarea.form-control:focus{
    background-color: #ffffffc2;
    border-color: var(--background-secondary-color);
}

.alert-warning{
    color: #ffffff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.alert-info
 {
    background-color: #ca138a99;
    border: 2px solid #ca138a;
    font-weight: 600;
    text-align: center;
 }
/*---------------------*/
/*------- BUTTON ------*/
/*---------------------*/

.button-pink, .button-pink:hover {
    border: none;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 16px;
}

/*---------------------*/
/*-------- IMG --------*/
/*---------------------*/

.box-circle {
    justify-self: center;
    border-radius: 50%;
    border: solid 5px white;
}

.box-img-home {
    background: white;
    width: max-content;
    justify-self: center;
    padding: 10px;
    border-radius: 50%;
}

.face {
    background: #AAD7C9;
}

.eyes {
    background: #C76AA7;
}

.lips {
    background: #F4BF54;
}

.orange {
    background: #E94C23;
}

.brown {
    background: #ECD4CD;
}

.blu {
    background: #7F8CC5;
}

.green {
    background: #B4D99F;
}


/*-----------------------*/
/*------- Footer --------*/
/*-----------------------*/

.box-footer, .row, .col-4 {
    overflow: visible !important;
}

.box-footer {
    height: 100px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    bottom: -1px;
}

.content-box-footer {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white; 
    text-decoration: none !important;
    padding-top: 15px;
}

.content-box-footer.request-is-active {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L25,0 C38,0 40,3 50,3 C60,3 62,0 75,0 L100,0 L100,20 L0,20 Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L25,0 C38,0 40,3 50,3 C60,3 62,0 75,0 L100,0 L100,20 L0,20 Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
}

.footer-shadow{
    position: fixed;
    z-index: 1;
    bottom: 0px;
    background: linear-gradient(
        to top,
        rgba(var(--footer-shadow-color), 0.8) 0%,
        rgba(var(--footer-shadow-color), 0) 100%
    );
    width: 100%;
    height: 200px;
    pointer-events: none;
}

.active-dot {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    z-index: 9999 !important;
}

.col-camera-centrale {
    background: white;
    height: 100px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px -1px;
}

.box-footer-camera {
    margin-top: -55px;
    background: var(--secondary-color);
    width: max-content;
    padding: 20px;
    border-radius: 50%;
    border: solid 5px white;
    z-index: 10;
}

.footer-text {
    font-size: 14px;
    color: #A69FA6;
    font-weight: 600;
}
.footer-text.active {
    color: #ca138a;
}

.content-box-footer {
    margin-bottom: auto;
    margin-bottom: auto;
    align-content: center;
}

.menu-icon{
    margin-top: 10px;
}

.title-text h3 {
    font-family: 'Montserrat';
    font-size: 1.3rem;
    font-weight: 600;
}


.box-container-app{
    height: calc(100vh - 177px);
}
.box-container-page{
    height: calc(100vh - 350px);
}

/*-----------------------*/
/*----- Loghin app ------*/
/*-----------------------*/
.login-page *:not(.fas):not(.fa), .register-page *:not(.fas):not(.fa){
    font-family: "Montserrat", sans-serif;
}
.login-page a, .login-page a:hover, .register-page a, .register-page a:hover{
    color: #fff;
    text-align: center;
}

.login-page, .register-page{
    background-image:
        linear-gradient(rgba(255, 80, 198, 0.2), rgba(255, 80, 198, 0.4)),
        url('/img/girls.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-box .card-header, .register-page .card-header{
    display: none;
}

.login-box .card-footer, .login-box .card, .login-card-body, .register-box .card-footer, .register-box .card, .register-card-body {
    background-color: transparent !important;
    border: none !important;
    box-shadow: 0 0 0 !important;
}

.login-box .card-footer, .register-box .card-footer{
    text-align: center;
}

.login-box .card-footer p{
    margin: 20px 0px !important;
}



/*
.login-card-body .btn.btn-action{
    display: flex;
    justify-self: center;
    justify-content: center;
    align-items: center;
}*/

.login-card-body input, .register-card-body input {
    border: none !important;
    border-radius: 100px !important;
    background-color: #fff !important;
}

.login-card-body .input-group-text, .register-card-body .input-group-text{
    color: #fff !important;;
    border: none !important;
}

.login-card-body input:-webkit-autofill,
.login-card-body input:-webkit-autofill:hover,
.login-card-body input:-webkit-autofill:focus,
.login-card-body input:-webkit-autofill:active,
.register-card-body input:-webkit-autofill,
.register-card-body input:-webkit-autofill:hover,
.register-card-body input:-webkit-autofill:focus,
.register-card-body input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 1000px #ffdcdc inset !important;
}
.icheck-primary label{
    color: #fff !important;
    font-weight: 400 !important;
}

/* Overlay full screen */
#mobileOverlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    overflow: hidden;
    transition: background 1s ease;
    background: #ff50c6;
}

#overlayBottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

#overlayLogo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 200px;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#mobileOverlay.shrink {
    background: linear-gradient(
        to bottom,
        rgb(255 80 198 / 0%) 0%,
        rgba(255, 80, 198, 0.2) 57%,
        #CA138A 100%
    );
}

#loginBox {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#loginBox.show-login {
    opacity: 1;
}



.nav-link {
    color:#fff !important;
}
.nav-link i{
    font-size: 30px !important;
}
/*-----------------------*/
/*--------- Chat --------*/
/*-----------------------*/


.chat-notification {
    position: relative;
    padding: 14px 18px;
    border-radius: 22px;
    color: white;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 20px;
    display: inline-block;
    max-width: 75%;
}

.notification-message-left {
    background: linear-gradient(90deg, #CF6CA8, #F59D7E);
    border-bottom-left-radius: 6px;
}

.notification-message-left:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-radius: 10px 0px 0px 10px;
    border-right: 12px solid #CF6CA8;
    border-top: 12px solid transparent;
}

.notification-message-right {
    background: #d6c5e9;
    color: #7a2d7f;
    border-bottom-right-radius: 6px;
}

a.fa.fa-angle-left {
    color: white;
    float: left;
    font-size: 25px;
}

.notification-message-right:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-radius: 0px 10px 10px 0px;
    border-left: 12px solid #d6c5e9;
    border-top: 12px solid transparent;
}


.message-left {
    text-align: left;
}

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

.choice-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.choice-btn {
    display: block;
    width: 140px;
    margin: 8px auto;
    padding: 8px 0;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    color: white;
    border: none;
}

.btn-orange {
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-color));
}

.btn-pink {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
}

.text-info-profile {
    background: linear-gradient(90deg, #CF6CA8, #F59D7E);
    border-radius: 20px;
    color: white;
}

.content-wrapper {
    min-height: calc(100vh - calc(3.5rem + 1px) - calc(3.5rem + 1px)) !important;
}

.progress{
    background-color: #ffffff;
    border-radius: 10px;
}
.progress-bar{
    background-color: var(--secondary-color);
}
.option-card {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #ffffffc2;
    border-radius: 0.5rem;
}
.option-card.album {
    font-weight: 400;
    background-color: #fff2f2;
}

.option-card input[type="radio"] {
    accent-color: var(--secondary-color);
}


.checkbox-cust {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #787878;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    background: #fff;
    transition: all 0.2s ease;
}

.checkbox-cust:checked {
    border-color: var(--secondary-color);
}

.checkbox-cust:checked::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.checkbox-cust:checked::after {
    display: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-check-input {
    margin-top: 0;
}

@media (min-width: 769px) {
    #mobileOverlay,
    #overlayLogo,
    #overlayBottom {
        display: none;
    }
    .main-header{
        display: flex;
    }
}

}