/* TABELLA CUSTOM */

/* Contenitore della tabella */
.page-id-6471 .table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
    text-align: left;
}

/* Bordo per l'intera tabella */
.page-id-6471 .table, .page-id-6471 .table th, .table td {
    border: 1px solid #ddd;
}

/* Stile per le intestazioni */
.page-id-6471 .table thead th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
    padding: 10px;
}

/* Celle del corpo della tabella */
.page-id-6471 .table tbody td {
    padding: 10px;
}

/* Stile per righe alternate */
.page-id-6471 .table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover sulle righe */
.page-id-6471 .table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Colore del testo nella tabella */
.page-id-6471 .table td, .page-id-6471 .table th {
    color: #555;
}

/* Miglioramenti responsive */
@media (max-width: 768px) {
    .page-id-6471 .table {
        font-size: 14px;
    }
}


/* Sezione di benvenuto */
.welcome h1 {
    font-size: 1.8rem;
    color: white !important;
    text-align: center;
}

.user-data {
  display:flex;
  gap:40px;
  align-items: center;
}

/* Sezioni con richieste */
.request-submitted,
.your-request,
.add-request,
.accepted-requests {
    margin-top: 20px;
    padding: 2rem;
    border: 0 !important;
    border-radius: 5px;
    background-color: #fefefe;
}

/* Pulsanti */
.page-id-6454 button, .page-id-6499 button, .single-pagine_buyer button, .single-pagine_seller button, .page-id-6471 button, .btn-agenda button, .btn-page button {
    background-color: var(--main);
    color: #fff;
    border: none;
    padding: 10px 15px !important;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    font-size: 14px !important;
}

.page-id-6454 button:hover, .page-id-6499 button:hover, .single-pagine_buyer button:hover, .single-pagine_seller button:hover, .page-id-6471 button:hover {
    background-color: #0056b3;
}

.flex {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-agenda.flex {
	align-items: center;
	gap: 10px;
}

.flex form {
    display: inline-block;
}

/* Tabelle delle richieste */
.approved-request p,
.request-submitted p,
.your-request p,
.request-awaiting p{
    margin: 5px 0;
    font-size: 1rem;
}

/* Dropdown */
.page-id-6471 select {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
    color: #333;
}

.add-request h4 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #555;
}

/* Alert per success o error */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-danger {
	background-color: #edd4d4;
	color: #6f2626;
	border: 1px solid #e6c3c3;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
}

/* Testo per stati */
.request-submitted p,
.your-request p {
    color: #666;
}


/* SINGOLA PAGINA UTENTE */

/* Intestazione */
.user-intro {
		background-color: #fff;
		padding: 20px;
		border-radius: 10px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		text-align: left;
		margin-bottom: 30px;
		display: flex;
		align-items: center;
		gap: 60px;
	justify-content: space-between;
}

.user-meta {
	    display: flex;
    gap: 30px;
    align-items: center;
}

.user-intro h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.user-intro p {
    margin: 5px 0;
    color: #666;
}

.user-intro img, .user-profile {
    width: 120px !important;
    height: 120px;
    border-radius: 50%;
    margin-top: 15px;
    border: 2px solid var(--main);
    object-fit: cover !important;
}

@media(max-width:768px){
  .user-intro img, .user-profile {
    width: 80px !important;
    height: 80px !important;
  }
}

.grid.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

	.grid.grid-3 {
		display:grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap:50px;
	}


#um_field_6474_Avatar .um-field-area {
	text-align:left !important;
}

@media(max-width:768px){
	.user-preferences.grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
}
	.um-field-area:has(.um-field-checkbox) {
		grid-template-columns: 1fr;
	gap: 20px;
	}
	
.user-intro {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
}
	
	.user-meta {
    gap: 0;
    align-items: flex-start;
    flex-direction: column;
}

}

/* Margini */
.mb-3 {
    margin-bottom: 30px;
}

/* Responsivo */
@media (max-width: 768px) {
    .user-intro img {
        width: 80px;
        height: 80px;
    }
	
	.grid.grid-3 {
		display:grid;
		grid-template-columns: 1fr;
	}

    .user-intro h1 {
        font-size: 1.5rem;
    }

    .section h2 {
        font-size: 1.3rem;
    }
}



/* FORM SELLER */

.um-header, .um-profile-nav {
	display: none;
}

.flex-select {
	display: flex;
	gap:0px !important;
	align-items: center;
}

@media(max-width:768px){
.flex-select {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
}
}

.submit-request {
	margin:10px 0;
}

.page-id-6471 #fixed-btn, .page-id-6454 #fixed-btn, .page-id-6499 #fixed-btn, .page-id-6474 #fixed-btn, .single-pagine_seller #fixed-btn, .single-pagine_buyer #fixed-btn, .woocommerce-cart #fixed-btn, .woocommerce-checkout #fixed-btn  {
	display: none !important;
}

/* PAGINA AGENDA */

.single-request .fill-btn {
    line-height: 40px;
    margin: 15px 0 0 0 !important;
    border: 0;
  }
  
  .single-request {
    margin: 40px 0;
    padding: 25px;
    background-color: #68bae220;
    border-radius: 8px;
  }
  
  .um-field-area:has(.um-field-checkbox) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .um-field-area:has(.um-field-checkbox) .um-clear {
    display: none;
  }
  
  @media(max-width:768px){
      .um-field-area:has(.um-field-checkbox) {
    grid-template-columns: 1fr;
  }
  }

  select {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
    color: #333;
}


#filter-form {
	display: flex;
    gap: 30px;
    display: flex;

}

.filter-wrapper {
	width: 100%;
}

@media(max-width:768px){
	#filter-form {
	flex-direction: column;
		gap:10px;
}
}

/* fix image for Buyer user */

.user-intro img {
    object-fit: contain;
	aspect-ratio: 1 / 1; !important;
}

a.iubenda-tp-alert-btn.iubenda-tp-btn--warning {
    display: none !important;
}


.woocommerce-shop .advice {
	  padding: 10px 20px;
    border-radius: 8px;
    background: #2d00ff10;
    border: 1px solid #094c8c;
		margin-bottom:30px !important;
}

.woocommerce-shop .advice h3 {
	margin:0 !important;
}


.accepted-title {
        display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}

.accepted-title h2 {
    border-bottom: 0;
}


a.um-link-alt {
    line-height: 22px;
    color: #888 !important;
    display: block !important;
    text-decoration: none !important;
    font-weight: normal;
    text-align: center;
    border: 2px solid var(--main);
    padding: 8px 12px;
    width: fit-content;
    margin: 0 auto 20px auto;
    border-bottom: 2px solid var(--main) !important;
}

.um-col-alt-b a.um-link-alt {
      border-bottom: 2px solid var(--main) !important;
}


/* CSS Agenda */

/* =============================================================================
   BMT NAPOLI - AGENDA MODERNA
   Design System: Clean, Modern, User-Friendly
   ============================================================================= */

/* === VARIABILI CSS === */
:root {
    --primary: #014a8e;
    --primary-light: #68bae2;
    --primary-dark: #013a6e;
    --secondary: #68bae2;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --expired: #801a6d;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* === RESET & BASE === */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .page-id-6471 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
  }
  
  /* === UTILITIES === */
  .mb-3 { margin-bottom: 1.5rem; }
  .mb-4 { margin-bottom: 2rem; }
  .mb-5 { margin-bottom: 3rem; }
  
  /* === WELCOME SECTION === */
  .welcome {
    display:flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom:30px;
  }

  .welcome h1 {
    font-size: 2rem;
    color: var(--main) !important;
    font-weight: 700;
    position: relative;
    z-index: 1;
    margin: 0;
  }
  
  /* === ALERTS === */
  .alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.3s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .alert-success {
    background: #ecfdf5;
    color: #065f46;
  }
  
  .alert-danger {
    background: #fef2f2;
    color: #991b1b;
  }
  
  .alert-success::before,
  .alert-danger::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
  }
  
  .alert-success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2310b981' viewBox='0 0 24 24'%3E%3Cpath d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
  }
  
  .alert-danger::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ef4444' viewBox='0 0 24 24'%3E%3Cpath d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E");
  }
  
  /* === SECTION CONTAINERS === */
  .add-request,
  .accepted-table,
  .request-submitted,
  .your-request,
  .cancelled-request {
  
    padding: 15px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
  }
  
  .add-request:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
  
  .add-request {
    background: linear-gradient(135deg, rgba(1, 74, 142, 0.03) 0%, rgba(104, 186, 226, 0.03) 100%);
  }
  
  /* === SECTION TITLES === */
  .add-request h2,
  .accepted-table h2,
  .request-submitted h2,
  .your-request h2,
  .cancelled-request h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    position: relative;
  }

  h2 {
    border-bottom: 0 !important;
  }
  
  .add-request h2::after,
  .accepted-table h2::after,
  .request-submitted h2::after,
  .your-request h2::after,
  .cancelled-request h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
  }
  
  .add-request p,
  .request-submitted p,
  .your-request p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }
  
  /* === FILTERS === */
  .user-filters {
    background: var(--gray-50);
    padding: 0rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
  }
  
  .user-filters h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
  }
  
  #filter-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .filter-wrapper label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
  }
  
  /* === SELECT INPUTS === */
  .page-id-6471 select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    color: var(--gray-900);
    font-size: 0.95rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
  }
  
  .page-id-6471 select:hover {
    box-shadow: var(--shadow);
  }
  
  .page-id-6471 select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 74, 142, 0.1);
  }
  
  /* === BUTTONS === */
  .page-id-6454 button,
  .page-id-6499 button,
  .single-pagine_buyer button,
  .single-pagine_seller button,
  .page-id-6471 button,
  .btn-agenda button,
  .btn-page button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .page-id-6454 button:hover,
  .page-id-6499 button:hover,
  .single-pagine_buyer button:hover,
  .single-pagine_seller button:hover,
  .page-id-6471 button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
  
  .page-id-6454 button:active,
  .page-id-6499 button:active,
  .single-pagine_buyer button:active,
  .single-pagine_seller button:active,
  .page-id-6471 button:active {
    transform: translateY(0);
  }
  
  .submit-request {
    width: 100%;
    margin-top: 1.5rem;
  }
  
  /* === FLEX CONTAINERS === */
  .flex {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .flex-select {
    display: flex;
    align-items: flex-start;
    
  }
  
  .flex-select select {
    flex: 1;
    min-width: 250px;
  }
  
  #profile_button_container a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
  }
  
  #profile_button_container a:hover {
    background: var(--primary);
    color: white !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
  
  /* === TABLE === */
  .page-id-6471 .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  
  .page-id-6471 .table thead th {
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .page-id-6471 .table tbody td {
    padding: 1rem;
    color: var(--gray-700);
  }
  
  .page-id-6471 .table tbody tr {
    transition: var(--transition);
  }
  
  .page-id-6471 .table tbody tr:hover {
    background: var(--gray-50);
  }
  
  .page-id-6471 .table tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--gray-100);
  }
  
  .page-id-6471 .table tbody form button {
    background: none;
    color: var(--danger);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
  }
  
  .page-id-6471 .table tbody form button:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    transform: none;
  }
  
  /* === ACCEPTED TABLE HEADER === */
  .accepted-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .accepted-title h2 {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .accepted-title h2::after {
    display: none;
  }
  
  #downloadPDF {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  #downloadPDF:hover {
    background: linear-gradient(135deg, #059669 0%, var(--success) 100%);
  }
  
  /* === REQUEST CARDS === */
  .single-request,
  .single-request-cancelled {
    margin-top:25px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
        border: 1px solid #ededed;
  }
  
  .single-request::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  }
  
  .single-request:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
  }
  
  .single-request p,
  .single-request-cancelled p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-700);
  }
  
  .single-request p strong,
  .single-request-cancelled p strong {
    color: var(--gray-900);
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
  }
  
  .single-request a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
  }
  
  .single-request a:hover {
    color: var(--primary-light);
  }
  
  .single-request hr {
    margin: 1.5rem 0;
    border: none;
    height: 1px;
    background: var(--gray-200);
  }
  
  /* === CANCELLED REQUESTS === */
  .cancelled-request-grouped {
    display: grid;
    gap: 1.5rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .single-request-cancelled {
       border: 1px solid #ededed;
  }
  
  .single-request-cancelled h4 {
    color: var(--gray-900);
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  /* === STATUS COLORS === */
  .single-request-cancelled p span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .single-request-cancelled p span[style*="red"] {
    background: #fef2f2;
    color: var(--danger);
  }
  
  .single-request-cancelled p span[style*="orange"] {
    background: #fff7ed;
    color: var(--warning);
  }
  
  .single-request-cancelled p span[style*="#801A6D"] {
    background: #faf5ff;
    color: var(--expired);
  }
  
  /* === CALENDAR === */

  
  /* === USER PROFILE === */
  .user-intro {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .user-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  .user-intro h1 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  
  .user-intro p {
    margin: 0.25rem 0;
    color: var(--gray-600);
  }
  
  .user-intro img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow);
  }
  
  /* === GRID LAYOUTS === */
  .grid {
    display: grid;
    gap: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  /* === FORM FIELDS === */
  .um-field-area:has(.um-field-checkbox) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .um-field-area:has(.um-field-checkbox) .um-clear {
    display: none;
  }
  
  /* === TOASTIFY OVERRIDE === */
  .toastify.error {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 768px) {
    .welcome h1 {
      font-size: 1.5rem;
    }
    
    #filter-form {
      grid-template-columns: 1fr;
    }
    
    .flex-select {
      flex-direction: column;
      align-items: stretch;
    }
    
    .user-intro {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.5rem;
    }
    
    .user-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
    
    .user-intro img {
      width: 80px;
      height: 80px;
    }
    
    .grid-3 {
      grid-template-columns: 1fr;
    }
    
    .accepted-title {
      flex-direction: column;
      align-items: stretch;
    }
    
    #downloadPDF {
      width: 100%;
    }
    
    .page-id-6471 .table {
      font-size: 0.8rem;
    }
    
    .page-id-6471 .table thead th,
    .page-id-6471 .table tbody td {
      padding: 0.75rem;
    }
    
    .um-field-area:has(.um-field-checkbox) {
      grid-template-columns: 1fr;
    }
  }
  
  /* === HIDE ELEMENTS === */
  .page-id-6471 #fixed-btn,
  .page-id-6454 #fixed-btn,
  .page-id-6499 #fixed-btn,
  .page-id-6474 #fixed-btn,
  .single-pagine_seller #fixed-btn,
  .single-pagine_buyer #fixed-btn,
  .woocommerce-cart #fixed-btn,
  .woocommerce-checkout #fixed-btn {
    display: none !important;
  }
  
  .um-header,
  .um-profile-nav {
    display: none;
  }
  
  a.iubenda-tp-alert-btn.iubenda-tp-btn--warning {
    display: none !important;
  }
  
  /* === MISC === */
  a.um-link-alt {
    display: block !important;
    text-align: center;
    color: var(--primary) !important;
    background: white;
    padding: 0.75rem 1.25rem;
    width: fit-content;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none !important;
    font-weight: 600;
    transition: var(--transition);
  }
  
  a.um-link-alt:hover {
    background: var(--primary);
    color: white !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
  
  .woocommerce-shop .advice {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: rgba(45, 0, 255, 0.05);
    margin-bottom: 2rem !important;
    box-shadow: var(--shadow-sm);
  }
  
  .woocommerce-shop .advice h3 {
    margin: 0 !important;
    color: var(--primary);
  }



  /* === YOUR PENDING REQUESTS SECTION === */
.your-request {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.your-request h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.your-request h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

.your-request > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* === WRAPPING CONTENUTO IN CARD === */
.your-request > br {
  display: none;
}

/* Ogni gruppo di info diventa una card */
.your-request > form {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  transition: var(--transition);
  border-left: 4px solid var(--warning);
  display: block;
}

.your-request > form:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* === STILIZZAZIONE TESTO INFO === */
.your-request > form::before {
  content: '⚠ Pending';
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: white;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--warning);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;

}



/* Stilizza il testo dentro il form come "righe di dettaglio" */
.your-request br + br {
  content: '';
  display: block;
  height: 0.875rem;
}

/* === DIVISORE HR === */
.your-request hr {
  display: none; /* Nascondo HR, uso spacing tra card */
}

/* === BOTTONE CANCEL === */
.your-request .flex, .request-submitted .flex {
  display: flex;
  /* flex-direction: column; */
  gap: 0.75rem;
  padding-top: 1rem;
  
  margin-top: 0;
  align-items: flex-start;
}

.your-request .flex form {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.your-request .flex form:hover {
  transform: none;
  box-shadow: none;
}

.your-request .flex button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 3px 8px !important;
  background: white;
  color: var(--danger);
  border:1px solid var(--danger);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-transform: none;
  letter-spacing: normal;
  position: relative;
}

.your-request .flex button::before {
  content: '✕';
  font-size: 1rem;
  transition: var(--transition);
}

.your-request .flex button:hover {
  background: var(--danger);
  color: white;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.your-request .flex button:hover::before {
  transform: rotate(90deg);
}

/* === EMPTY STATE (quando mostra "No pending requests") === */
.your-request > b {
  display: block;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
  font-size: 1.125rem;
  font-weight: 600;
}

.your-request > b::before {
  content: '✓';
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: 2rem;
  line-height: 48px;
  text-align: center;
}

/* === LAYOUT RESPONSIVE GRID === */
@media (min-width: 769px) {
  /* .your-request {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  } */

  /* Raggruppa i form in un wrapper virtuale con grid */
  .your-request > form:nth-of-type(2n) {
    margin-left: 1.5rem;
  }
}



/* === MOBILE === */
@media (max-width: 768px) {
  .your-request {
    padding: 1.5rem;
  }

  .your-request > form {
    padding: 1.25rem;
  }

  .your-request .flex button {
    font-size: 0.8125rem;
    padding: 5px 8px;
  }
}

/* === MIGLIORAMENTO LEGGIBILITÀ TESTO === */
.your-request > form {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--gray-700);
}

/* Fai risaltare i valori importanti */
.your-request > form {
  font-weight: 400;
}

/* Simula bold per i label */
.your-request > form::first-line {
  font-weight: 600;
  color: var(--gray-900);
}


/* === EMPTY STATE UNIFICATO === */
.empty-state {
  display: block !important;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 !important;
  background: var(--gray-50);
  border-radius: var(--radius);
}

/* === ICONA CIRCOLARE === */
.empty-state::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: var(--shadow);
  animation: bounceIn 0.6s ease-out;
  
  /* Icona SVG universale */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
  background-size: 40%;
  background-repeat: no-repeat;
  background-position: center;
}

/* === SOTTOTITOLO === */
.empty-state::after {
  content: attr(data-subtitle);
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-600);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* === ANIMAZIONE === */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* === VARIANTI PER SEZIONE === */

/* Request Submitted - Verde Success */
.request-submitted .empty-state::before {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

/* Your Pending - Blu Info */
.your-request .empty-state::before {
  background: linear-gradient(135deg, var(--info) 0%, #2563eb 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
}

/* Cancelled Requests - Verde Celebration */
.cancelled-request .empty-state::before {
  background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E");
}

/* Accepted Table - Blu Calendario */
.accepted-table .empty-state::before {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .empty-state {
    padding: 3rem 1.5rem;
    font-size: 1rem;
  }

  .empty-state::before {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
  }

  .empty-state::after {
    font-size: 0.8125rem;
    padding: 0 1rem;
  }
}

/* === EMPTY STATE UNIFICATO === */
.empty-state {
  display: block !important;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 !important;

}

/* === ICONA CIRCOLARE === */
.empty-state::before {
  content: '✓';
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  font-size: 2rem;
  line-height: 64px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: bounceIn 0.6s ease-out;
}

/* === SOTTOTITOLO === */
.empty-state::after {
  content: attr(data-subtitle);
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-600);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}



/* === VARIANTI PER SEZIONE === */

/* Request Submitted - Verde Success con checkmark */
.request-submitted .empty-state::before {
  content: '✓';
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

/* Your Pending - Blu con icona inbox */
.your-request .empty-state::before {
  content: '📤';
  background: linear-gradient(135deg, var(--info) 0%, #2563eb 100%);
}

/* Cancelled Requests - Verde con party */
.cancelled-request .empty-state::before {
  content: '🎉';
  background: linear-gradient(135deg, #e7e7e7ff 0%, #e3e3e3ff 100%);
}

/* Accepted Table - Blu con calendario */
.accepted-table .empty-state::before {
  content: '📅';
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .empty-state {
    padding: 3rem 1.5rem;
    font-size: 1rem;
  }

  .empty-state::before {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
    line-height: 56px;
    margin-bottom: 1.25rem;
  }

  .empty-state::after {
    font-size: 0.8125rem;
    padding: 0 1rem;
  }
}

/* === HOVER EFFECT === */
.empty-state {
  transition: var(--transition);
}

.empty-state:hover {
  background: white;
  box-shadow: var(--shadow-sm);
}

.empty-state:hover::before {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
  .empty-state {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
  }

  .empty-state::after {
    color: var(--gray-500);
  }
}

/* Cambia solo l'emoji nel content */
.request-submitted .empty-state::before { content: '✉️'; }
.your-request .empty-state::before { content: '⏳'; }
.cancelled-request .empty-state::before { content: '❌'; }
.accepted-table .empty-state::before { content: '🗓️'; }


.pending-request, .request-awaiting {
  padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ededed;
}

.pending-request p, .pending-request b, .request-awaiting p, .request-awaiting strong {
  margin: 0;
  padding: 0;
  font-size: 14px !important;
}

.pending-request b, .request-awaiting strong{
  color: var(--primary);
  font-weight: 500 !important;
} 


.pending-request-wrapper.grid.grid-3, .cancelled-request-grouped.grid.grid-3 {
  gap: 20px;
}


.toggle-workshops a:not(.go-to-agenda a) { padding:8px 16px; border:1px solid #ccc; border-radius:6px; text-decoration:none; color:var(--main); }
.toggle-workshops a.active { background-color:var(--main); color:#fff !important; }
.btn-edit { display:inline-block; background:var(--main); color:#fff; padding:10px 20px; border-radius:6px; text-decoration:none; margin:15px 0; }

.toggle-workshops a.not-completed {
  position: relative;
  color: #a00;
}


.toggle-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}



.intro-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}


/* CSS PAGINE SELLER */

/* === SELLER PAGE SPECIFIC === */

.seller-bio {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.seller-bio h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.seller-bio h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

.seller-bio p {
  line-height: 1.8;
  color: var(--gray-700);
}

.seller-section {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.seller-section:hover {
  box-shadow: var(--shadow-lg);
}

.seller-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.seller-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

.styled-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.styled-list li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
  padding-left: 2rem;
}

.styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

.styled-list li:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.file-list li {
  margin-bottom: 0.75rem;
}

.file-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.file-list a:hover {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.btn-back {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-back:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* PAGINA BUYER */

/* === BUYER PAGE SPECIFIC === */

.regions-localities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.regions-localities-grid:has(.empty-state){
  grid-template-columns: 1fr !important;
}

.regions-list h4,
.localities-list h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.styled-list.compact li {
  padding: 0.5rem 2rem;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.styled-list.compact li::before {
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .regions-localities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .user-preferences.grid-3 {
    grid-template-columns: 1fr;
  }
}

#help-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: var(--main);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 20px !important;
}

#help-button.open {
  font-size: 16px !important;
}

ul.help-menu {
  display: block;
    position: fixed;
    bottom: 60px;
    right: 25px;
    background: #034481;
    padding: 10px 15px;
    list-style: none;
    border-radius: 4px;
    color: white;
  }

  .help-menu li {
    cursor: pointer;
    padding: 5px 0;
  }


  /********************/


.terme .toggle-workshops .btn-toggle-wrapper, .incoming .toggle-workshops .btn-toggle-wrapper, .luxury .toggle-workshops .btn-toggle-wrapper{
    position: fixed;
    right: 50%;
    bottom: -13px;
    box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.1);
    background-color: var(--gray-100);
    padding: 5px;
    z-index: 1000;
    transition: all 0.3s 
ease-in-out;
    font-size: 14px !important;
    background-color: white;
    display: flex;
    /* flex-direction: column; */
    gap: 5px;
    translate: 50%;
    border-radius: 4px;
    border:1px solid var(--gray-200);
  

  & hr {
    display: none;
  }

  & a {
    cursor: pointer;
    margin:0;
    font-size: 14px !important;
  }
}

.terme .agenda-toggle-workshops h3, .incoming .agenda-toggle-workshops h3, .luxury .agenda-toggle-workshops h3{
  display: none;
}

.terme .toggle-workshops a.active, .incoming .toggle-workshops a.active, .luxury .toggle-workshops a.active{
  background-color: var(--main) !important;
}

.terme .toggle-workshops h3, .incoming .toggle-workshops h3, .luxury .toggle-workshops h3{
    display: none;
  }

  .toggle-workshops hr {
    border: 2px solid var(--gray-300);
    max-width: 100px;
    text-align: center;
    margin: 0px auto 12px auto;
  }

  @media(max-width: 768px) {
      .terme .toggle-workshops, .incoming .toggle-workshops, .luxury .toggle-workshops{
      padding: 15px 0 35px 0 !important;
      width: 100%;
      max-width: 100%;
    }
  
    .fc .fc-button-group{
      display: none;
    }

    .toggle-workshops h3 {
      font-size: 1rem !important;
    }


  }

  .toggle-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.toggle-workshops {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 40px;
}

td[data-time="*"]{
  font-size: 14px !important;
}

.form-agenda-wrapper {
  display: flex;
  gap: 35px;
  align-items: center;
}

.filters-wrappers-all-form {
  width: 100%;
}

.form-date-agenda {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 0.9;
  max-width: 100px;

  & h3, & h4 {
    color: var(--main) !important;
  }

  & h3 {
    font-size:22px !important;
  }

  & .month, & .year {
    font-size: 22px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  & .day {
    font-size: 68px !important;
    font-weight: 700;
    margin-bottom: 0;
  }
}

.add-request {
  padding: 15px 50px 35px 50px !important;
}

@media (max-width: 768px) {
  .form-agenda-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .time-pill {
    padding: 5px 12px !important;
  }

  .terme .toggle-workshops .btn-toggle-wrapper, .incoming .toggle-workshops .btn-toggle-wrapper, .luxury .toggle-workshops .btn-toggle-wrapper {
    width: 100%;
    padding-top:10px;
    bottom:0 !important;
    justify-content: center;
    z-index: 100000000;
}

#help-button {
  bottom: 60px;
  right: 10px;
}

.form-date-agenda {
  flex-direction: row;
  align-items: self-end;
  gap: 3px;
  font-size:20px;
  justify-content: center;
  & h3 {
    transform: translateY(-35px);
    font-size:18px !important;
  }

  & .month, & .year {
    font-size: 18px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  & .day {
    font-size: 52px !important;
    font-weight: 700;
    margin-bottom: 0;
  }
}


 .terme .form-date-agenda h3 {
  transform: translateY(-5px);
  text-align: left;
    margin-right: 10px;
}


#time-slots-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 15px 0 10px !important;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  font-size: 14px !important;
}

  .add-request {
    padding: 15px 20px 35px 20px !important;
}

  .welcome {
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start !important;
    align-items: flex-start;
  }

  .time-slots-wrapper h4 {
    display: block !important;
  }

  .table-wrapper {
    overflow-x:scroll ;
  }

  .terme .agenda-toggle-workshops, .incoming  .agenda-toggle-workshops, .luxury  .agenda-toggle-workshops{
    position: absolute;
  }

  .toggle-workshops {
    flex-direction: column;
  }

  .toggle-workshops {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.btn-toggle-wrapper {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  align-items: flex-start;
}

.terme .btn-toggle-wrapper, .incoming .btn-toggle-wrapper, .luxury .btn-toggle-wrapper {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
}

.toggle-wrapper {
  margin-bottom: 50px;
}
  }


  .btn-toggle-wrapper a:hover {
    background-color: var(--main);
    color: #fff !important;
    transform: scale(1.1); /* Aumenta la dimensione */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombra per l'effetto "sollevato" */
}

.time-slots-wrapper h4 {
  display: none;
}

 .btn-toggle-wrapper a {
  transition: all 0.3s ease-in-out; /* Animazione di transizione */
 }


 .submit-request:disabled{
  opacity: .5;
 }


 .your-request:not(:has(.empty-state)), .request-submitted:not(:has(.empty-state)) {
  background: #f7fafb !important;
 }

 .fc .fc-timegrid-slot-label-cushion {
  padding: 0px 4px;
  font-size: 14px !important;
}


#time-slots-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  position: relative;
}

.time-pill {
  background-color: var(--gray-200); /* Colore di sfondo della pillola */
  color: var(--main); /* Colore del testo */
  padding: 5px 15px;
  border-radius: 50px; /* Crea l'effetto pillola */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.time-pill:hover {
  background-color: var(--main); /* Colore di sfondo quando viene passato il mouse sopra */
  transform: scale(1.05); /* Leggero ingrandimento per effetto hover */
  color: white  !important;
}

.time-pill.selected {
  background-color: var(--main); /* Colore per la pillola selezionata */
  color: white  !important;
}

.btn-toggle-wrapper .incoming, .toggle-wrapper .incoming {
  background: #e3a404;
  color: white !important;
}

.btn-toggle-wrapper .terme, .toggle-wrapper .terme {
  background: #00b3e3;
  color: white !important;
}

.btn-toggle-wrapper .luxury, .toggle-wrapper .luxury {
  background: #333 !important;
  color: white !important;
}

.um input[type=submit].um-button, .um input[type=submit].um-button:focus, .um a.um-button, .um a.um-button.um-disabled:hover, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:active {
  background-color: var(--main) !important;
}

.um input[type=submit].um-button:hover, .um a.um-button:hover {
  background-color: #44b0ec !important;
}

.um .um-button.um-alt, .um input[type=submit].um-button.um-alt {
  color: white !important;
}

.main-wrapper-agenda {
  display:flex;
  gap:40px;
}

.list-container {
  width: 65%;
}

.calendar-sidebar  {
  position: relative;
  width: 35%;
}

#calendar {
  width: 100%;
  position: sticky;
  top: 160px;
  margin: 20px 0;
      background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
        max-height: 420px !important;
}


.fc .fc-toolbar-title {
  font-size: 18px;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 15px;
}

.agenda-toggle-workshops h3 {
  font-size: 40px !important;
  margin-bottom: 15px;
  font-weight: 600;
}

.fc .fc-toolbar {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

@media(max-width:768px){
  .main-wrapper-agenda {
    flex-direction: column-reverse;
  }

  .calendar-sidebar {
    width: 100%;
  }

  .list-container {
    width: 100%;
  }

  .grid.grid-2 {
    margin-top: 25px;
    gap: 15px !important;
    grid-template-columns: 1fr !important;
  }


  .single-request, .single-request-cancelled {
    margin:0;
  }

  .grid.grid-3 {
    gap: 25px;
  }

}


  .grid.grid-2 {
        gap:15px !important;

  }




.pending-request {
  position: relative;
}


.pending-request-state, .request-awaiting-state {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem !important;
  background: #fff7ed !important;
  border-radius: 999px;
  font-size: 0.75rem !important;
  font-weight: 600;
  color: var(--warning) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}



.time-pill {
  cursor: pointer;
  transition: var(--transition);
}

.time-pill.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  /* pointer-events: none !important; */
  background-color: var(--gray-300) !important;
  color: var(--gray-500) !important;
}

.time-pill:not(.disabled):hover {
  background-color: var(--main);
  color: white !important;
  transform: scale(1.05);
}

.time-pill.selected {
  background-color: var(--main);
  color: white !important;
}

.alert-warning{
  display: inline-flex;
  font-size: 15px;
    color: #c27a00;
    background: #f59e0b14;
    padding: 10px 12px;
    border-radius: 10px;
}

/* @keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
} */


.toggle-workshops a.not-completed::after {
  content: "⚠️ Not Completed";
  position: absolute;
  bottom: -25px !important;
    position: absolute;
    height: fit-content;
    top: inherit;
    left: 50%;
    transform: translateX(-50%);
  color: #f59e0b;
    background: #f59e0b14;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  transform: translateX(-50%) !important;
  width: fit-content;
}

.toggle-wrapper a {
  position: relative;
}

.edit-link {
  display: flex;
  gap: 10px;
  align-items: center;
}



@media (max-width: 768px) {
  .toggle-workshops a.not-completed::after {
    position: absolute;
    transform: none;
    margin-top: 4px;
    font-size: 11px;
    text-align: left;
    left:0;
    bottom:-25px;
    transform: translateX(-0%) !important;
  }

  .edit-link {
  display: flex;
  flex-direction: column;
}


  .page-id-6499 .toggle-wrapper {
  margin-bottom: 50px;
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
  }
}



#um_field_6480_Regions__incoming_w, #um_field_7639_Regions__incoming_w, #um_field_6481_Regions__terme, #um_field_7640_Regions__terme{
  display: none !important;
}



.page-id-6471 .fill-btn.special,  .pagine_buyer-template-default .fill-btn.special, .pagine_seller-template-default .fill-btn.special, .page-id-6474 .fill-btn.special{
  display: none;
}

.fc-v-event .fc-event-title {
      display: block;
    white-space: break-spaces;
}

.fc-v-event .fc-event-title-container {
  line-height: 1;
    font-size: 14px;
    min-height: 80px;
}

.fc-v-event .fc-event-main-frame {
      display: flex;
    flex-direction: row;
    height: 100%;
    gap: 10px;
}

.go-to-agenda button {
      background-color: var(--main);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s 
ease;
}

.gt_float_switcher .gt-selected {
  z-index: 1 !important;
}

.flex.intro-content {
  justify-content: space-between;
  align-items: center;
}

.gt_float_switcher img {
    width: 23px !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 7px 10px;
    color: #333;
    font-weight: bold;
}

.gt_float_switcher {
    box-shadow: rgba(0, 0, 0, 0.095) 0 5px 15px;
    border-radius: 8px;
}

.gt_float_switcher .gt-selected .gt-current-lang {
  padding: 7px 8px !important;
}


#um_field_7696_Regions__incoming_w, #um_field_7696_Regions_luxury, #um_field_7766_Regions_luxury, #um_field_7766_Regions__incoming_w  {
  display: none !important;
}


@media (max-width: 768px) {
  .pill-wrapper .tooltip {
    display: none;  
  }

}

    .pill-wrapper {
      position: relative;
      display: inline-block;
    }
    .pill-wrapper .tooltip {
      visibility: hidden;
      background-color: #333;
      color: #fff;
      text-align: center;
      padding: 8px 12px;
      border-radius: 4px;
      position: absolute;
      z-index: 1000;
      bottom: 125%;
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.3s;
      min-width: 200px;
    }
    .pill-wrapper .tooltip::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      margin-left: -5px;
      border-width: 5px;
      border-style: solid;
      border-color: #333 transparent transparent transparent;
    }
    .pill-wrapper:hover .tooltip {
      visibility: visible;
      opacity: 1;
    }
    .time-pill.my-busy {
      background-color: #dc3545;
      color: white;
    }
    .time-pill.other-busy {
      background-color: #ffc107;
    }

    .fc .fc-toolbar {
    justify-content: space-between !important;
}

.single-pagine_seller .btn-agenda, .single-pagine_buyer .btn-agenda {
  display: flex;
    gap: 50px;
}

#um_field_7792_paese_select .um-field-label {
	display: none !important;
}

.places {
  width: fit-content;
  padding: 8px 12px;
  font-weight:800 !important;
  line-height:1.15;
  border-radius: 8px;
}

.incoming .places {
  background: #e3a404;
    color: white !important;
}

.luxury .places {
  background: #333;
  color: white !important;
}

.terme .places {
  background: #00b3e3;
  color: white !important;
}

.form-date-agenda .places {
  margin-top: 15px !important;
  background: none;
  color: var(--main) !important;
}