/* ==========================================================================
   Appstechy Skill Bars Widget Stylesheet
   ========================================================================== */

.appstechy-skill-bars-wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* Individual Item Layout */
.appstechy-skill-bar-item {
    width: 100%;
    margin-bottom: 25px;
    box-sizing: border-box;
}
.appstechy-skill-bar-item:last-child {
    margin-bottom: 0;
}

/* Text Position: Outside (Standard) */
.text-pos-outside .appstechy-skill-bar-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-family: inherit;
}
.text-pos-outside .appstechy-skill-bar-title {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}
.text-pos-outside .appstechy-skill-bar-percent {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

/* Bar Track and Fill */
.appstechy-skill-bar-track {
    width: 100%;
    height: 12px;
    background-color: #eeeeee;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.appstechy-skill-bar-fill {
    height: 100%;
    width: 0%; /* Will animate via JS */
    background-color: #0176ab;
    border-radius: 10px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Text Position: Inside */
.text-pos-inside .appstechy-skill-bar-track {
    overflow: visible;
}
.text-pos-inside .appstechy-skill-bar-fill {
    overflow: hidden;
}
.appstechy-skill-bar-inside-texts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
}
.text-pos-inside .appstechy-skill-bar-title,
.text-pos-inside .appstechy-skill-bar-percent {
    color: currentColor;
    font-size: 13px;
    font-weight: 600;
}

/* Text Position: Inline */
.text-pos-inline .appstechy-skill-bar-track-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}
.text-pos-inline .appstechy-skill-bar-title {
    flex-shrink: 0;
    margin-right: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    min-width: 100px;
}
.text-pos-inline .appstechy-skill-bar-track {
    flex-grow: 1;
}
.text-pos-inline .appstechy-skill-bar-percent {
    flex-shrink: 0;
    margin-left: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    min-width: 45px;
    text-align: right;
}


/* ==========================================================================
   PRESET DESIGN VARIATIONS
   ========================================================================== */

/* ── PRESET 2: BORDERED TRACK ── */
.preset-border .appstechy-skill-bar-track {
    border: 2px solid #0176ab;
    background-color: transparent;
    padding: 2px;
}
.preset-border .appstechy-skill-bar-fill {
    border-radius: inherit;
}
