/* Stili aggiuntivi area cliente */
.woo-practices-client-area {
    animation: fadeIn 0.5s;
}

.fs-20{
	font-size:20px !important;
}

.white{
	color:#020101 !important;
}
       
.pd-2{
	margin-left: 2px !important;
}

.w-50 {
	 width:50% !important;	
}

.w-100 {
	 width:100% !important;	
}

.mb-3{
	margin-bottom:3px !important;
}

.float-left{
	float:left !important;
}
      /**
.row{
	width:100% !important;display:block !important;
}      */

.order-ref{
	color:#FFF !important;
}

.woocommerce-MyAccount-navigation li{
	background-color:#FFF !important;
}

.woocommerce-MyAccount-navigation{
	margin-top:10px !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Loading states */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.woo-practices-client-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.practices-header {
    margin-bottom: 30px;
}

.practices-header h2 {
    margin-bottom: 10px;
    color: #333;
}

.welcome-message {
    color: #666;
    font-size: 16px;
}

.no-practices {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.practice-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.practice-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.practice-card-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.practice-card-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.practice-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-in-attesa {
    background: #fef3cd;
    color: #856404;
}

.status-in-lavorazione {
    background: #cfe2ff;
    color: #084298;
}

.status-attesa-documenti {
    background: #fff3cd;
    color: #997404;
}

.status-completata {
    background: #d1e7dd;
    color: #0f5132;
}

.status-sospesa {
    background: #f8d7da;
    color: #842029;
}

.practice-card-body {
    padding: 20px;
}

.practice-meta {
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-label {
    color: #666;
    font-size: 14px;
}

.meta-value {
    font-weight: 600;
    color: #333;
}

.practice-progress {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    transition: width 0.3s ease;
}

.practice-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 15px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
}

.practice-card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
    color: #fff;
}

@media (max-width: 768px) {
    .practices-grid {
        grid-template-columns: 1fr;
    }
}
