:host {
    display: block;
    min-width: 0;
}

.team-switcher__avatar {
    border-radius: 0.375rem;
    object-fit: cover;
}

.team-switcher__action:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

:host ::ng-deep .team-switcher__select.team-switcher__select--compact {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    padding: 0.125rem;
}

:host ::ng-deep .team-switcher__select.team-switcher__select--compact .p-select-label {
    padding: 0.25rem 0.5rem;
}

:host ::ng-deep .team-switcher__select.team-switcher__select--compact.p-focus {
    border-color: transparent;
    background: var(--p-surface-hover);
    box-shadow: none;
    outline: 2px solid var(--p-primary-color);
    outline-offset: 2px;
}

:host ::ng-deep .team-switcher__select.team-switcher__select--compact:not(.p-disabled):hover {
    background: var(--p-surface-hover);
    box-shadow: none;
}
