/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* acf field edit and view profile form desing */
/* Style ACF inputs like Avada Fusion inputs */
.acf-fields .acf-input input[type="text"],
.acf-fields .acf-input input[type="email"],
.acf-fields .acf-input input[type="number"],
.acf-fields .acf-input select,
.acf-fields .acf-input textarea,
.acf-fields .acf-input input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.acf-fields .acf-label label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.acf-fields .acf-field {
    margin-bottom: 20px;
}

/* ACF Submit Button as Avada style */
.acf-form input[type="submit"],
.acf-form button[type="submit"] {
    background: #0074a2;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
}

.acf-form input[type="submit"]:hover,
.acf-form button[type="submit"]:hover {
    background: #005f87;
}


/* Chef Profile Page Styles */
.chef-profile-tabs {
    margin-top: 20px;
}

.chef-profile-tabs .tab-nav {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    list-style: none;
    padding-left: 0;
}

.chef-profile-tabs .tab-nav li {
    padding: 10px 20px;
    cursor: pointer;
    background: #f3f3f3;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    border: 1px solid #ccc;
    border-bottom: none;
}

.chef-profile-tabs .tab-nav li.active {
    background: #fff;
    font-weight: bold;
    border-bottom: 2px solid #fff;
}

.chef-profile-tabs .tab-content {
    display: none;
    border: 1px solid #ccc;
    padding: 20px;
    background: #fff;
    border-radius: 0 5px 5px 5px;
}

.chef-profile-tabs .tab-content.active {
    display: block;
}

.profile-image {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #ccc;
}

/* find a chef function */
.find-chef-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px;
}

.find-chef-wrapper h1 {
    text-align: center;
    margin-bottom: 30px;
}

#chef-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

#chef-search-form select,
#chef-search-form input[type="number"],
#chef-search-form input[type="date"],
#chef-search-form input[type="range"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

#chef-search-form button {
    grid-column: span 1;
    padding: 12px 25px;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* #chef-search-form button:hover {
        background-color: #005177;
    } */

.chef-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.chef-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.chef-pagination {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.chef-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.chef-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.chef-card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.chef-card p {
    font-size: 14px;
    color: #666;
}

.chef-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

/* .chef-card a:hover {
        background: #005177;
    } */

#chef-pagination {
    text-align: center;
    margin-top: 30px;
}

/* loading spinner css */
#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

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

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

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

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

/* end loading spinner  */
/* Chef Profile Page Styles */
.chef-profile-wrapper {
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: inherit;
}

.chef-profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.chef-profile-header img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.chef-profile-info p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.chef-profile-section {
    margin-top: 30px;
}

.chef-profile-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.chef-profile-booking {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-left: 5px solid #c5796e;
    border-radius: 8px;
}

.edit-profile-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    /* background: #0073aa; */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

/* .edit-profile-btn:hover {
        background: #005f8a;
    } */

.chef-profile-info {
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.chef-profile-row {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.chef-profile-label {
    flex: 1 1 40%;
    font-weight: 600;
    color: #333;
    padding-right: 15px;
}

.chef-profile-data {
    flex: 1 1 60%;
    color: #555;
}

.wpcf7-form .wpcf7-form-control {
    padding-bottom: 10px !important;
}

/* contact form 7 desing css  */
.addweb-cf7-form {
    /* max-width: 600px; */
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.addweb-cf7-form .form-group {
    margin-bottom: 20px;
}

.addweb-cf7-form input[type="text"],
.addweb-cf7-form input[type="email"],
.addweb-cf7-form input[type="tel"],
.addweb-cf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background: #f9f9f9;
    transition: border-color 0.3s ease;
}

.addweb-cf7-form input[type="text"]:focus,
.addweb-cf7-form input[type="email"]:focus,
.addweb-cf7-form input[type="tel"]:focus,
.addweb-cf7-form textarea:focus {
    border-color: #4CAF50;
    background: #fff;
    outline: none;
}

.addweb-cf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.addweb-cf7-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.addweb-cf7-form input[type="submit"]:hover {
    background-color: #45a049;
}

.chef-submit .wpcf7-form-control {
    padding: 20px !important;
}

/* chef portfolio gallery css */


@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.chef-gallery-section .hover-gallery {
    transform: translate3d(0, 0, 0);
    background-color: var(--bg-color);
    padding: 50px;
    min-height: 300px;
    text-align: center;
}

.chef-gallery-section .gallery-container {
    padding: 0;
    margin: 0;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.chef-gallery-section .gallery-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 500px;
}

.chef-gallery-section .item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: none;
    transition: flex 0.8s ease;
    transition-delay: 0.25s;
}

.chef-gallery-section .item:hover {
    flex: 14;
}

.chef-gallery-section .item p {
    position: absolute;
    top: 0;
    margin: 2rem;
    padding: 1rem;
    display: none;
    color: var(--font-color);
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.chef-gallery-section .item:hover p {
    display: block;
    animation: fade-in 2.5s ease;
}

/* hinde new chat icon */

.chat-header .new-message {
    display: none !important;
}

.empty .bpbm-empty-link {
    display: none !important;
}

.empty .bpbm-empty-or {
    display: none !important;
}

.bm_user_selector__control {
    pointer-events: none;
    opacity: 0.5;
}

.date-placeholder {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #424141;
    pointer-events: none;
    font-size: inherit;
    background: white;
    padding-left: 16%;
}

.date-placeholder-wrapper input:focus+.date-placeholder {
    color: #ffffff;
}

#bookly-tbs .col-md-4:nth-of-type(2) {
    display: none !important;
}

.bookly-show .input-group {
    display: none !important;
}

#DataTables_Table_0 th:nth-child(6),
#DataTables_Table_0 td:nth-child(6) {
    display: none !important;
}

/*card new css*/
.edit-profile-btn {
    background: #9f837f !important;
}

body .chef-card {
    display: flex;
    flex-direction: column;
}

body .chef-card img {
    margin: 0 auto !important;
    margin-bottom: 16px !important;
}

body .chef-card .chef-info {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body .chef-card .chef-info h4 {
    margin-top: 0;
    margin-bottom: 16px;
}

body .chef-card .chef-info p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

body .chef-card .chef-info a.button {
    margin-top: auto !important;
}


body .chef-card#chef-pagination {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

/* ================================
   WCPV Account Security Styling
================================ */

.wcpv-form-section.account-info {
    position: relative;
    margin-top: 30px;
    padding: 30px 25px 25px;
    border: 1px solid #e5e5e5;
    background-color: #f6f7f7;
    border-radius: 4px;
}

/* Section label (legend styled as tab) */
.wcpv-form-section.account-info legend {
    position: absolute;
    top: -12px;
    left: 20px;
    padding: 2px 12px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Form rows spacing */
.wcpv-form-section.account-info .form-row {
    margin-bottom: 18px;
}

/* Labels */
.wcpv-form-section.account-info label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #222;
}

/* Inputs */
.wcpv-form-section.account-info input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    background-color: #fff;
}

/* Focus state */
.wcpv-form-section.account-info input[type="password"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px rgba(34, 113, 177, 0.2);
}

/* Required asterisk */
.wcpv-form-section.account-info .required {
    color: #cc1818;
    margin-left: 2px;
}
.addweb-centered-text {
	text-align: center;
	padding-left: 15%;
}

@media (max-width: 768px) {
	.addweb-centered-text {
		padding-left: 0;
	}
}

.select2-container {
    z-index: 9999 !important;
}

.select2-dropdown {
    display: block !important;
}

/* Officina Creativa 24/08/2026 — correzione separatore "a puntini" (blocco WordPress).
   Il CSS del blocco viene stampato in pagina con i puntini codificati come entita HTML,
   che nel CSS non vengono interpretate e compaiono a schermo come testo.
   Qui il carattere e' scritto con la sequenza di escape CSS, immune alla codifica. */
:root .wp-block-separator.is-style-dots::before,
:root .wp-block-separator.is-style-dots:before {
	content: "\00B7\00B7\00B7" !important;
}
