
.pl-section {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #111;
    background: #fafafa;
}

.pl-card {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pl-card:hover {
    transform: translateY(-2px);

}

.pl-card__avatar {
    width: 96px;
    height: 96px;
}

.pl-card__teachables {
    min-height: 38px;
}

.pl-card__location-tabs .nav-link {
    --bs-nav-pills-border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    color: var(--primary-yellow);
    border: 1px solid transparent;
}

.pl-card__location-tabs .nav-link:not(.active) {
    background-color: var(--indeterminate-grey);
    border-color: var(--indeterminate-grey);
}

.pl-card__location-tabs .nav-link.active {
    color: #fff;
}

.tab-content select.form-select {
    min-height: 2.75rem;
}

button.register:disabled {
    pointer-events: none;
    opacity: 0.55;
}

.pl-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px
}

.pl-header h2 {
    font-size: 22px;
    margin: 0
}

.pl-guarantee {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #065f46;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.3
}

.pl-grid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px
}

.pl-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    overflow: hidden;
    display: flex;
    gap: 16px;
    padding: 16px
}

.pl-card img {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
    background: #eee;
    flex: 0 0 auto
}

.meta {
    flex: 1 1 auto;
    display: grid;
    gap: 8px
}

.name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.name {
    font-weight: 700
}

.instructor-name {
    font-weight: 700; /* stronger emphasis than the badge */
}

.badge {
    font-size: 12px;
    line-height: 1;
    font-weight: 500;  /* keeps the text legible without competing with the name */
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 6px 8px;
}

.badge.badge--junior {
    background: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe
}

.badge.badge--senior {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa
}

.line {
    color: #4b5563;
    font-size: 14px
}

.actions {
    display: flex;
    gap: 8px;
    align-items: center
}

.select {
    flex: 1 1 auto
}

select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff
}

button.register {
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    background: #1f2937;
    color: #fff;
    font-weight: 600
}

button.register[disabled] {
    opacity: .5;
    cursor: not-allowed
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.added {
    font-size: 13px;
    color: #065f46
}