/* Life Coach Code Scores Widget Styles v2.0 - BASE STYLES */

/* --- Widget Container & Loading --- */
.lcc-score-widget {
    width: 150px;
    margin: 15px auto;
    text-align: center;
    font-family: sans-serif;
    position: relative;
    flex-shrink: 0;
    opacity: 0; /* Initially hidden for fade-in */
    transition: opacity 0.6s ease-in-out 0.1s; /* Fade-in transition with slight delay */
}
.lcc-score-widget.lcc-loaded {
    opacity: 1; /* Fade in when class is added */
}

/* Optional: Adjust spacing within Youzify */
/* .youzify-profile-header .yz-profile-meta .lcc-score-widget { margin: 5px 10px 5px 0; } */

/* --- SVG --- */
.lcc-score-widget svg {
    display: block;
    margin: 0 auto;
    overflow: visible;
}

/* Background Track */
.lcc-bg-track {
     stroke: #eeeeee;
     fill: none;
}

/* Arcs - Target PATH elements now */
.lcc-arc { /* This class is now on the PATH */
    stroke-linecap: butt; /* Or 'round' if preferred */
    cursor: pointer;
    fill: none;
    opacity: 1;
     /* Add transition for opacity on hover */
    transition: opacity 0.3s ease-out;
    /* Note: stroke-dashoffset transition removed as we use full paths */
}
.lcc-arc:hover {
    opacity: 0.75; /* Reduce opacity slightly on hover */
}

/* Category Colors - Target PATH */
path.lcc-arc-coaching { stroke: #07bc0c; }
path.lcc-arc-clients { stroke: #007aff; }
path.lcc-arc-characteristics { stroke: #f1c40f; }
path.lcc-arc-community { stroke: #e74c3c; }

/* --- Centered Text Styles - Refined --- */
.lcc-total-score-number {
    font-family: sans-serif;
    font-weight: bold;
    fill: #000000;
    font-size: 32px;
}
.lcc-total-score-max {
    font-family: sans-serif;
    font-size: 7px;
    font-weight: normal;
    fill: #333333;
}
.lcc-score-title {
    font-family: sans-serif;
    font-size: 9px;
    font-weight: normal;
    fill: #555555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Text Below SVG --- */
.lcc-coach-name {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-top: 10px;
    margin-bottom: 4px;
    line-height: 1.3;
    text-align: center;
}
.lcc-recommendation-text {
    font-size: 12px;
    font-weight: bold;
    margin-top: 0;
    line-height: 1.3;
    text-align: center;
}
.lcc-recommendation-text.lcc-level-golden { color: #b8860b; }
.lcc-recommendation-text.lcc-level-high { color: #1e8a4c; }
.lcc-recommendation-text.lcc-level-recommended { color: #2a7aaf; }

/* --- Modal Styles --- */
#lcc-score-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    z-index: 10000; /* High z-index */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#lcc-score-modal-overlay.active {
    display: flex; /* Use flex to center content */
    opacity: 1;
}

#lcc-score-modal-content {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}
#lcc-score-modal-overlay.active #lcc-score-modal-content {
    transform: scale(1);
}


#lcc-score-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0;
}
#lcc-score-modal-close:hover {
    color: #333;
}

#lcc-modal-body h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}
#lcc-modal-body p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}
#lcc-modal-body p strong {
    color: #333;
}


/* Styles for Admin Fields (Keep as they were) */
#lcc-score-fields { margin-bottom: 20px; }
#lcc-score-fields th { width: 150px; padding-right: 20px; vertical-align: top; }
#lcc-score-fields td { vertical-align: top; }
#lcc-score-fields .small-text { width: 70px; }
#lcc-score-fields .description { font-size: 12px; font-style: italic; margin-top: 4px; }

/* Removed Youzify conflict overrides - handled inline via PHP */