@charset "UTF-8";
/* Stile base per la tabella */
.marketdomain_list_table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 16px;
    text-align: left;
    background-color: transparent;
}

.marketdomain_list_table tbody tr.domain_row:nth-child(odd) td {
    background-color: #F9F9F9 !important; /* Colore per le righe dispari */
}

.marketdomain_list_table tbody tr.domain_row:nth-child(even) td {
    background-color: #ffffff; /* Colore per le righe pari */
}

.marketdomain_list_table .sort-link {
	display: flex;
	column-gap: 5px;
	align-items: center;
}

/* Stile per le intestazioni */
.marketdomain_list_table th {
	background-color: #fff;
	color: #123456;
	padding: 10px;
	font-size: 0.9rem;
    border:0;
}

/* .marketdomain_list_table .md_head_sortable{
    text-align:center;
    display:inline-block;
    color:#123456;
    text-decoration:none;
    line-height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    column-gap: 5px;
} */

.marketdomain_list_table .md_head_sortable box-icon,
.marketdomain_list_table .md_head_not_sortable box-icon{
    height: 18px;
    width: 18px;
}

.marketdomain_list_table .md_head_not_sortable{
    text-align:center;
    display:inline-block;
    color:#123456;
    text-decoration:none;
    line-height: 18px;
    padding-bottom: 20px;
}

.marketdomain_list_table tbody TR TD{
    background-color: #fff !important;
    border:0;
}

.marketdomain_list_table tbody TR TD A{
    color:#123456;
    text-decoration:none;
}

.marketdomain_list_table tbody TR TD span{
    /*color:#ee761b;*/
    font-size:0.8rem;
}

.marketdomain_list_table tbody:before {
    content:"@";
    display:block;
    line-height:30px;
    text-indent:-99999px;

}

.marketdomain_list_table thead td {
  display: table-cell
}

.marketdomain_list_table thead tr:first-child th:first-child {
  border-top-left-radius: 5px;
}

.marketdomain_list_table thead tr:first-child th:last-child {
  border-top-right-radius: 5px;
}

.marketdomain_list_table thead tr:last-child th:first-child {
  padding-left: 20px;
  border-bottom-left-radius: 5px;
}

.marketdomain_list_table thead tr:last-child th:last-child {
    padding-right: 15px;
    border-bottom-right-radius: 5px;
}


.marketdomain_list_table tbody td {
  display: table-cell
}

.marketdomain_list_table tbody tr:first-child td {
  padding-top:15px;
}

.marketdomain_list_table tbody tr:first-child td:first-child {
  border-top-left-radius: 5px;
}

.marketdomain_list_table tbody tr:first-child td:last-child {
  border-top-right-radius: 5px;
}

.marketdomain_list_table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
}

.marketdomain_list_table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
}

.marketdomain_list_table tbody tr td:first-child {
	padding-left: 15px;
    padding-right:0px;
}


/* Stile per le righe */
.marketdomain_list_table td {
	padding: 10px;
	word-wrap: break-word;
	color: #333;
	font-size: 0.9rem;
	font-weight: 600;
}

/* Alternanza dei colori delle righe */
/* .marketdomain_list_table tr:nth-child(even) {
    background-color: #f9f9f9;
} */

/* Evidenziare la riga al passaggio del mouse */
.marketdomain_list_table tr:hover TD{
    background-color: #e8e8e8;
    cursor:pointer;
}

.hide_desktop{
    display: none;
}

.md-row-details{
    display: none;
}

.md-details-icon {
	text-align: center;
	min-height: 120px;
}

/* Stile per dispositivi mobili */
@media screen and (max-width: 768px) {

    .hide_mobile{
        display: none;
    }

    .hide_desktop{
        display: block;
    }

    .marketdomain_filter_form{
        display: none;
    }

    .marketdomain_list_table{
        width: calc(100vw - 40px);
    }

    .marketdomain_list_table td {
        padding: 5px;
        word-wrap: break-word;
        color: #333;
        font-size: 0.7rem;
        font-weight: bold;
    }
    
    .marketdomain_list_table tbody TR TD span{
        font-size: 0.65rem;
    }

    .marketdomain_list_table td:nth-child(1),
    .marketdomain_list_table th:nth-child(1),
    .marketdomain_list_table td:nth-child(2),
    .marketdomain_list_table th:nth-child(2),
    .marketdomain_list_table td:nth-child(3),
    .marketdomain_list_table th:nth-child(3),
    .marketdomain_list_table td:nth-last-child(2),
    .marketdomain_list_table th:nth-last-child(2),
    .marketdomain_list_table td:last-child,
    .marketdomain_list_table th:last-child {
        display: table-cell;
        vertical-align: middle;
    }

    .marketdomain_list_table td:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-last-child(2)):not(:last-child),
    .marketdomain_list_table th:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-last-child(2)):not(:last-child) {
        display: none;
    }

    .md-details-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding-right: 10px;
        transition: opacity 1s ease-in-out;
    }

    .md-details-row .md-column {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #EEE;
        padding: 4px;
        margin-top: 3px;
    }

    .md-details-row .md-column:last-child{
        border-bottom: none;
    }


}

.md_list_options{
    display: flex;
    justify-content: end;
}

.md_list_options .md_label{
    font-size:0.9rem;
}

.md_list_options SELECT{
    margin-left:10px;
	padding: 8px 12px;
	font-size: 0.7rem;
	color: #123456;
	font-weight: bold;
}


.md_pagination{
    margin-top: 15px;
}

.md_pagination a {
    color: #123456; 
    background-color: #f0f0f0; 
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size:0.8rem;
}

.md_pagination SPAN.current {
    background-color: #ee761b; 
    color: #fff; 
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size:0.8rem;
}

.page-numbers.dots{
    color:#fff;
}

.md_buy {
	background-color: #ee761b !important;
	border: 0 !important;
	border-radius: 5px !important;
	color: #fff !important;
	padding: 5px 10px 2px !important;
	font-weight: bold !important;
	line-height: 0.5rem !important;
}

/** FILTER **/

.marketdomain_filter H2 {
	background-color: #ee761b;
	font-size: 1.5rem;
	color: #fff;
	border-radius: 5px;
	margin: 0 0 15px 0;
	padding: 10px 20px;
}

.marketdomain_filter_form {
	background-color: #fff;
	padding: 15px 20px;
	border-radius: 5px;
}

.md_button {
	display: flex !important;
	margin: 5px auto !important;
	width: 100% !important;
	border: 0 !important;
    padding: 8px !important;
	border-radius: 5px !important;
	color: #fff !important;
	font-size: 0.9rem !important;
	align-items: center !important;
	justify-content: center !important;
}

.md_search_input {
	width: 95%;
	padding: 8px 6px;
	border-radius: 3px;
	border: 1px solid #123456;
}

.md_button.orange {
    background-color: #ee761b;
}

.md_button.blue {
    background-color: #123456;
}

.marketdomain_filter label {
	color: #123456;
	font-weight: bold;
	font-size: 0.8rem;
	margin-bottom: 8px;
	display: block;
    line-height: 1rem;
}

.marketdomain_filter .md_input_box{
    margin-bottom:15px;
}

.md_tld_grid{
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px; 
}

.marketdomain_filter input[type="radio"] {
    appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #ee761b;
    border-radius: 50%;
    outline: none;
    background-color: white;
    cursor: pointer;
}

.marketdomain_filter input[type="radio"]:checked {
    background-color: #ee761b;
}

.md_input_group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  .input-group {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .label {
    font-weight: bold;
    color: #4a4a4a;
    min-width: 30px; /* Per allineare le etichette */
  }
  
  .date-input {
    width: 100%;
    max-width: 200px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  .date-input:focus {
    border-color: #4a90e2;
  }
  
/** TOOLTIP & TOAST */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}


.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Posiziona il tooltip sopra l'elemento */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%; /* In basso */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.md-toast {
	visibility: hidden;
	max-width: 50%;
	margin: 0 auto;
	background-color: #4CAF50;
	color: white;
	text-align: center;
	border-radius: 3px 0 0 3px;
	position: fixed;
	z-index: 1;
	right: -100%;
	top: 10vh;
	font-size: 17px;
	white-space: nowrap;
	display: flex;
	column-gap: 8px;
	padding: 10px 50px 10px 10px;
    transition: right 0.5s ease-in-out;
}

.md-toast.show {
    visibility: visible;
/*     -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s; */
    right: 0;
}

.md-toast.hide {
    right: -100%;
}

@-webkit-keyframes fadein {
    from {top: 0; opacity: 0;} 
    to {top: 30px; opacity: 1;}
}

@keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {top: 30px; opacity: 1;} 
    to {top: 0; opacity: 0;}
}

@keyframes fadeout {
    from {top: 30px; opacity: 1;}
    to {top: 0; opacity: 0;}
}

/** RANGE SLIDER **/

input[type='range'] {
    width: 180px;
    height: 30px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
}

input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
    background: none;
}

input[type='range']::-webkit-slider-runnable-track {
  width: 180px;
  height: 1px;
  background: #003D7C;
}

input[type='range']:nth-child(2)::-webkit-slider-runnable-track{
  background: none;
}

input[type='range']::-webkit-slider-thumb {
  position: relative;
  height: 15px;
  width: 15px;
  margin-top: -7px;
  background: #fff;
  border: 1px solid #003D7C;
  border-radius: 25px;
  z-index: 1;
}


input[type='range']:nth-child(1)::-webkit-slider-thumb{
  z-index: 2;
}

.rangeslider {
	position: relative;
	height: 50px;
	width: 180px;
	display: inline-block;
	margin-top: -5px;
	/* margin-left: 20px; */
}

.rangeslider input{
    position: absolute;
}

.rangeslider span{
    position: absolute;
    margin-top: 25px;
    font-size:0.8rem;
    font-weight: bold;
}

.rangeslider .left{
    left:0%;
}

.rangeslider .right{
    right:0%;
    margin-right:-5%
}

.range_values{
    margin-top:25px; 
    font-size:0.8rem;
    font-style:italic;
}

.range_values B{
    font-style: normal;
}

@-moz-document url-prefix() {
    
    .rangeslider::before {
        content: '';
        width: 100%;
        height: 4px;
        background: #003D7C;
        display: block;
        position: relative;
        top: 14px;
    }

    input[type='range']:nth-child(1){
        position:absolute;
        top:35px !important;
        overflow:visible !important;
        height:0;
    }

    input[type='range']:nth-child(2){
        position:absolute;
        top:35px !important;
        overflow:visible !important;
        height:0;
    }
    input[type='range']::-moz-range-thumb {
        position: relative;
        height: 15px;
        width: 15px;
        margin-top: -7px;
        background: #fff;
        border: 1px solid #003D7C;
        border-radius: 25px;
        z-index: 1;
    }

    input[type='range']:nth-child(1)::-moz-range-thumb {
        transform: translateY(-20px);    
    }
    input[type='range']:nth-child(2)::-moz-range-thumb {
        transform: translateY(-20px);    
    }
}
@media (max-width: 768px) {
    input[type="range"] {
        width: calc(100vw - 100px);
        height: 30px;
        overflow: hidden;
        cursor: pointer;
        outline: none;
    }

    .rangeslider {
        position: relative;
        height: 50px;
        width: calc(100vw - 100px);
        display: inline-block;
        margin-top: -5px;
        /* margin-left: 20px; */
    }

    .rangeslider::before {
        content: '';
        width: calc(100vw - 100px);
        height: 4px;
        background: #003D7C;
        display: block;
        position: relative;
        top: 14px;
    }

    input[type='range']::-moz-range-thumb {
        position: relative;
        height: 22px;
        width: 22px;
        margin-top: -7px;
        background: #fff;
        border: 1px solid #003D7C;
        border-radius: 25px;
        z-index: 1;
    }

    .range_values{
        margin-top:35px; 
        font-size:0.8rem;
        font-style:italic;
    }
}

/*** PRODUCT DETAILS **/

.md-product-details-list {
    padding: 10px;
    text-align: center;
    padding:0 !important;
}

.md-product-details-list .big_label {
    font-size: 2.5em;
    font-weight: bold;
    color:#ff7700;
    margin-top:10px;
}

.md-product-details-list .md-list {
    display: block;
    border-bottom: 1px solid rgba(249, 249, 249, 0.45);
    margin-right: 10px;
    text-align: left;
    padding-bottom:8px;
    margin-bottom: 15px;
}

.md-product-details-list .md-list:last-child {
    border-bottom: none;
}

.md-product-details-list .md-list LABEL{
    display: block;
    margin-bottom: 5px;
}

.md-product-details-list .md-list-data {
    font-size: 0.9em;
    color:#ff7700;
}

.md-list-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
	font-size: 0.9rem;
}

.md-list-flex SPAN{
    color:#ff7700;
}

.md-details-content {
    border-bottom:2px solid #fff;
    padding: 20px 30px;
    border-radius:5px;
    background-color: #3c4465;
    color: #fff;
    margin-bottom:5px;
}

.md-product-details-first .md-details-content{
    border-left-width: 2px;
}

.md-product-details-last .md-details-content{
    border-right-width: 2px;
}

/*** SEARCH BOX **/

#searchbox {
	border-radius: 10px;
	min-width: 550px;
	border: 2px solid #f70;
	padding-left: 2.7rem;
	background: url('/wp-content/plugins/wp-market-domain/assets/images/search.svg') no-repeat 2px center;
	background-color: #fff;
	background-size: 40px 40px;
}

@media (max-width: 768px) {
    #searchbox {
        min-width: 100%;
    }
}

.control {
    box-sizing: border-box;
    clear: both;
    font-size: 1rem;
    position: relative;
    text-align: inherit;
}

.search_result{
    position: absolute;
    z-index: 1000;
    width: 100%; 
}

.mt-1 {
    margin-top: 0.25rem!important;
}

.box {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
    color: #4a4a4a;
    display: block;
    padding: 0.5rem 1rem;
}

ul {
    list-style: none;
}

ul li.py-1{
    margin:10px 0;
    padding:8px;
    border-radius:5px;
}

ul li.py-1:hover{
    background-color:#ff7700;
    color:#fff;
    cursor:pointer;
}

.control.is-loading::after {
    content: '';
    position: absolute !important;
    right: .625em;
    top: .625em;
    z-index: 4;
    background: url('/wp-content/plugins/wp-market-domain/assets/images/loading.svg');
    background-size: contain;
    width: 1.5em;
    height: 1.5em;
}

/** AI SEARCH **/
.md-ai-search {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    position: relative;
}

/* textarea con padding extra per ospitare il bottone interno */
.textarea-wrapper {
    position: relative;
}

#md-idea {
    border-radius: 10px;
    width: 100%;
    border: 2px solid #f70;
    background-color: #fff;
    padding: 1em;
    padding-bottom: 3em; /* spazio per il pulsante vocale */
    box-sizing: border-box;
    resize: vertical;
}

/* bottone microfono */
.speech-button {
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 36px !important;
	height: 36px !important;
	border: 2px solid #f70 !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	padding: 0 !important;
}
.speech-button::before {
    content: '🎙️';/*'🎙️';*/
    display: block;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
}

/* bottone invia a destra in basso */
.button-wrapper {
    display: flex;
    justify-content: flex-end;
}

#btn-send-ai {
    background-color: #f70;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
