/* =============================================================
   LikeMedici Artist Availability — Styles
   ============================================================= */

/* ----- BADGE (profile page & admin) ----- */
.lm-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 10px;
    line-height: 1.4;
}

.lm-badge--available {
    background-color: #e6f4ea;
    color: #2d7a45;
    border: 1px solid #b4dfc0;
}

.lm-badge--unavailable {
    background-color: #fdf0f0;
    color: #9b3232;
    border: 1px solid #f0c0c0;
}

/* ----- GRID BADGE (store listing) ----- */
.lm-grid-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4px;
}

.lm-grid-badge--unavailable {
    background-color: #9b3232;
    color: #fff;
}

/* ----- TOGGLE SWITCH (dashboard) ----- */
.lm-availability-section {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.lm-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
    cursor: pointer;
}

.lm-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lm-toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: background-color 0.25s ease;
}

.lm-toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lm-toggle-switch input:checked + .lm-toggle-slider {
    background-color: #2d7a45;
}

.lm-toggle-switch input:checked + .lm-toggle-slider::before {
    transform: translateX(24px);
}

.lm-toggle-label {
    font-weight: 600;
    font-size: 14px;
    vertical-align: middle;
    color: #333;
}
